Re: [gentoo-dev] news item: Portage's config-protect-if-modified feature is enabled by default

2012-05-18 Thread Zac Medico
On 05/17/2012 08:56 PM, Michał Górny wrote:
 On Thu, 17 May 2012 14:44:42 -0700
 Zac Medico zmed...@gentoo.org wrote:
 
 I'd like to commit this news item on 2012-05-21. See previous
 discussion here:

 http://archives.gentoo.org/gentoo-dev/msg_7fe557809defad4faca2ee5c6e52d134.xml
 
 Hmm, I think your should elaborate more on what the effects will be to
 the final user.

I think they should be competent enough to understand the effects. If
you want to provide a patch to the news item then, adding whatever
elaboration you think is necessary, then I'll gladly apply it.
-- 
Thanks,
Zac



Re: [gentoo-dev] Re: RFC: Add new remote-id types in metadata.dtd

2012-05-18 Thread Corentin Chary
On Thu, May 17, 2012 at 2:02 AM, Kent Fredric kentfred...@gmail.com wrote:
 On 13 May 2012 07:43, Torsten Veller t...@gentoo.org wrote:
 * Corentin Chary corentin.ch...@gmail.com:
 On Sat, Apr 21, 2012 at 03:33:18PM +1200, Kent Fredric wrote:
                                      { term: { status:latest} },
                                      { term: { 
  module.authorized:true}}

 What does this mean?
 - latest? this term looks like maintenance work.
 - what is authorized?

 latest means that it will fetch metadata for whatever is deemed the
 most recent non-dev release, which is really the only sane option to
 go for if you want a list of modules that currently pertain to the
 distribution.  You could request *all* releases and then find a union
 of elements ... but that would be both erroneous and very time
 consuming.

 It doesn't even list Moose for Moose?

 Its probably falling outside the initial 10 results, I forgot it did that,

 02packages.details.txt.gz lists 72 package names for Moose-2.0602.


 Need to bolt on a { size: 100 }  to the query to expand how may
 results it will return.

Updated remotesid.py to use that, correctly add Moose in the diff now !

  curl -XPOST 'http://api.metacpan.org/module/_search' -d '
 {
       fields: [
               module.name,
               release
       ],
       query: {
               constant_score: {
                       filter : {
                               and : [
                                       { term: { distribution:Moose } },
                                       { term: { status:latest} },
                                       { term: {
 mime:text/x-script.perl-module}},
                                       { term: { indexed:true}},
                                       { term: { module.authorized:true}}
                               ]

                       }
               }
       },
       size: 100
 }

 ^  that | grep module.name  | wc -l   # 83

 --
 Kent

 perl -e  print substr( \edrgmaM  SPA NOcomil.ic\\@tfrken\, \$_ * 3,
 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );

 http://kent-fredric.fox.geek.nz



[gentoo-dev] Re: news item: Portage's config-protect-if-modified feature is enabled by default

2012-05-18 Thread Duncan
Zac Medico posted on Thu, 17 May 2012 23:08:51 -0700 as excerpted:

 On 05/17/2012 08:56 PM, Michał Górny wrote:
 On Thu, 17 May 2012 14:44:42 -0700 Zac Medico zmed...@gentoo.org
 wrote:
 
 I'd like to commit this news item on 2012-05-21. See previous
 discussion here:

 http://archives.gentoo.org/gentoo-dev/
msg_7fe557809defad4faca2ee5c6e52d134.xml
 
 Hmm, I think your should elaborate more on what the effects will be to
 the final user.
 
 I think they should be competent enough to understand the effects. If
 you want to provide a patch to the news item then, adding whatever
 elaboration you think is necessary, then I'll gladly apply it.

Indeed, the news item already refers people to the manpage for more 
information.

While a good gentooer certainly appreciates good documentation, it's not 
about handholding, and from my point of view the manpage documentation 
really is pretty good.  If they don't know what to do with a referral to 
a manpage (or from the direct lookup in that manpage to the general 
config-protect info in the same manpage, and from there to the config 
files section of the emerge manpage where there's several paragraphs of 
coverage), I'd say ubuntu's over that-a-way, and mint's over there!

New items should be brief and to the point, serving more as a road sign 
with only an arrow letting people know there's a change in direction 
ahead with an expectation that the driver seeing it can follow the arrow 
and look at what's coming once so alerted, than a complete reference work 
of their own.  Really, as a user, that's what I want and need, that road-
sign telling me what direction the road is turning, not a full 
description of all the engineering data contained in the road-building 
documents, that I couldn't read at road speed anyway.

And that's what this is, as it is. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman




Re: [gentoo-dev] Re: Stability of /sys api

2012-05-18 Thread William Hubbs
Hi Steven,

On Thu, May 17, 2012 at 06:48:33AM +0100, Steven J Long wrote:
 Thing is it runs before the real init[1] so if we are using a separate /usr 
 partition on LVM, will it still work? I'd have thought not, since we need 
 the device-mapper service and there's /etc/lvm.conf to consider, but I'll 
 gladly be told different.
 
No, you are correct about this. This does not work if you have /usr on
lvm, mdadm, or encrypted. The same applies to /. That is the situation
where you would need an initramfs.

I'm curious, have you seen our initramfs guide yet [1]? Making and using
an initramfs seems to be pretty well documented these days.

William

[1] http://www.gentoo.org/doc/en/initramfs-guide.xml


pgpqXzx9WI3CB.pgp
Description: PGP signature