Alec Warner [Sun, 28 Jan 2007 19:04:06 +0000 (19:04 -0000)]
use errno.EACCES as suggested by Brian Harring
svn path=/main/trunk/; revision=5814
Mike Frysinger [Sun, 28 Jan 2007 10:53:37 +0000 (10:53 -0000)]
translate unicode quotes to ascii ones so we can keep our regex simple
svn path=/main/trunk/; revision=5804
Marius Mauch [Sun, 28 Jan 2007 10:31:41 +0000 (10:31 -0000)]
Catch EACCESS when running env-update, orignal patch by <phajdan.jr@gmail.com> (bug #106061)
svn path=/main/trunk/; revision=5803
Marius Mauch [Sun, 28 Jan 2007 08:07:17 +0000 (08:07 -0000)]
Add a warning about confcache to make.conf(5)
svn path=/main/trunk/; revision=5802
Zac Medico [Sun, 28 Jan 2007 01:08:52 +0000 (01:08 -0000)]
Remove a stray print statement. Thanks to Rick Warner in bug #125261.
svn path=/main/trunk/; revision=5799
Zac Medico [Sat, 27 Jan 2007 22:58:49 +0000 (22:58 -0000)]
Ignore EEXIST from rmdir since some kernels (such as solaris) return that instead of ENOTEMPTY.
svn path=/main/trunk/; revision=5798
Mike Frysinger [Sat, 27 Jan 2007 19:41:52 +0000 (19:41 -0000)]
add support for parsing of unicode quotes
svn path=/main/trunk/; revision=5796
Alec Warner [Sat, 27 Jan 2007 18:23:45 +0000 (18:23 -0000)]
fix minor sed overzeallousness
svn path=/main/trunk/; revision=5795
Alec Warner [Sat, 27 Jan 2007 18:16:08 +0000 (18:16 -0000)]
Move tests into new directory structure
svn path=/main/trunk/; revision=5794
Alec Warner [Sat, 27 Jan 2007 18:14:57 +0000 (18:14 -0000)]
add test to entice svn mv
svn path=/main/trunk/; revision=5793
Alec Warner [Sat, 27 Jan 2007 18:12:48 +0000 (18:12 -0000)]
fix namespacing in tests
svn path=/main/trunk/; revision=5792
Mike Frysinger [Sat, 27 Jan 2007 04:49:42 +0000 (04:49 -0000)]
if requested argv cannot be matched to anything, exit with non-zero status
svn path=/main/trunk/; revision=5791
Zac Medico [Sat, 27 Jan 2007 01:39:26 +0000 (01:39 -0000)]
For consistency, do not imply --pretend with --changelog since that prevents --changelog from being usable in EMERGE_DEFAULTS_OPTS. Thanks to Ryan Hill <dirtyepic@gentoo.org> in #151250.
svn path=/main/trunk/; revision=5790
Marius Mauch [Thu, 25 Jan 2007 21:53:25 +0000 (21:53 -0000)]
Fix automatic path detection to account for new location
svn path=/main/trunk/; revision=5789
Marius Mauch [Thu, 25 Jan 2007 18:34:31 +0000 (18:34 -0000)]
Fix broken symlink caused by exec module rename
svn path=/main/trunk/; revision=5788
Marius Mauch [Thu, 25 Jan 2007 17:41:20 +0000 (17:41 -0000)]
Document namespace sanitizing
svn path=/main/trunk/; revision=5786
Marius Mauch [Thu, 25 Jan 2007 17:37:21 +0000 (17:37 -0000)]
Namespace sanitizing, step 5
svn path=/main/trunk/; revision=5785
Marius Mauch [Thu, 25 Jan 2007 17:25:47 +0000 (17:25 -0000)]
Namespace sanitizing, step 4
svn path=/main/trunk/; revision=5784
Marius Mauch [Thu, 25 Jan 2007 17:17:43 +0000 (17:17 -0000)]
Fix some breakage caused by script malfunction
svn path=/main/trunk/; revision=5783
Marius Mauch [Thu, 25 Jan 2007 17:07:32 +0000 (17:07 -0000)]
Namespace sanitizing, step 3
svn path=/main/trunk/; revision=5782
Marius Mauch [Thu, 25 Jan 2007 16:25:02 +0000 (16:25 -0000)]
Namespace sanitizing, step 2b
svn path=/main/trunk/; revision=5781
Marius Mauch [Thu, 25 Jan 2007 16:20:19 +0000 (16:20 -0000)]
Namespace sanitizing, step 2
Rename portage.exec to portage.process to avoid syntax errors
svn path=/main/trunk/; revision=5780
Marius Mauch [Thu, 25 Jan 2007 15:51:18 +0000 (15:51 -0000)]
Adding compat symlinks for cache and elog packages
svn path=/main/trunk/; revision=5779
Marius Mauch [Thu, 25 Jan 2007 15:49:26 +0000 (15:49 -0000)]
Namespace sanitizing, step 1
svn path=/main/trunk/; revision=5778
Marius Mauch [Wed, 24 Jan 2007 01:40:28 +0000 (01:40 -0000)]
demote KEYWORDS.missing to a warning to make KEYWORDS='' valid
svn path=/main/trunk/; revision=5768
Zac Medico [Tue, 23 Jan 2007 23:49:59 +0000 (23:49 -0000)]
Fix broken line number counting for CONTENTS.
svn path=/main/trunk/; revision=5765
Zac Medico [Tue, 23 Jan 2007 21:38:58 +0000 (21:38 -0000)]
For bug #142279, detect and warn about null bytes in CONTENTS.
svn path=/main/trunk/; revision=5763
Marius Mauch [Tue, 23 Jan 2007 18:03:09 +0000 (18:03 -0000)]
Update package.keywords section in portage(5) with info about new ** token
svn path=/main/trunk/; revision=5760
Marius Mauch [Tue, 23 Jan 2007 17:41:00 +0000 (17:41 -0000)]
Add new ** for package.keywords token to bypass keyword visibility layer
svn path=/main/trunk/; revision=5759
Zac Medico [Mon, 22 Jan 2007 11:24:45 +0000 (11:24 -0000)]
For bug #163219, handle binpkgs that have missing PF metadata.
svn path=/main/trunk/; revision=5757
Zac Medico [Sun, 21 Jan 2007 22:14:58 +0000 (22:14 -0000)]
For bug #163083, handle an UnsupportedAPIException thrown from the prerm phase.
svn path=/main/trunk/; revision=5749
Zac Medico [Sun, 21 Jan 2007 07:20:18 +0000 (07:20 -0000)]
To ease transition while Manifest 1 is being removed, only require hashes that will exist before and after the transition.
svn path=/main/trunk/; revision=5746
Zac Medico [Sun, 21 Jan 2007 00:40:45 +0000 (00:40 -0000)]
Don't require MANIFEST2 hashes since that can trigger excessive fetches when sufficient digests already exist. Thanks to vapier for reporting.
svn path=/main/trunk/; revision=5743
Zac Medico [Sat, 20 Jan 2007 22:59:17 +0000 (22:59 -0000)]
Minor fixes thanks to Fabio Correa <facorread@alexandria.cc> in bug #162647.
svn path=/main/trunk/; revision=5742
Zac Medico [Sat, 20 Jan 2007 22:02:04 +0000 (22:02 -0000)]
Use XARGS for portable xargs handling when find doesn't find any files. (branches/2.1.2 r5740)
svn path=/main/trunk/; revision=5741
Zac Medico [Sat, 20 Jan 2007 20:07:21 +0000 (20:07 -0000)]
For bug #161356, prevent an AttributeError if the exception has no __module__ attribute.
svn path=/main/trunk/; revision=5737
Zac Medico [Sat, 20 Jan 2007 20:02:59 +0000 (20:02 -0000)]
For bug #161356, fix the SLOT match code to handle a KeyError thrown due to a corrupt ebuild.
svn path=/main/trunk/; revision=5736
Marius Mauch [Sat, 20 Jan 2007 16:06:50 +0000 (16:06 -0000)]
Some minor fixes for manifest code
svn path=/main/trunk/; revision=5735
Mike Frysinger [Sat, 20 Jan 2007 13:48:07 +0000 (13:48 -0000)]
fix programlisting output to match the sections they are in
svn path=/main/trunk/; revision=5734
Mike Frysinger [Sat, 20 Jan 2007 13:43:39 +0000 (13:43 -0000)]
forgot to document strict alias warnings
svn path=/main/trunk/; revision=5733
Zac Medico [Fri, 19 Jan 2007 06:50:15 +0000 (06:50 -0000)]
Fix syntax.
svn path=/main/trunk/; revision=5722
Zac Medico [Fri, 19 Jan 2007 01:16:36 +0000 (01:16 -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.
svn path=/main/trunk/; revision=5718
Zac Medico [Thu, 18 Jan 2007 23:50:35 +0000 (23:50 -0000)]
Simplify rsync timestamp.chk handling and print the correct path for bug #50738. Thanks to jeka for reporting on irc.
svn path=/main/trunk/; revision=5716
Zac Medico [Thu, 18 Jan 2007 20:48:15 +0000 (20:48 -0000)]
Raise an informative InvalidData exception instead of 'TypeError: unsubscriptable object' when pkgsplit returns None.
svn path=/main/trunk/; revision=5714
Zac Medico [Thu, 18 Jan 2007 20:37:24 +0000 (20:37 -0000)]
Validate ebuild names inside portdbapi.cp_list() in order to prevent problems later on. Thanks to delusions for reporting on irc.
svn path=/main/trunk/; revision=5713
Marius Mauch [Thu, 18 Jan 2007 20:06:50 +0000 (20:06 -0000)]
Unified try-except-finally only works with python-2.5
svn path=/main/trunk/; revision=5711
Alec Warner [Thu, 18 Jan 2007 20:03:09 +0000 (20:03 -0000)]
don't force a comparison
svn path=/main/trunk/; revision=5710
Marius Mauch [Thu, 18 Jan 2007 20:00:38 +0000 (20:00 -0000)]
Don't load a module if there is nothing to process after filtering
svn path=/main/trunk/; revision=5709
Marius Mauch [Thu, 18 Jan 2007 19:45:19 +0000 (19:45 -0000)]
update make.conf.example with per-module filtering
svn path=/main/trunk/; revision=5708
Marius Mauch [Thu, 18 Jan 2007 19:41:27 +0000 (19:41 -0000)]
Allow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_CLASSES one, add wildcard support for loglevels
svn path=/main/trunk/; revision=5707
Marius Mauch [Thu, 18 Jan 2007 19:27:55 +0000 (19:27 -0000)]
more trivial fixes
svn path=/main/trunk/; revision=5706
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