Alec Warner [Thu, 18 Jan 2007 17:39:15 +0000 (17:39 -0000)]
but news lib path is global, not an attr
svn path=/main/trunk/; revision=5705
Alec Warner [Thu, 18 Jan 2007 17:37:27 +0000 (17:37 -0000)]
I really meant NEWS_LIB_PATH (/var/lib/gentoo) but decent idea to have a timestamp per repo ;)
svn path=/main/trunk/; revision=5704
Marius Mauch [Thu, 18 Jan 2007 16:58:52 +0000 (16:58 -0000)]
Attribute error
svn path=/main/trunk/; revision=5703
Marius Mauch [Thu, 18 Jan 2007 16:45:40 +0000 (16:45 -0000)]
Syntax error
svn path=/main/trunk/; revision=5702
Alec Warner [Thu, 18 Jan 2007 07:15:10 +0000 (07:15 -0000)]
locking, try 100
svn path=/main/trunk/; revision=5701
Alec Warner [Thu, 18 Jan 2007 06:59:50 +0000 (06:59 -0000)]
lock file around chown/chmod
svn path=/main/trunk/; revision=5700
Alec Warner [Thu, 18 Jan 2007 06:34:52 +0000 (06:34 -0000)]
fix apply_permissions import and use keyworded args in the call, as well as PORTAGE_INST_UID instead of root, also fix some spacies in emerge, thanks for Zac for reporting
svn path=/main/trunk/; revision=5699
Alec Warner [Thu, 18 Jan 2007 06:23:12 +0000 (06:23 -0000)]
dump emerge's normpath in favor of portage_util's normalize_path
svn path=/main/trunk/; revision=5698
Alec Warner [Thu, 18 Jan 2007 06:19:52 +0000 (06:19 -0000)]
add try finally blocks around locking for news
svn path=/main/trunk/; revision=5697
Mike Frysinger [Thu, 18 Jan 2007 04:18:12 +0000 (04:18 -0000)]
arm supports sane exec stack stuff now
svn path=/main/trunk/; revision=5695
Mike Frysinger [Thu, 18 Jan 2007 04:17:15 +0000 (04:17 -0000)]
superh supports sane exec stack stuff now
svn path=/main/trunk/; revision=5694
Mike Frysinger [Thu, 18 Jan 2007 01:53:57 +0000 (01:53 -0000)]
start documenting qa notices so antarus stops whining
svn path=/main/trunk/; revision=5693
Zac Medico [Wed, 17 Jan 2007 22:58:08 +0000 (22:58 -0000)]
Use elif where appropriate. Thanks to ferringb.
svn path=/main/trunk/; revision=5691
Zac Medico [Wed, 17 Jan 2007 21:42:10 +0000 (21:42 -0000)]
For bug #162404, spawn tee outside the sesandbox domain so that it reads from a pipe between two domains.
svn path=/main/trunk/; revision=5690
Zac Medico [Wed, 17 Jan 2007 09:07:24 +0000 (09:07 -0000)]
Remove one last reference to ${tarvars}.
svn path=/main/trunk/; revision=5689
Zac Medico [Wed, 17 Jan 2007 02:31:56 +0000 (02:31 -0000)]
Fix elimination of duplicate virtuals between the binpkg repo and installed packages.
svn path=/main/trunk/; revision=5684
Zac Medico [Tue, 16 Jan 2007 23:49:10 +0000 (23:49 -0000)]
For --usepkgonly, allow _expand_new_virtuals() to fall back to the vardb in case all binaries aren't available.
svn path=/main/trunk/; revision=5682
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
Alec Warner [Fri, 12 Jan 2007 08:19:46 +0000 (08:19 -0000)]
More String deprecation
svn path=/main/trunk/; revision=5597
Alec Warner [Fri, 12 Jan 2007 08:08:53 +0000 (08:08 -0000)]
set Id on tests
svn path=/main/trunk/; revision=5596
Alec Warner [Fri, 12 Jan 2007 08:08:03 +0000 (08:08 -0000)]
more string deprecation
svn path=/main/trunk/; revision=5595
Alec Warner [Fri, 12 Jan 2007 07:58:39 +0000 (07:58 -0000)]
Begin the deprecation of the string module
svn path=/main/trunk/; revision=5594
Zac Medico [Fri, 12 Jan 2007 06:49:45 +0000 (06:49 -0000)]
Remove a duplicate % character.
svn path=/main/trunk/; revision=5593
Zac Medico [Fri, 12 Jan 2007 06:18:13 +0000 (06:18 -0000)]
Fix incremental virtuals code for the new stricter catpkgsplit behavior.
svn path=/main/trunk/; revision=5592
Zac Medico [Fri, 12 Jan 2007 06:10:59 +0000 (06:10 -0000)]
Prevent an InvalidData exception during global updates due to the new stricter catpkgsplit behavior.
svn path=/main/trunk/; revision=5591
Zac Medico [Fri, 12 Jan 2007 05:52:54 +0000 (05:52 -0000)]
For bug #88485, show the location of the build log whenever a build fails.
svn path=/main/trunk/; revision=5590
Zac Medico [Fri, 12 Jan 2007 05:19:37 +0000 (05:19 -0000)]
Return early from finddigest if findname2 found nothing.
svn path=/main/trunk/; revision=5589
Alec Warner [Fri, 12 Jan 2007 04:48:24 +0000 (04:48 -0000)]
FIx a bunch of random Except: statements in portage.py, most of them are IO/OS related
svn path=/main/trunk/; revision=5588
Alec Warner [Fri, 12 Jan 2007 04:28:10 +0000 (04:28 -0000)]
os.cwd can return OSError (maybe IOError with wrong perms for ./, will test actually), load_mod should be IMportError, nuke a stupid try except around shuffle which used to break years ago with old glibcs, remove try except around what appears to be a regex? and make the try except around the unlink a bit cleaner
svn path=/main/trunk/; revision=5587
Alec Warner [Fri, 12 Jan 2007 04:26:32 +0000 (04:26 -0000)]
EOFError is also important according to Zac
svn path=/main/trunk/; revision=5586
Alec Warner [Fri, 12 Jan 2007 04:12:45 +0000 (04:12 -0000)]
getbinpkg.py fix except: open can be IOERror or OSError and cPickle can throw an unpicklingError
svn path=/main/trunk/; revision=5585
Alec Warner [Fri, 12 Jan 2007 04:07:38 +0000 (04:07 -0000)]
comment the excepts in a few places
svn path=/main/trunk/; revision=5584
Alec Warner [Fri, 12 Jan 2007 03:51:53 +0000 (03:51 -0000)]
Fix broad except statement, should only be KeyError
svn path=/main/trunk/; revision=5583
Alec Warner [Fri, 12 Jan 2007 03:46:22 +0000 (03:46 -0000)]
portage_versions.py, more string.atoi -> int, fix another except: that should be ValueError
svn path=/main/trunk/; revision=5582
Alec Warner [Fri, 12 Jan 2007 03:38:36 +0000 (03:38 -0000)]
Change vercmp to use int() instead of string atoi, catch ValueError in pkgcmp
svn path=/main/trunk/; revision=5581
Zac Medico [Fri, 12 Jan 2007 03:17:13 +0000 (03:17 -0000)]
For bug #147512, don't print a cryptic error message when an EnvironmentError occurs. Also, allow the user to get a traceback via --debug.
svn path=/main/trunk/; revision=5580
Mike Frysinger [Fri, 12 Jan 2007 03:02:32 +0000 (03:02 -0000)]
drop lazy bindings check once and for all ... the system ldso should have the logic #71609
svn path=/main/trunk/; revision=5579
Zac Medico [Fri, 12 Jan 2007 02:44:24 +0000 (02:44 -0000)]
Fix ebuild environment color.map support so that it works properly through exec calls (since the color variables can not be directly exported due to env pollution).
svn path=/main/trunk/; revision=5578
Zac Medico [Thu, 11 Jan 2007 23:15:19 +0000 (23:15 -0000)]
Allow catpkgsplit to be less strict for atoms that come from installed packages (for backward compatibility).
svn path=/main/trunk/; revision=5577