[gentoo-portage-dev] layout.conf: What's our opinion?

2014-01-20 Thread Sebastian Luther
Hi all, ${repository}/metadata/layout.conf is a file that allows a repository maintainer to adjust the package manager's behavior for a repository. I guess the best known is the 'masters' key, but there are lots of other things by now (see man portage). Currently layout.conf is not under PMS

Re: [gentoo-portage-dev] layout.conf: What's our opinion?

2014-01-20 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 20/01/14 12:05, Sebastian Luther wrote: Basically it's either 1) We add things as we see fit. or 2) We should only add things if absolutely necessary.. So what's your opinion? Should we go for 1) or 2) or something else? 2. - -- Alexander

[gentoo-portage-dev] [PATCH v4] Test for read-only filesystems, bail out during preinst if there are any which will be written to and display a useful error message. Fixes bug 378869.

2014-01-20 Thread Chris Reffett
v2: Reformat, add a function to return an appropriate read-only checker for the operating system, so that this can be extended to other OSes. v3: minor formatting tweaks from bernalex, including use os.path.join() instead of string concatenation v4: Update copyright header, change the code in

Re: [gentoo-portage-dev] [PATCH v3] Test for read-only filesystems, bail out during preinst if there are any which will be written to and display a useful error message. Fixes bug 378869.

2014-01-20 Thread Mike Frysinger
On Sunday 19 January 2014 05:39:25 Alexander Berntsen wrote: On 19/01/14 10:17, Mike Frysinger wrote: prefer OSes - OS's That's just not proper English. i don't think that phrase means what you think it means. if you're wishing for English to be a standard, then you're in for a rude

Re: [gentoo-portage-dev] [PATCH v4] Test for read-only filesystems, bail out during preinst if there are any which will be written to and display a useful error message. Fixes bug 378869.

2014-01-20 Thread Mike Frysinger
On Monday 20 January 2014 19:50:54 Chris Reffett wrote: + # Check for read-only filesystems please use full sentences. that means putting a period at the end. this applies to many additions in this patch. + try: + with io.open(/proc/mounts, mode='r',

Re: [gentoo-portage-dev] [PATCH v3] Test for read-only filesystems, bail out during preinst if there are any which will be written to and display a useful error message. Fixes bug 378869.

2014-01-20 Thread Gordon Pettey
If your going to make that argumint, ewe mite a's well right the documentation in LOL-1337. Encouraging bad grammar in documentation just make's thing's harder for everybody. On Mon, Jan 20, 2014 at 9:28 PM, Mike Frysinger vap...@gentoo.org wrote: On Sunday 19 January 2014 05:39:25 Alexander

[gentoo-portage-dev] [PATCH v5] Test for read-only filesystems, bail out during preinst if there are any which will be written to and display a useful error message. Fixes bug 378869.

2014-01-20 Thread Chris Reffett
v2: Reformat, add a function to return an appropriate read-only checker for the operating system, so that this can be extended to other OSes. v3: minor formatting tweaks from bernalex, including use os.path.join() instead of string concatenation v4: Update copyright header, change the code in