Zac Medico [Thu, 1 Feb 2007 20:22:16 +0000 (20:22 -0000)]
Don't use os.path.isdir() because it can swallow errors related to filesystem/disk corruption. (trunk r5851:5852)
svn path=/main/branches/2.1.2/; revision=5869
Zac Medico [Thu, 1 Feb 2007 20:16:06 +0000 (20:16 -0000)]
Load the most current variables from /etc/profile.env for post_emerge stuff. (trunk 5857:5858)
svn path=/main/branches/2.1.2/; revision=5868
Zac Medico [Thu, 1 Feb 2007 20:14:00 +0000 (20:14 -0000)]
Rename dir.bz2 since that's the most likely case now. (trunk r5864:5865)
svn path=/main/branches/2.1.2/; revision=5867
Zac Medico [Thu, 1 Feb 2007 07:30:25 +0000 (07:30 -0000)]
Fix --newuse so that it works correctly with --usepkg. (trunk r5859)
svn path=/main/branches/2.1.2/; revision=5860
Zac Medico [Wed, 31 Jan 2007 00:10:30 +0000 (00:10 -0000)]
Use find + xargs to avoid a potential 'Argument list too long' from bash. (trunk r5844:5845)
svn path=/main/branches/2.1.2/; revision=5846
Zac Medico [Tue, 30 Jan 2007 23:40:14 +0000 (23:40 -0000)]
For bug #164363, shuffle the ip addresses returned from socket.getaddrinfo(). (trunk r5832:5833)
svn path=/main/branches/2.1.2/; revision=5844
Zac Medico [Tue, 30 Jan 2007 23:34:07 +0000 (23:34 -0000)]
For bug #164617, don't change permissions on ${WORKDIR} with unpack(). (trunk r5842)
svn path=/main/branches/2.1.2/; revision=5843
Zac Medico [Tue, 30 Jan 2007 22:33:03 +0000 (22:33 -0000)]
For bug #164532, don't rely on ${USERLAND} since the portage tree might be empty. (trunk r5840)
svn path=/main/branches/2.1.2/; revision=5841
Zac Medico [Mon, 29 Jan 2007 01:46:37 +0000 (01:46 -0000)]
Ignore EEXIST from rmdir since some kernels (such as solaris) return that instead of ENOTEMPTY. (trunk r5798)
svn path=/main/branches/2.1.2/; revision=5830
Zac Medico [Mon, 29 Jan 2007 01:30:26 +0000 (01:30 -0000)]
Catch EACCESS when running env-update, orignal patch by <phajdan.jr@gmail.com> (bug #106061) (trunk r5802:5803 and r5813:5814)
svn path=/main/branches/2.1.2/; revision=5829
Zac Medico [Mon, 29 Jan 2007 01:14:37 +0000 (01:14 -0000)]
For bug #164078, don't trigger the CLEAN_DELAY countdown for autoclean operations since those are most likely unattended. Thanks to Dan <hydrogen@notyetimplemented.com> for the initial patch. (trunk r5827)
svn path=/main/branches/2.1.2/; revision=5828
Zac Medico [Mon, 29 Jan 2007 00:48:48 +0000 (00:48 -0000)]
add support for transparently decompressing gz/Z/bz2 files since some upstream packages will compress for us (trunk r5824:5825)
svn path=/main/branches/2.1.2/; revision=5826
Zac Medico [Sun, 28 Jan 2007 22:44:15 +0000 (22:44 -0000)]
Remove a stray print statement. Thanks to Rick Warner in bug #125261. (trunk r5798:5799)
svn path=/main/branches/2.1.2/; revision=5824
Zac Medico [Sun, 28 Jan 2007 22:26:55 +0000 (22:26 -0000)]
translate unicode quotes to ascii ones so we can keep our regex simple (trunk r5795:5796 and r5803:5804)
svn path=/main/branches/2.1.2/; revision=5823
Zac Medico [Sun, 28 Jan 2007 22:14:30 +0000 (22:14 -0000)]
Can't delete variable that doesn't exist anymore (bug #164280) (trunk r5816:5817 and r5820:5821)
svn path=/main/branches/2.1.2/; revision=5822
Zac Medico [Wed, 24 Jan 2007 09:08:08 +0000 (09:08 -0000)]
demote KEYWORDS.missing to a warning to make KEYWORDS='' valid (trunk r5767:5768)
svn path=/main/branches/2.1.2/; revision=5771
Zac Medico [Wed, 24 Jan 2007 09:06:56 +0000 (09:06 -0000)]
Fix broken line number counting for CONTENTS. (trunk r5764:5765)
svn path=/main/branches/2.1.2/; revision=5770
Zac Medico [Tue, 23 Jan 2007 21:43:40 +0000 (21:43 -0000)]
For bug #142279, detect and warn about null bytes in CONTENTS. (trunk r5762:5763)
svn path=/main/branches/2.1.2/; revision=5764
Zac Medico [Tue, 23 Jan 2007 20:55:51 +0000 (20:55 -0000)]
Add new ** for package.keywords token to bypass keyword visibility layer (trunk r5758:5760)
svn path=/main/branches/2.1.2/; revision=5762
Zac Medico [Tue, 23 Jan 2007 20:42:43 +0000 (20:42 -0000)]
For bug #163219, handle binpkgs that have missing PF metadata. (trunk r5756:5757)
svn path=/main/branches/2.1.2/; revision=5761
Zac Medico [Sun, 21 Jan 2007 22:16:08 +0000 (22:16 -0000)]
For bug #163083, handle an UnsupportedAPIException thrown from the prerm phase. (trunk r5748:5749)
svn path=/main/branches/2.1.2/; revision=5750
Zac Medico [Sun, 21 Jan 2007 07:22:54 +0000 (07:22 -0000)]
To ease transition while Manifest 1 is being removed, only require hashes that will exist before and after the transition. (trunk r5746)
svn path=/main/branches/2.1.2/; revision=5747
Zac Medico [Sun, 21 Jan 2007 00:46:08 +0000 (00:46 -0000)]
Don't require MANIFEST2 hashes since that can trigger excessive fetches when sufficient digests already exist. Thanks to vapier for reporting. (trunk r5742:5743)
svn path=/main/branches/2.1.2/; revision=5745
Zac Medico [Sun, 21 Jan 2007 00:44:49 +0000 (00:44 -0000)]
Minor fixes thanks to Fabio Correa <facorread@alexandria.cc> in bug #162647. (trunk r5741:5742)
svn path=/main/branches/2.1.2/; revision=5744
Zac Medico [Sat, 20 Jan 2007 22:01:02 +0000 (22:01 -0000)]
Use XARGS for portable xargs handling when find doesn't find any files.
svn path=/main/branches/2.1.2/; revision=5740
Zac Medico [Sat, 20 Jan 2007 20:12:31 +0000 (20:12 -0000)]
For bug #161356, fix error handling for currupt ebuilds. (trunk 5735:5737)
svn path=/main/branches/2.1.2/; revision=5738
Zac Medico [Fri, 19 Jan 2007 02:48:47 +0000 (02:48 -0000)]
dump emerge's normpath in favor of portage_util's normalize_path (trunk r5698)
svn path=/main/branches/2.1.2/; revision=5720
Zac Medico [Fri, 19 Jan 2007 01:20:37 +0000 (01:20 -0000)]
For bug #162404, when sesandbox is enabled, only log if PORT_LOGDIR is explicitly enabled since it is possible that local SELinux security policies do not allow ouput to be piped out of the sesandbox domain. (trunk r5718)
svn path=/main/branches/2.1.2/; revision=5719
Zac Medico [Thu, 18 Jan 2007 23:51:53 +0000 (23:51 -0000)]
Simplify rsync timestamp.chk handling and print the correct path for bug #50738. Thanks to jeka for reporting on irc. (trunk r5716)
svn path=/main/branches/2.1.2/; revision=5717
Zac Medico [Thu, 18 Jan 2007 20:54:40 +0000 (20:54 -0000)]
Validate ebuild names in portdbapi.cp_list() and raise an raise an informative InvalidData exception from match_from_list when necessary. (trunk r5712:5714)
svn path=/main/branches/2.1.2/; revision=5715
Zac Medico [Thu, 18 Jan 2007 04:33:03 +0000 (04:33 -0000)]
arm and superh support exec stack stuff now (trunk r5693:5695)
svn path=/main/branches/2.1.2/; revision=5696
Zac Medico [Wed, 17 Jan 2007 23:01:09 +0000 (23:01 -0000)]
For bug #162404, spawn tee outside the sesandbox domain so that it reads from a pipe between two domains. (trunk r5689:5691)
svn path=/main/branches/2.1.2/; revision=5692
Zac Medico [Wed, 17 Jan 2007 09:06:19 +0000 (09:06 -0000)]
Use the portable -o option for tar. Thanks to Timothy Redaelli <drizzt@gentoo.org> for the patch. (trunk r5676)
svn path=/main/branches/2.1.2/; revision=5688
Zac Medico [Wed, 17 Jan 2007 08:53:46 +0000 (08:53 -0000)]
Merge repoman fixes from trunk r5660:5661 and r5665:5669.
svn path=/main/branches/2.1.2/; revision=5687
Zac Medico [Wed, 17 Jan 2007 08:48:32 +0000 (08:48 -0000)]
Merge doebuild *DEPEND validation from trunk r5652:5655.
svn path=/main/branches/2.1.2/; revision=5686
Zac Medico [Wed, 17 Jan 2007 02:32:55 +0000 (02:32 -0000)]
Fix elimination of duplicate virtuals between the binpkg repo and installed packages. (trunk r5684)
svn path=/main/branches/2.1.2/; revision=5685
Zac Medico [Wed, 17 Jan 2007 00:55:43 +0000 (00:55 -0000)]
Make dep_check() work correctly with --usepkgonly. This solves issues reported by Brent Baude <ranger@gentoo.org> (trunk r5674, 5675, 5678, and 5682)
svn path=/main/branches/2.1.2/; revision=5683
Zac Medico [Tue, 16 Jan 2007 23:19:44 +0000 (23:19 -0000)]
make sure we rename links and not just what they point to #162451 (trunk r5677:5678)
svn path=/main/branches/2.1.2/; revision=5681
Zac Medico [Tue, 16 Jan 2007 23:05:51 +0000 (23:05 -0000)]
Prevent packages that are installed but masked from being incorrectly flagged as "available" (unless --usepkgonly is enabled, which currently has no package.mask support).
svn path=/main/trunk/; revision=5679
Mike Frysinger [Tue, 16 Jan 2007 22:43:39 +0000 (22:43 -0000)]
make sure we rename links and not just what they point to #162451
svn path=/main/trunk/; revision=5678
Mike Frysinger [Tue, 16 Jan 2007 22:37:02 +0000 (22:37 -0000)]
make it executable
svn path=/main/trunk/; revision=5677
Zac Medico [Tue, 16 Jan 2007 21:59:03 +0000 (21:59 -0000)]
Use the portable -o option for tar. Thanks to Timothy Redaelli <drizzt@gentoo.org> for the patch.
svn path=/main/trunk/; revision=5676
Zac Medico [Tue, 16 Jan 2007 20:56:47 +0000 (20:56 -0000)]
Allow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren't available for some packages. Thanks to Brent Baude <ranger@gentoo.org> for reporting.
svn path=/main/trunk/; revision=5675
Zac Medico [Tue, 16 Jan 2007 20:08:13 +0000 (20:08 -0000)]
For consistency, respect the use_binaries flag inside _expand_new_virtuals().
svn path=/main/trunk/; revision=5674
Alec Warner [Tue, 16 Jan 2007 16:59:34 +0000 (16:59 -0000)]
switch news timestamp and unread/read storage to '/var/lib/gentoo' like the GLEP states.
svn path=/main/trunk/; revision=5673
Alec Warner [Tue, 16 Jan 2007 16:37:46 +0000 (16:37 -0000)]
If repo/profiles/news doesn't exist, return 0 updates
svn path=/main/trunk/; revision=5672
Alec Warner [Tue, 16 Jan 2007 16:35:52 +0000 (16:35 -0000)]
fix a few typos in tests
svn path=/main/trunk/; revision=5671
Alec Warner [Tue, 16 Jan 2007 16:07:10 +0000 (16:07 -0000)]
Various glep 42 fixes, fix up the portageq calls to fail properly, rewrite the news checking code to check news for all repos with a name.
svn path=/main/trunk/; revision=5670
Zac Medico [Tue, 16 Jan 2007 07:59:41 +0000 (07:59 -0000)]
Replace mktemp with mkstemp since the former is deprecated for security reasons.
svn path=/main/trunk/; revision=5669
Zac Medico [Tue, 16 Jan 2007 07:40:33 +0000 (07:40 -0000)]
Fix broken commitmessagefile handling.
svn path=/main/trunk/; revision=5668
Zac Medico [Tue, 16 Jan 2007 02:30:51 +0000 (02:30 -0000)]
For consistency, just use os.environ.
svn path=/main/trunk/; revision=5667
Zac Medico [Tue, 16 Jan 2007 02:19:10 +0000 (02:19 -0000)]
Make repoman commit removals together with the other changes (instead of with the final Manifest commit).
svn path=/main/trunk/; revision=5666
Alec Warner [Tue, 16 Jan 2007 01:51:59 +0000 (01:51 -0000)]
dirty dirty lies
svn path=/main/trunk/; revision=5665
Mike Frysinger [Tue, 16 Jan 2007 01:37:07 +0000 (01:37 -0000)]
make.conf is not a manual so only list common FEATURES #161985
svn path=/main/trunk/; revision=5664
Mike Frysinger [Tue, 16 Jan 2007 01:36:46 +0000 (01:36 -0000)]
document FEATURES=sesandbox #161985
svn path=/main/trunk/; revision=5663
Alec Warner [Tue, 16 Jan 2007 01:36:45 +0000 (01:36 -0000)]
ferringb pointed out this portroot parameter, ended up not using it, try an os.path.exists to save a very common (and slow) except on missing repo_name files for overlays, use a dict to facility a nicer regex comparison loop for news restrictions.
svn path=/main/trunk/; revision=5662
Zac Medico [Tue, 16 Jan 2007 01:18:54 +0000 (01:18 -0000)]
Enable repoman to commit a Manifest alone instead of bailing out with "Didn't find any changed files".
svn path=/main/trunk/; revision=5661
Alec Warner [Tue, 16 Jan 2007 00:49:29 +0000 (00:49 -0000)]
fix minor syntax issues with locking
svn path=/main/trunk/; revision=5660
Alec Warner [Tue, 16 Jan 2007 00:43:52 +0000 (00:43 -0000)]
merge didn't bring in portage_news, no idea why
svn path=/main/trunk/; revision=5659
Alec Warner [Tue, 16 Jan 2007 00:42:01 +0000 (00:42 -0000)]
merge glep42 into trunk
svn path=/main/trunk/; revision=5658
Alec Warner [Tue, 16 Jan 2007 00:40:34 +0000 (00:40 -0000)]
Clean up imports in portage_locks.py
svn path=/main/trunk/; revision=5657
Mike Frysinger [Mon, 15 Jan 2007 23:56:33 +0000 (23:56 -0000)]
elevate the importance of 64bit clean code on 64bit hosts
svn path=/main/trunk/; revision=5656
Zac Medico [Mon, 15 Jan 2007 23:07:49 +0000 (23:07 -0000)]
Make invalid deps non-fatal for some phases.
svn path=/main/trunk/; revision=5655
Zac Medico [Mon, 15 Jan 2007 22:37:37 +0000 (22:37 -0000)]
Clean up variables when finished.
svn path=/main/trunk/; revision=5654
Zac Medico [Mon, 15 Jan 2007 22:24:20 +0000 (22:24 -0000)]
For bug #162275, make doebuild validate *DEPEND and bail out if necessary.
svn path=/main/trunk/; revision=5653
Alec Warner [Mon, 15 Jan 2007 21:21:59 +0000 (21:21 -0000)]
exithandler is not a portageq func, so ignore it
svn path=/main/trunk/; revision=5652
Zac Medico [Sun, 14 Jan 2007 22:59:51 +0000 (22:59 -0000)]
Fix alphabetical order.
svn path=/main/trunk/; revision=5649
Zac Medico [Sun, 14 Jan 2007 22:53:53 +0000 (22:53 -0000)]
Document DOC_SYMLINKS_DIR.
svn path=/main/trunk/; revision=5648
Zac Medico [Sun, 14 Jan 2007 22:03:17 +0000 (22:03 -0000)]
Don't warn about /etc/make.profile not being a symlink if it has a parent file.
svn path=/main/trunk/; revision=5647
Zac Medico [Sun, 14 Jan 2007 21:56:00 +0000 (21:56 -0000)]
Disable the test phase when USE=test is masked (for consistency with the fix for bug #69021).
svn path=/main/trunk/; revision=5646
Zac Medico [Sun, 14 Jan 2007 20:44:43 +0000 (20:44 -0000)]
For bug #69021, add news about FEATURES="test" implying USE="test".
svn path=/main/trunk/; revision=5645
Zac Medico [Sun, 14 Jan 2007 20:05:48 +0000 (20:05 -0000)]
For bug #161975, document the fact that GENTOO_MIRRORS supports mounted filesystem mirrors.
svn path=/main/trunk/; revision=5644
Zac Medico [Sun, 14 Jan 2007 08:12:07 +0000 (08:12 -0000)]
Document PORTAGE_LOG_FILE, update PORTAGE_TMPDIR path which now includes CATEGORY, and lots of style/syntax fixes. Thanks to Arfrever Frehtes Taifersar Arahesis <FFTA@WP.PL> from bug #161979.
svn path=/main/trunk/; revision=5643
Zac Medico [Sun, 14 Jan 2007 05:06:51 +0000 (05:06 -0000)]
Fix dohtml so that it continues to install files even after some fail. Thanks to brad walker <bradmwalker@cableone.net> in bug #149745.
svn path=/main/trunk/; revision=5642
Zac Medico [Sat, 13 Jan 2007 23:04:31 +0000 (23:04 -0000)]
Fix reversed arguments.
svn path=/main/trunk/; revision=5635
Zac Medico [Sat, 13 Jan 2007 22:51:36 +0000 (22:51 -0000)]
Fix 'TypeError: not all arguments converted during string formatting'. Thanks to marienz.
svn path=/main/trunk/; revision=5634
Alec Warner [Sat, 13 Jan 2007 19:25:20 +0000 (19:25 -0000)]
fix tabs with patch from Grobian and bug # 161911, fix developing a bit
svn path=/main/trunk/; revision=5633
Mike Frysinger [Sat, 13 Jan 2007 18:52:07 +0000 (18:52 -0000)]
make sure people call addread/addwrite/adddeny/addpredict correctly
svn path=/main/trunk/; revision=5632
Zac Medico [Sat, 13 Jan 2007 08:54:35 +0000 (08:54 -0000)]
Catch InvalidData exceptions for bad atoms passed as emerge arguments.
svn path=/main/trunk/; revision=5629
Zac Medico [Sat, 13 Jan 2007 04:52:55 +0000 (04:52 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=5628
Zac Medico [Sat, 13 Jan 2007 03:52:48 +0000 (03:52 -0000)]
Obey the silent parameter when parsing options.
svn path=/main/trunk/; revision=5627
Zac Medico [Sat, 13 Jan 2007 03:12:44 +0000 (03:12 -0000)]
Document PORTAGE_COMPRESS and PORTAGE_COMPRESS_FLAGS.
svn path=/main/trunk/; revision=5626
Zac Medico [Sat, 13 Jan 2007 02:54:55 +0000 (02:54 -0000)]
For bug #144380, disable color at emerge startup and then enable it only when it's absolutely sure that color should be enabled (after EMERGE_DEFAULT_OPTS has been parsed).
svn path=/main/trunk/; revision=5625
Zac Medico [Sat, 13 Jan 2007 00:42:08 +0000 (00:42 -0000)]
Use end_paragraph(1) instead of add_line_break() so that there is really a blank line.
svn path=/main/trunk/; revision=5624
Zac Medico [Sat, 13 Jan 2007 00:36:54 +0000 (00:36 -0000)]
Send the unmerge failure message to stderr.
svn path=/main/trunk/; revision=5623
Zac Medico [Fri, 12 Jan 2007 23:24:26 +0000 (23:24 -0000)]
Send the slot collision notice to stderr and only show minimal output in --quiet mode.
svn path=/main/trunk/; revision=5621
Alec Warner [Fri, 12 Jan 2007 23:07:28 +0000 (23:07 -0000)]
remove the last of the string module from portage.py
svn path=/main/trunk/; revision=5620
Alec Warner [Fri, 12 Jan 2007 19:26:51 +0000 (19:26 -0000)]
Add a few pretty basic comments on writing code, particularly things that portage used to do (and still does) that are...a bit out of style ;)
svn path=/main/trunk/; revision=5612
Zac Medico [Fri, 12 Jan 2007 11:53:27 +0000 (11:53 -0000)]
Fix another typo.
svn path=/main/trunk/; revision=5609
Zac Medico [Fri, 12 Jan 2007 11:49:36 +0000 (11:49 -0000)]
Fix more typos.
svn path=/main/trunk/; revision=5608
Zac Medico [Fri, 12 Jan 2007 10:30:50 +0000 (10:30 -0000)]
Revert accidentally modified joins.
svn path=/main/trunk/; revision=5607
Zac Medico [Fri, 12 Jan 2007 10:08:12 +0000 (10:08 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=5606
Zac Medico [Fri, 12 Jan 2007 09:57:16 +0000 (09:57 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=5605
Alec Warner [Fri, 12 Jan 2007 09:08:27 +0000 (09:08 -0000)]
purge string from portage.py, fix minor bug in portage_util
svn path=/main/trunk/; revision=5604
Alec Warner [Fri, 12 Jan 2007 09:07:46 +0000 (09:07 -0000)]
purge string module from repoman
svn path=/main/trunk/; revision=5603
Alec Warner [Fri, 12 Jan 2007 09:00:01 +0000 (09:00 -0000)]
another annoy space bug
svn path=/main/trunk/; revision=5602
Alec Warner [Fri, 12 Jan 2007 08:55:24 +0000 (08:55 -0000)]
fix "" " " bug
svn path=/main/trunk/; revision=5601
Alec Warner [Fri, 12 Jan 2007 08:30:37 +0000 (08:30 -0000)]
purge string module from emerge
svn path=/main/trunk/; revision=5600
Zac Medico [Fri, 12 Jan 2007 08:29:09 +0000 (08:29 -0000)]
Fix typos from the previous commit.
svn path=/main/trunk/; revision=5599
Zac Medico [Fri, 12 Jan 2007 08:27:31 +0000 (08:27 -0000)]
Use startswith and endswith to simplify code.
svn path=/main/trunk/; revision=5598