portage.git
17 years agoFix quoting. (trunk r7057)
Zac Medico [Wed, 27 Jun 2007 10:11:14 +0000 (10:11 -0000)]
Fix quoting. (trunk r7057)

svn path=/main/branches/2.1.2/; revision=7058

17 years agoFormat $EBUILD_OVERLAY_ECLASSES output more like it was before. (trunk r7055)
Zac Medico [Wed, 27 Jun 2007 09:57:52 +0000 (09:57 -0000)]
Format $EBUILD_OVERLAY_ECLASSES output more like it was before. (trunk r7055)

svn path=/main/branches/2.1.2/; revision=7056

17 years agoFor bug #144333, add a --reinstall=changed-use option which behaves similar to how...
Zac Medico [Wed, 27 Jun 2007 04:23:00 +0000 (04:23 -0000)]
For bug #144333, add a --reinstall=changed-use option which behaves similar to how --newuse behaved in portage-2.0.x days. (trunk r7052)

svn path=/main/branches/2.1.2/; revision=7053

17 years agoFormat the callstack indentation more like it used to be. (trunk r7050)
Zac Medico [Wed, 27 Jun 2007 03:25:10 +0000 (03:25 -0000)]
Format the callstack indentation more like it used to be. (trunk r7050)

svn path=/main/branches/2.1.2/; revision=7051

17 years agoSend the ebuild die message through eerror and make sure that elog_process() gets...
Zac Medico [Wed, 27 Jun 2007 01:38:36 +0000 (01:38 -0000)]
Send the ebuild die message through eerror and make sure that elog_process() gets called when an ebuild dies.  This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen. (trunk r7047)

svn path=/main/branches/2.1.2/; revision=7049

17 years agoPreserve merge order in elog output. (trunk r7046)
Zac Medico [Wed, 27 Jun 2007 01:25:02 +0000 (01:25 -0000)]
Preserve merge order in elog output. (trunk r7046)

svn path=/main/branches/2.1.2/; revision=7048

17 years agoShort circuit the loop as soon as missing hashes are detected. (trunk r7044)
Zac Medico [Tue, 26 Jun 2007 22:39:15 +0000 (22:39 -0000)]
Short circuit the loop as soon as missing hashes are detected. (trunk r7044)

svn path=/main/branches/2.1.2/; revision=7045

17 years agoAdd one more size == 0 check to digestgen(). (trunk r7040:7042)
Zac Medico [Tue, 26 Jun 2007 22:20:30 +0000 (22:20 -0000)]
Add one more size == 0 check to digestgen(). (trunk r7040:7042)

svn path=/main/branches/2.1.2/; revision=7043

17 years agoAdd sanity checks in fetch() and digestgen() to automatically detect and handle inval...
Zac Medico [Tue, 26 Jun 2007 17:50:33 +0000 (17:50 -0000)]
Add sanity checks in fetch() and digestgen() to automatically detect and handle invalid empty distfiles since some users have reported difficulty when trying to create digests. (trunk r7039)

svn path=/main/branches/2.1.2/; revision=7040

17 years agoFor bug #183167, explicitly call elog_process() when --buildpkgonly is enabled. ...
Zac Medico [Mon, 25 Jun 2007 19:45:15 +0000 (19:45 -0000)]
For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled. (trunk r7034)

svn path=/main/branches/2.1.2/; revision=7035

17 years agoFor bug #142473, add 4 color classes corresponding to combinations of world/merge...
Zac Medico [Mon, 25 Jun 2007 10:41:36 +0000 (10:41 -0000)]
For bug #142473, add 4 color classes corresponding to combinations of world/merge/nomerge attributes of each package. (trunk r7031)

svn path=/main/branches/2.1.2/; revision=7032

17 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 09:15:04 +0000 (09:15 -0000)]
Fix typo.

svn path=/main/branches/2.1.2/; revision=7030

17 years agoDon't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrec...
Zac Medico [Mon, 25 Jun 2007 06:28:38 +0000 (06:28 -0000)]
Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrecognized protocols like sftp. (trunk r7027)

svn path=/main/branches/2.1.2/; revision=7028

17 years agoFix file_get_lib() so it behaves the same way with sftp as it does with other protoco...
Zac Medico [Mon, 25 Jun 2007 04:50:48 +0000 (04:50 -0000)]
Fix file_get_lib() so it behaves the same way with sftp as it does with other protocols. (trunk r7023:7024)

svn path=/main/branches/2.1.2/; revision=7026

17 years agoFor bug #175891, add sftp protocol support via the paramiko library.
Zac Medico [Mon, 25 Jun 2007 03:22:42 +0000 (03:22 -0000)]
For bug #175891, add sftp protocol support via the paramiko library.

svn path=/main/branches/2.1.2/; revision=7022

17 years agoAllow emerge --fetchonly to continue downloading other packages after a download...
Zac Medico [Mon, 25 Jun 2007 03:14:42 +0000 (03:14 -0000)]
Allow emerge --fetchonly to continue downloading other packages after a download from a binhost fails. (trunk r6709)

svn path=/main/branches/2.1.2/; revision=7021

17 years agoFix resume logic in binarytree.gettbz2(). (trunk r7017:7019)
Zac Medico [Mon, 25 Jun 2007 02:59:26 +0000 (02:59 -0000)]
Fix resume logic in binarytree.gettbz2(). (trunk r7017:7019)

svn path=/main/branches/2.1.2/; revision=7020

17 years agoFor bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2(). (trunk...
Zac Medico [Mon, 25 Jun 2007 02:42:54 +0000 (02:42 -0000)]
For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2(). (trunk r7016)

svn path=/main/branches/2.1.2/; revision=7017

17 years agoClean up file_get() to use shlex, varexpand, and spawn. (trunk r7014)
Zac Medico [Mon, 25 Jun 2007 02:11:43 +0000 (02:11 -0000)]
Clean up file_get() to use shlex, varexpand, and spawn. (trunk r7014)

svn path=/main/branches/2.1.2/; revision=7015

17 years agoFix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partia...
Zac Medico [Sun, 24 Jun 2007 23:52:16 +0000 (23:52 -0000)]
Fix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partially downloaded files. (trunk r7012)

svn path=/main/branches/2.1.2/; revision=7013

17 years agoadd hashlib support for checksum verification, refactor checksum functions to not...
Zac Medico [Sun, 24 Jun 2007 22:41:41 +0000 (22:41 -0000)]
add hashlib support for checksum verification, refactor checksum functions to not look like a complete mess (bug #148514, trunk r6972)

svn path=/main/branches/2.1.2/; revision=7010

17 years agohighlight world packages in --pretend output (bug #142473, trunk r6979)
Zac Medico [Sun, 24 Jun 2007 22:10:08 +0000 (22:10 -0000)]
highlight world packages in --pretend output (bug #142473, trunk r6979)

svn path=/main/branches/2.1.2/; revision=7009

17 years agoClarify RESUMECOMMAND requirements. (trunk r7005)
Zac Medico [Sun, 24 Jun 2007 21:51:41 +0000 (21:51 -0000)]
Clarify RESUMECOMMAND requirements. (trunk r7005)

svn path=/main/branches/2.1.2/; revision=7007

17 years agoUpdate FETCHCOMMAND and RESUMECOMMAND docs (bug #141550, trunk r6980 and r7003:7005).
Zac Medico [Sun, 24 Jun 2007 21:50:29 +0000 (21:50 -0000)]
Update FETCHCOMMAND and RESUMECOMMAND docs (bug #141550, trunk r6980 and r7003:7005).

svn path=/main/branches/2.1.2/; revision=7006

17 years agodont break when the binhost url doesn't end with a slash (bug #144440, trunk r6978)
Zac Medico [Sun, 24 Jun 2007 21:11:47 +0000 (21:11 -0000)]
dont break when the binhost url doesn't end with a slash (bug #144440, trunk r6978)

svn path=/main/branches/2.1.2/; revision=7003

17 years agochange default diff_command for emacs (bug #147558, trunk r6977)
Zac Medico [Sun, 24 Jun 2007 19:10:26 +0000 (19:10 -0000)]
change default diff_command for emacs (bug #147558, trunk r6977)

svn path=/main/branches/2.1.2/; revision=7001

17 years agosort the world file before writing it and ensure that it's terminated by a newline...
Zac Medico [Sun, 24 Jun 2007 19:06:10 +0000 (19:06 -0000)]
sort the world file before writing it and ensure that it's terminated by a newline (bug #180706, trunk r6976 and r6999)

svn path=/main/branches/2.1.2/; revision=7000

17 years agoget ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values...
Zac Medico [Sun, 24 Jun 2007 18:33:46 +0000 (18:33 -0000)]
get ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values (bug #139600) (trunk r6981 and r6987)

svn path=/main/branches/2.1.2/; revision=6998

17 years ago- s/!owned/replaced/ in merge output to clarify it (trunk r6975)
Zac Medico [Sun, 24 Jun 2007 18:24:34 +0000 (18:24 -0000)]
- s/!owned/replaced/ in merge output to clarify it (trunk r6975)
- Fix column alignment in unmerge output. (trunk r6988)
- Fix typos. (trunk r6989 and r6996)

svn path=/main/branches/2.1.2/; revision=6997

17 years agoAllow sync for unpriviledges users if they have write access to $PORTDIR (bug #182786...
Zac Medico [Sun, 24 Jun 2007 09:44:08 +0000 (09:44 -0000)]
Allow sync for unpriviledges users if they have write access to $PORTDIR (bug #182786, trunk r6973)

svn path=/main/branches/2.1.2/; revision=6991

17 years agoFor bug #182964, replace os.rename() with portage.movefile() in cases where the paren...
Zac Medico [Sun, 24 Jun 2007 00:39:02 +0000 (00:39 -0000)]
For bug #182964, replace os.rename() with portage.movefile() in cases where the parent directory might change. (trunk r6983)

svn path=/main/branches/2.1.2/; revision=6984

17 years agoRevert r6968 since shutil.move() is broken internally.
Zac Medico [Sat, 23 Jun 2007 13:11:08 +0000 (13:11 -0000)]
Revert r6968 since shutil.move() is broken internally.

svn path=/main/branches/2.1.2/; revision=6971

17 years agoFor bug #182964, replace os.rename() with shutil.move() in order to handle EXDEV...
Zac Medico [Sat, 23 Jun 2007 11:07:16 +0000 (11:07 -0000)]
For bug #182964, replace os.rename() with shutil.move() in order to handle EXDEV errors that are triggered by layered filesystems. (trunk r6967)

svn path=/main/branches/2.1.2/; revision=6968

17 years agoFix typo.
Zac Medico [Sat, 23 Jun 2007 05:57:14 +0000 (05:57 -0000)]
Fix typo.

svn path=/main/branches/2.1.2/; revision=6966

17 years agoRemove redundant 'Usage: ' from the usage message. (trunk r6964)
Zac Medico [Sat, 23 Jun 2007 03:58:56 +0000 (03:58 -0000)]
Remove redundant 'Usage: ' from the usage message. (trunk r6964)

svn path=/main/branches/2.1.2/; revision=6965

17 years agoAdd a logrotate config for the save_summary elog module since it's enabled by default...
Zac Medico [Sat, 23 Jun 2007 00:26:08 +0000 (00:26 -0000)]
Add a logrotate config for the save_summary elog module since it's enabled by default now. (trunk r6962)

svn path=/main/branches/2.1.2/; revision=6963

17 years agoenable save_summary and echo modules in make.globals (trunk r6458)
Zac Medico [Fri, 22 Jun 2007 23:50:44 +0000 (23:50 -0000)]
enable save_summary and echo modules in make.globals (trunk r6458)

svn path=/main/branches/2.1.2/; revision=6961

17 years agoShow which $ROOT a package was merged to when $ROOT is not /. (trunk r6959)
Zac Medico [Fri, 22 Jun 2007 23:43:44 +0000 (23:43 -0000)]
Show which $ROOT a package was merged to when $ROOT is not /. (trunk r6959)

svn path=/main/branches/2.1.2/; revision=6960

17 years ago- Make elog finalize() handling safe for PORTAGE_CONFIGROOT. (trunk r6955)
Zac Medico [Fri, 22 Jun 2007 23:35:43 +0000 (23:35 -0000)]
- Make elog finalize() handling safe for PORTAGE_CONFIGROOT. (trunk r6955)
- Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit. (trunk r6953)

svn path=/main/branches/2.1.2/; revision=6958

17 years agoDocument RESTRICT=bindist and add a note about allowance for conditional syntax....
Zac Medico [Fri, 22 Jun 2007 23:21:00 +0000 (23:21 -0000)]
Document RESTRICT=bindist and add a note about allowance for conditional syntax. (trunk r6954)

svn path=/main/branches/2.1.2/; revision=6957

17 years agoUpdate 2.1.3 news for elog stuff. (trunk r6950)
Zac Medico [Fri, 22 Jun 2007 11:01:39 +0000 (11:01 -0000)]
Update 2.1.3 news for elog stuff. (trunk r6950)

svn path=/main/branches/2.1.2/; revision=6951

17 years agoFor bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROT...
Zac Medico [Fri, 22 Jun 2007 08:58:29 +0000 (08:58 -0000)]
For bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROTECT.  Add a --include-config option that includes all config files and a --include-unmodified-config that includes config files that have not been modified since installation (matching md5sum). (trunk r6945)

svn path=/main/branches/2.1.2/; revision=6948

17 years agoMake quickpkg print a warning if "bindist" is in RESTRICT. (trunk r6937)
Zac Medico [Fri, 22 Jun 2007 06:21:04 +0000 (06:21 -0000)]
Make quickpkg print a warning if "bindist" is in RESTRICT. (trunk r6937)

svn path=/main/branches/2.1.2/; revision=6938

17 years agoClean up the profile masking code. (trunk r6292)
Zac Medico [Fri, 22 Jun 2007 05:47:01 +0000 (05:47 -0000)]
Clean up the profile masking code. (trunk r6292)

svn path=/main/branches/2.1.2/; revision=6936

17 years agocache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_...
Zac Medico [Fri, 22 Jun 2007 02:53:00 +0000 (02:53 -0000)]
cache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_ (trunk r6922)

svn path=/main/branches/2.1.2/; revision=6935

17 years agoImplement iterkeys on top of __iter__ instead of vice versa. Thanks to Brian Harring...
Zac Medico [Fri, 22 Jun 2007 02:50:33 +0000 (02:50 -0000)]
Implement iterkeys on top of __iter__ instead of vice versa.  Thanks to Brian Harring for the suggestion. (trunk r6918)

svn path=/main/branches/2.1.2/; revision=6934

17 years agoconfig class mapping interface cleanups from trunk r6916, r6919, and r6920.
Zac Medico [Fri, 22 Jun 2007 02:45:18 +0000 (02:45 -0000)]
config class mapping interface cleanups from trunk r6916, r6919, and r6920.

svn path=/main/branches/2.1.2/; revision=6933

17 years agoRemove more unnecessary list generation. (trunk r6913)
Zac Medico [Fri, 22 Jun 2007 02:34:17 +0000 (02:34 -0000)]
Remove more unnecessary list generation. (trunk r6913)

svn path=/main/branches/2.1.2/; revision=6932

17 years agoRemove more unnecessary list generation. (trunk r6912)
Zac Medico [Fri, 22 Jun 2007 02:09:41 +0000 (02:09 -0000)]
Remove more unnecessary list generation. (trunk r6912)

svn path=/main/branches/2.1.2/; revision=6931

17 years agoRemove lots of unnecessary list generation via dict.keys(). (trunk r6911)
Zac Medico [Fri, 22 Jun 2007 01:53:50 +0000 (01:53 -0000)]
Remove lots of unnecessary list generation via dict.keys(). (trunk r6911)

svn path=/main/branches/2.1.2/; revision=6930

17 years agoPrint hostname in xterm title if HOSTNAME is exported in the environment (trunk r5976)
Zac Medico [Fri, 22 Jun 2007 01:41:54 +0000 (01:41 -0000)]
Print hostname in xterm title if HOSTNAME is exported in the environment (trunk r5976)

svn path=/main/branches/2.1.2/; revision=6929

17 years agoPrint filename when displaying package.mask comments (trunk r5974)
Zac Medico [Fri, 22 Jun 2007 01:36:59 +0000 (01:36 -0000)]
Print filename when displaying package.mask comments (trunk r5974)

svn path=/main/branches/2.1.2/; revision=6928

17 years agoAdd support for RSYNC_EXTRA_OPTS to webrsync (trunk r5973)
Zac Medico [Fri, 22 Jun 2007 01:20:42 +0000 (01:20 -0000)]
Add support for RSYNC_EXTRA_OPTS to webrsync (trunk r5973)

svn path=/main/branches/2.1.2/; revision=6927

17 years agoCheck if entries contain the required hashes before writing the Manifest (trunk r5902)
Zac Medico [Fri, 22 Jun 2007 01:16:07 +0000 (01:16 -0000)]
Check if entries contain the required hashes before writing the Manifest (trunk r5902)

svn path=/main/branches/2.1.2/; revision=6926

17 years agoremove confcache docs (trunk r5802)
Zac Medico [Fri, 22 Jun 2007 00:44:18 +0000 (00:44 -0000)]
remove confcache docs (trunk r5802)

svn path=/main/branches/2.1.2/; revision=6925

17 years agoif requested argv cannot be matched to anything, exit with non-zero status (trunk...
Zac Medico [Fri, 22 Jun 2007 00:18:41 +0000 (00:18 -0000)]
if requested argv cannot be matched to anything, exit with non-zero status (trunk r5791)

svn path=/main/branches/2.1.2/; revision=6924

17 years agoSome minor fixes for manifest code (trunk r5735)
Zac Medico [Thu, 21 Jun 2007 23:59:45 +0000 (23:59 -0000)]
Some minor fixes for manifest code (trunk r5735)

svn path=/main/branches/2.1.2/; revision=6923

17 years agoAllow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_...
Zac Medico [Thu, 21 Jun 2007 23:29:33 +0000 (23:29 -0000)]
Allow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_CLASSES one, add wildcard support for loglevels (trunk r5706:5709)

svn path=/main/branches/2.1.2/; revision=6921

17 years ago- start documenting qa notices so antarus stops whining (trunk r5693)
Zac Medico [Thu, 21 Jun 2007 07:13:05 +0000 (07:13 -0000)]
- start documenting qa notices so antarus stops whining (trunk r5693)
- forgot to document strict alias warnings (trunk r5733)
- fix programlisting output to match the sections they are in (trunk r5734)

svn path=/main/branches/2.1.2/; revision=6910

17 years agoDisplay message about --buildpkgonly restriction in pretend mode as well (trunk r6199)
Zac Medico [Thu, 21 Jun 2007 06:02:51 +0000 (06:02 -0000)]
Display message about --buildpkgonly restriction in pretend mode as well (trunk r6199)

svn path=/main/branches/2.1.2/; revision=6908

17 years agodefault --help should be usable, so make the extended output require --verbose (trunk...
Zac Medico [Thu, 21 Jun 2007 05:47:59 +0000 (05:47 -0000)]
default --help should be usable, so make the extended output require --verbose (trunk r6262:6264)

svn path=/main/branches/2.1.2/; revision=6906

17 years agofix grammar in error output (trunk r6285)
Zac Medico [Thu, 21 Jun 2007 05:44:40 +0000 (05:44 -0000)]
fix grammar in error output (trunk r6285)

svn path=/main/branches/2.1.2/; revision=6905

17 years agomake PDEPEND wording less restrictive #172511 and clarify install status wrt ||(...
Zac Medico [Thu, 21 Jun 2007 05:41:14 +0000 (05:41 -0000)]
make PDEPEND wording less restrictive #172511 and clarify install status wrt ||() as noted by ferringb (trunk r6324)

svn path=/main/branches/2.1.2/; revision=6904

17 years agochange "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writer...
Zac Medico [Thu, 21 Jun 2007 05:36:33 +0000 (05:36 -0000)]
change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writers (trunk r6351)

svn path=/main/branches/2.1.2/; revision=6903

17 years agochange DOCDESTTREE to _E_DOCDESTTREE_ to try and prevent abuse from ebuild writers...
Zac Medico [Thu, 21 Jun 2007 05:34:45 +0000 (05:34 -0000)]
change DOCDESTTREE to _E_DOCDESTTREE_ to try and prevent abuse from ebuild writers (trunk r6347)

svn path=/main/branches/2.1.2/; revision=6902

17 years agostrip .comment by default, add a comment as to what we need before we can do .note...
Zac Medico [Thu, 21 Jun 2007 05:14:51 +0000 (05:14 -0000)]
strip .comment by default, add a comment as to what we need before we can do .note, and add safe stripping of relocatable objects (trunk r6416)

svn path=/main/branches/2.1.2/; revision=6901

17 years agoPretty up the repoman imports, use cPickle over pickle for performance (trunk r6431)
Zac Medico [Thu, 21 Jun 2007 05:05:50 +0000 (05:05 -0000)]
Pretty up the repoman imports, use cPickle over pickle for performance (trunk r6431)

svn path=/main/branches/2.1.2/; revision=6900

17 years agoadd new echo module for people who don't want any real logging (trunk r6458)
Zac Medico [Thu, 21 Jun 2007 05:00:59 +0000 (05:00 -0000)]
add new echo module for people who don't want any real logging (trunk r6458)

svn path=/main/branches/2.1.2/; revision=6899

17 years agoas noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try...
Zac Medico [Thu, 21 Jun 2007 03:51:02 +0000 (03:51 -0000)]
as noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try to create a binpkg for something that has IUSE=bindist but was emerged with USE=-bindist (trunk r6895:6897)

svn path=/main/branches/2.1.2/; revision=6898

17 years agoIn dblink._security_check(), use os.path.realpath to make sure that the same path...
Zac Medico [Thu, 21 Jun 2007 02:20:17 +0000 (02:20 -0000)]
In dblink._security_check(), use os.path.realpath to make sure that the same path isn't counted twice. (trunk r6894)

svn path=/main/branches/2.1.2/; revision=6895

17 years agoAdd an --ignore-default-opts option that is analogous to the corresponding emerge...
Zac Medico [Wed, 20 Jun 2007 23:54:11 +0000 (23:54 -0000)]
Add an --ignore-default-opts option that is analogous to the corresponding emerge option. (trunk r6892)

svn path=/main/branches/2.1.2/; revision=6893

17 years agoUse the the optparse options for --ignore-default-opts since that allows option abrev...
Zac Medico [Wed, 20 Jun 2007 23:44:11 +0000 (23:44 -0000)]
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (trunk r6890)

svn path=/main/branches/2.1.2/; revision=6891

17 years agoShow a "world problems" warning for packages that aren't installed, even if they...
Zac Medico [Wed, 20 Jun 2007 09:47:18 +0000 (09:47 -0000)]
Show a "world problems" warning for packages that aren't installed, even if they are available. (trunk r6887)

svn path=/main/branches/2.1.2/; revision=6888

17 years agoFor bug #180165, make portageq print a "Permission denied" error when appropriate...
Zac Medico [Wed, 20 Jun 2007 05:45:31 +0000 (05:45 -0000)]
For bug #180165, make portageq print a "Permission denied" error when appropriate and make has_version die if portageq has an unexpected exit code. (trunk r6880:6882)

svn path=/main/branches/2.1.2/; revision=6885

17 years agoIf a package is in the world set but it's not installed, go ahead and install it...
Zac Medico [Wed, 20 Jun 2007 05:18:47 +0000 (05:18 -0000)]
If a package is in the world set but it's not installed, go ahead and install it if it's available (instead of telling the user to run emaint). (trunk r6883)

svn path=/main/branches/2.1.2/; revision=6884

17 years agoFix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission...
Zac Medico [Tue, 19 Jun 2007 22:02:26 +0000 (22:02 -0000)]
Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission denied). (trunk r6879)

svn path=/main/branches/2.1.2/; revision=6880

17 years agoFor bug #143340, give an appropriate message when there is no read access to a binary...
Zac Medico [Tue, 19 Jun 2007 21:39:51 +0000 (21:39 -0000)]
For bug #143340, give an appropriate message when there is no read access to a binary package. (trunk r6877)

svn path=/main/branches/2.1.2/; revision=6878

17 years agoReturn early from get_term_size() is stdout is not a tty. (trunk r6875)
Zac Medico [Tue, 19 Jun 2007 20:12:13 +0000 (20:12 -0000)]
Return early from get_term_size() is stdout is not a tty. (trunk r6875)

svn path=/main/branches/2.1.2/; revision=6876

17 years agoFor bug #182571, handle curses.error if it's thrown inside get_term_size(). (trunk...
Zac Medico [Tue, 19 Jun 2007 19:58:44 +0000 (19:58 -0000)]
For bug #182571, handle curses.error if it's thrown inside get_term_size(). (trunk r6873)

svn path=/main/branches/2.1.2/; revision=6874

17 years agoFor bug #182428, make quickpkg use a more secure umask by default and allow it to...
Zac Medico [Tue, 19 Jun 2007 09:36:42 +0000 (09:36 -0000)]
For bug #182428, make quickpkg use a more secure umask by default and allow it to be overridden by a --umask option.  Add support for QUICKPKG_DEFAULT_OPTS so that default options can be set in make.conf. (trunk r6871)

svn path=/main/branches/2.1.2/; revision=6872

17 years agoDuring unmerge, always verify that the file isn't a symlink before doing chmod. ...
Zac Medico [Mon, 18 Jun 2007 10:26:48 +0000 (10:26 -0000)]
During unmerge, always verify that the file isn't a symlink before doing chmod. (trunk r6867)

svn path=/main/branches/2.1.2/; revision=6868

17 years agoIn dblink.isowner() don't bother to stat the file when it's contained in the contents...
Zac Medico [Sun, 17 Jun 2007 22:43:17 +0000 (22:43 -0000)]
In dblink.isowner() don't bother to stat the file when it's contained in the contents. (trunk r6865)

svn path=/main/branches/2.1.2/; revision=6866

17 years agoFor bug #182346, use dblink.isowner() during unmerge so that device/inode numbers...
Zac Medico [Sun, 17 Jun 2007 22:13:36 +0000 (22:13 -0000)]
For bug #182346, use dblink.isowner() during unmerge so that device/inode numbers are used to determine ownership (despite path mismatch due to symlinks). (trunk r6863)

svn path=/main/branches/2.1.2/; revision=6864

17 years agoGo ahead and unlink symlinks to directories when they're actually recorded as symlink...
Zac Medico [Fri, 15 Jun 2007 22:53:33 +0000 (22:53 -0000)]
Go ahead and unlink symlinks to directories when they're actually recorded as symlinks in the contents. (trunk r6860)

svn path=/main/branches/2.1.2/; revision=6861

17 years agoMake the collision-protect loop check for existance of the destination file before...
Zac Medico [Fri, 15 Jun 2007 22:40:42 +0000 (22:40 -0000)]
Make the collision-protect loop check for existance of the destination file before checking if it's owned. (trunk r6858)

svn path=/main/branches/2.1.2/; revision=6859

17 years agoMake repoman exit with nonzero status whenever there are qa issues (already does...
Zac Medico [Fri, 15 Jun 2007 21:39:18 +0000 (21:39 -0000)]
Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. (trunk r6856)

svn path=/main/branches/2.1.2/; revision=6857

17 years agoFor bug #182021, use active voice when notifying the user that superuser access is...
Zac Medico [Fri, 15 Jun 2007 21:32:20 +0000 (21:32 -0000)]
For bug #182021, use active voice when notifying the user that superuser access is required. (trunk r6854)

svn path=/main/branches/2.1.2/; revision=6855

17 years agoHandle another case where removing a symlink to a directory can be harmful. (trunk...
Zac Medico [Fri, 15 Jun 2007 20:42:59 +0000 (20:42 -0000)]
Handle another case where removing a symlink to a directory can be harmful. (trunk r6852)

svn path=/main/branches/2.1.2/; revision=6853

17 years agoFor bug #182157, don't let unmerge-orphans unlink symlinks to directories since that...
Zac Medico [Fri, 15 Jun 2007 20:26:26 +0000 (20:26 -0000)]
For bug #182157, don't let unmerge-orphans unlink symlinks to directories since that can remove /lib and /usr/lib symlinks.

svn path=/main/branches/2.1.2/; revision=6851

17 years agoFor bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)
Zac Medico [Fri, 15 Jun 2007 20:14:05 +0000 (20:14 -0000)]
For bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)

svn path=/main/branches/2.1.2/; revision=6849

17 years agoFor bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)
Zac Medico [Fri, 15 Jun 2007 10:23:04 +0000 (10:23 -0000)]
For bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)

svn path=/main/branches/2.1.2/; revision=6847

17 years agoFix broken \!found logic so that any missing files are properly skipped. (trunk r6843) v2.1.3_rc1
Zac Medico [Thu, 14 Jun 2007 10:47:53 +0000 (10:47 -0000)]
Fix broken \!found logic so that any missing files are properly skipped. (trunk r6843)

svn path=/main/branches/2.1.2/; revision=6844

17 years agoMiscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)
Zac Medico [Thu, 14 Jun 2007 09:55:46 +0000 (09:55 -0000)]
Miscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)

svn path=/main/branches/2.1.2/; revision=6842

17 years agoFor bug #181953, prevent the circular_blocks code from selecting a node that's alread...
Zac Medico [Wed, 13 Jun 2007 21:48:27 +0000 (21:48 -0000)]
For bug #181953, prevent the circular_blocks code from selecting a node that's already been selected by the normal node selection process. (trunk r6837)

svn path=/main/branches/2.1.2/; revision=6838

17 years agoIn dblink.treewalk(), handle the case where the current cpv is already installed...
Zac Medico [Wed, 13 Jun 2007 10:09:43 +0000 (10:09 -0000)]
In dblink.treewalk(), handle the case where the current cpv is already installed but it has a different slot (multislot or unapplied slotmove). (trunk r6833)

svn path=/main/branches/2.1.2/; revision=6834

17 years agoAdd a note about the new unmerge-orphans behavior. (trunk r6831)
Zac Medico [Wed, 13 Jun 2007 08:10:08 +0000 (08:10 -0000)]
Add a note about the new unmerge-orphans behavior. (trunk r6831)

svn path=/main/branches/2.1.2/; revision=6832

17 years agoFor bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge to remove...
Zac Medico [Wed, 13 Jun 2007 07:29:43 +0000 (07:29 -0000)]
For bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge to remove files more aggressively.  If a file is not claimed by another package in the same slot and it is not protected by CONFIG_PROTECT, unmerge it even if the modification time or checksum differs from the file that was originally installed.  This is enabled in make.globals since the vast majority of users probably want this. (trunk r6829)

svn path=/main/branches/2.1.2/; revision=6830

17 years agoFix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)
Zac Medico [Wed, 13 Jun 2007 05:53:34 +0000 (05:53 -0000)]
Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)

svn path=/main/branches/2.1.2/; revision=6828

17 years agoUse cached dblink instances for collision-protect. (trunk r6825)
Zac Medico [Wed, 13 Jun 2007 05:45:19 +0000 (05:45 -0000)]
Use cached dblink instances for collision-protect. (trunk r6825)

svn path=/main/branches/2.1.2/; revision=6826

17 years agoCache dblink instances for security checks and reference counts during merge/unmerge...
Zac Medico [Wed, 13 Jun 2007 05:21:17 +0000 (05:21 -0000)]
Cache dblink instances for security checks and reference counts during merge/unmerge so that each CONTENTS only has to be parsed once.  These can also be reused for collision-protect. (trunk r6823)

svn path=/main/branches/2.1.2/; revision=6824