Marius Mauch [Fri, 18 May 2007 17:16:55 +0000 (17:16 -0000)]
Enable elog functionality for the python side of portage
svn path=/main/trunk/; revision=6548
Marius Mauch [Fri, 18 May 2007 14:58:10 +0000 (14:58 -0000)]
Display notification about unread news in all situations specified by glep 42
svn path=/main/trunk/; revision=6547
Marius Mauch [Fri, 18 May 2007 13:00:28 +0000 (13:00 -0000)]
- store newsid in unread file, not the path to the news item
- use octal numbers to specify file permissions
- use descriptive exceptions when (not) creating NewsItem objects
- code style cleanups
svn path=/main/trunk/; revision=6546
Marius Mauch [Fri, 18 May 2007 12:58:27 +0000 (12:58 -0000)]
Add registration support for preserved library objects, move the library->consumer
map code out of vardbapi and fix a bug in the setup code for preserve-libs and
collision-protect caused by using relative paths with os.path.islink()
svn path=/main/trunk/; revision=6545
Robin H. Johnson [Fri, 18 May 2007 06:52:18 +0000 (06:52 -0000)]
Check to see if I have svn.g.o fixed, no actual file changes, pass #2
svn path=/main/trunk/; revision=6544
Robin H. Johnson [Fri, 18 May 2007 06:52:01 +0000 (06:52 -0000)]
Check to see if I have svn.g.o fixed, no actual file changes.
svn path=/main/trunk/; revision=6543
Zac Medico [Thu, 17 May 2007 09:28:38 +0000 (09:28 -0000)]
wrap lines
svn path=/main/trunk/; revision=6542
Zac Medico [Thu, 17 May 2007 09:13:00 +0000 (09:13 -0000)]
For bug #162404, use a pseudo-terminal device pair (instead of a normal pipe) for moving ouput out of the sesandbox domain.
svn path=/main/trunk/; revision=6541
Zac Medico [Wed, 16 May 2007 17:05:39 +0000 (17:05 -0000)]
Don't protect USE_EXPAND variables from -* anymore because the really critical ones should all be in use.force now (typically kernel_linux, elibc_glibc, and userland_GNU).
svn path=/main/trunk/; revision=6540
Zac Medico [Mon, 14 May 2007 11:35:01 +0000 (11:35 -0000)]
fix syntax (merged from branches/prefix r6534)
svn path=/main/trunk/; revision=6537
Zac Medico [Sun, 13 May 2007 21:33:43 +0000 (21:33 -0000)]
For bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty.
svn path=/main/trunk/; revision=6535
Alec Warner [Sun, 13 May 2007 17:36:35 +0000 (17:36 -0000)]
the profile check is spammy and should be squelched when --quiet is given
svn path=/main/trunk/; revision=6530
Zac Medico [Sun, 13 May 2007 08:29:28 +0000 (08:29 -0000)]
remove old import
svn path=/main/trunk/; revision=6529
Zac Medico [Sun, 13 May 2007 08:25:30 +0000 (08:25 -0000)]
import dispatch_conf from the new namespace
svn path=/main/trunk/; revision=6528
Zac Medico [Sun, 13 May 2007 08:19:24 +0000 (08:19 -0000)]
tabs -> spaces
svn path=/main/trunk/; revision=6527
Zac Medico [Sun, 13 May 2007 07:19:42 +0000 (07:19 -0000)]
Fix the varexpand quotes tests since quotes are no longer removed by this function.
svn path=/main/trunk/; revision=6525
Zac Medico [Sat, 12 May 2007 23:14:19 +0000 (23:14 -0000)]
Add TODO note about support for blocks within slots. Thanks to Brian Harring for reporting.
svn path=/main/trunk/; revision=6524
Zac Medico [Sat, 12 May 2007 19:15:39 +0000 (19:15 -0000)]
s:${PORTDIR}:/usr/portage: so that it's not implied that those variables are automatically relative to ${PORTDIR} when the value of ${PORTDIR} has changed to something other than /usr/portage. Thanks to kerframil for reporting.
svn path=/main/trunk/; revision=6523
Zac Medico [Thu, 10 May 2007 18:29:44 +0000 (18:29 -0000)]
For bug #177763, clarify about how FEATURES=keepwork allows ${WORKDDIR} to be reused.
svn path=/main/trunk/; revision=6519
Zac Medico [Thu, 10 May 2007 18:14:52 +0000 (18:14 -0000)]
Make sure FEATURES=test and USE=test are consistently enabled for all requested phases when the test phase is forced via the ebuild command.
svn path=/main/trunk/; revision=6517
Zac Medico [Thu, 10 May 2007 05:33:57 +0000 (05:33 -0000)]
Make sure USE=test is properly enabled when the test phase is forced via the ebuild command, even when USE from ${T}/environment doen't have it.
svn path=/main/trunk/; revision=6513
Zac Medico [Wed, 9 May 2007 23:14:03 +0000 (23:14 -0000)]
fix typo from previous commit
svn path=/main/trunk/; revision=6512
Zac Medico [Wed, 9 May 2007 23:11:53 +0000 (23:11 -0000)]
For bug #177763, document that FEATURES=keepwork can interfere with normal emerge operation.
svn path=/main/trunk/; revision=6511
Zac Medico [Wed, 9 May 2007 22:49:47 +0000 (22:49 -0000)]
Make sure USE=test is properly enabled when the test phase is forced via the ebuild command. Thanks to Caster for reporting.
svn path=/main/trunk/; revision=6508
Alec Warner [Wed, 9 May 2007 03:42:05 +0000 (03:42 -0000)]
fix spacing in loaders
svn path=/main/trunk/; revision=6506
Zac Medico [Tue, 8 May 2007 20:29:02 +0000 (20:29 -0000)]
For bug #177591, increase shell compatibility by preserving quotes in varexpand() since quote removal is handled by shlex.
svn path=/main/trunk/; revision=6505
Zac Medico [Tue, 8 May 2007 18:14:12 +0000 (18:14 -0000)]
For bug #177601, add a reference the --verbose option documentation in the OUTPUT section.
svn path=/main/trunk/; revision=6504
Alec Warner [Tue, 8 May 2007 15:42:01 +0000 (15:42 -0000)]
antarus fears it, and fears it often
svn path=/main/trunk/; revision=6503
Alec Warner [Tue, 8 May 2007 05:13:35 +0000 (05:13 -0000)]
imports are one module per line, remove type module in favor of the new hotness, isinstance.
svn path=/main/trunk/; revision=6500
Alec Warner [Tue, 8 May 2007 05:07:06 +0000 (05:07 -0000)]
Honestly if they are missing sys, that error message probably won't help any more than the other one (zomg broken)
svn path=/main/trunk/; revision=6499
Alec Warner [Tue, 8 May 2007 05:02:36 +0000 (05:02 -0000)]
validators++
svn path=/main/trunk/; revision=6498
Zac Medico [Mon, 7 May 2007 02:29:05 +0000 (02:29 -0000)]
Prevent blockers that are only partially resolvable by merge order from accidentally being ignored.
svn path=/main/trunk/; revision=6494
Zac Medico [Sun, 6 May 2007 20:13:00 +0000 (20:13 -0000)]
Use shlex for better splitting of PORTAGE_RSYNC_OPTS and PORTAGE_RSYNC_EXTRA_OPTS.
svn path=/main/trunk/; revision=6492
Zac Medico [Sun, 6 May 2007 19:37:37 +0000 (19:37 -0000)]
Use shlex for better splitting of FETCHCOMMAND.
svn path=/main/trunk/; revision=6490
Zac Medico [Sun, 6 May 2007 07:56:22 +0000 (07:56 -0000)]
Use varexpand to expand FETCHCOMMAND and RESUMECOMMAND.
svn path=/main/trunk/; revision=6487
Zac Medico [Sat, 5 May 2007 23:51:31 +0000 (23:51 -0000)]
For bug #171259, fix vercmp so that implicit _p0 is less than explicit _p0. Thanks to TGL <degrenier@easyconnect.fr> for the patch.
svn path=/main/trunk/; revision=6485
Zac Medico [Sat, 5 May 2007 23:40:18 +0000 (23:40 -0000)]
Add missing base class.
svn path=/main/trunk/; revision=6484
Zac Medico [Sat, 5 May 2007 19:56:47 +0000 (19:56 -0000)]
Use match_from_list in order to potentially avoid more blocks.
svn path=/main/trunk/; revision=6482
Zac Medico [Sat, 5 May 2007 18:10:50 +0000 (18:10 -0000)]
For bug #177211, use chmod -R on the children of the current directory in order to reduce the size of the argument list.
svn path=/main/trunk/; revision=6480
Zac Medico [Sat, 5 May 2007 17:40:51 +0000 (17:40 -0000)]
For bug #175058, comment #15, expand all possible variables in each argument.
svn path=/main/trunk/; revision=6478
Zac Medico [Thu, 3 May 2007 09:18:36 +0000 (09:18 -0000)]
For bug #176765, when a new package is blocked by another one that is being replaced, handle another case where the conflict can be avoided.
svn path=/main/trunk/; revision=6473
Zac Medico [Wed, 2 May 2007 22:52:16 +0000 (22:52 -0000)]
Remove news about profile masking which has been reverted pending resolution of bug #170697. Thanks to Arfrever Frehtes Taifersar Arahesis in #149508.
svn path=/main/trunk/; revision=6472
Mike Frysinger [Wed, 2 May 2007 19:58:47 +0000 (19:58 -0000)]
document the behavior of `ebuild` wrt FEATURES=noauto #175444
svn path=/main/trunk/; revision=6471
Zac Medico [Wed, 2 May 2007 17:29:12 +0000 (17:29 -0000)]
s/dir/actual_dir/ (branches/prefix r6463:6464
svn path=/main/trunk/; revision=6469
Zac Medico [Wed, 2 May 2007 17:23:13 +0000 (17:23 -0000)]
Fix eend so that it works properly on a standard BSD console. Thanks to UberLord.
svn path=/main/trunk/; revision=6467
Zac Medico [Mon, 30 Apr 2007 15:12:45 +0000 (15:12 -0000)]
Handle KeyError when the ebuild is corrupt.
svn path=/main/trunk/; revision=6461
Marius Mauch [Mon, 30 Apr 2007 03:16:06 +0000 (03:16 -0000)]
Fix -* handling in gvisible to match incremental semantics
svn path=/main/trunk/; revision=6459
Marius Mauch [Mon, 30 Apr 2007 02:31:30 +0000 (02:31 -0000)]
- add new echo module for people who don't want any real logging
- add copyright header in elog modules and enable keyword substitution
- enable save_summary and echo modules in make.globals
svn path=/main/trunk/; revision=6458
Zac Medico [Sun, 29 Apr 2007 06:33:47 +0000 (06:33 -0000)]
For bug #175058, avoid potential quoting issues by spawning FETCHCOMMAND without a shell.
svn path=/main/trunk/; revision=6456
Zac Medico [Sat, 28 Apr 2007 19:14:41 +0000 (19:14 -0000)]
For bug #176384, adjust config according to options of the command being resumed.
svn path=/main/trunk/; revision=6454
Zac Medico [Sat, 28 Apr 2007 17:37:39 +0000 (17:37 -0000)]
For bug #175058, properly quote the variables in FETCHCOMMAND and RESUMECOMMAND since the command is spawned in a bash shell.
svn path=/main/trunk/; revision=6452
Zac Medico [Sat, 28 Apr 2007 01:57:56 +0000 (01:57 -0000)]
Fix up missing mymergelist variable from the previous commit.
svn path=/main/trunk/; revision=6446
Zac Medico [Sat, 28 Apr 2007 01:46:21 +0000 (01:46 -0000)]
For bug #176305, validate the resume merge list before attempting to verify the ebuild manifests.
svn path=/main/trunk/; revision=6444
Zac Medico [Thu, 26 Apr 2007 21:23:03 +0000 (21:23 -0000)]
In the installsources docs, note that CFLAGS needs to be set to include debug information. Thanks to tigger^ for reporting.
svn path=/main/trunk/; revision=6442
Zac Medico [Thu, 26 Apr 2007 20:43:49 +0000 (20:43 -0000)]
Always ensure permissions in DISTCC_DIR in order to try to prevent potential permission problems for non-root users who are in the portage group (userpriv, etc.).
svn path=/main/trunk/; revision=6440
Zac Medico [Thu, 26 Apr 2007 19:43:25 +0000 (19:43 -0000)]
For bug #176139, only symlink the distfiles that are required according the current USE settings.
svn path=/main/trunk/; revision=6438
Alec Warner [Tue, 24 Apr 2007 07:31:44 +0000 (07:31 -0000)]
fix typo
svn path=/main/trunk/; revision=6435
Zac Medico [Tue, 24 Apr 2007 06:55:54 +0000 (06:55 -0000)]
For bug #175781, add a higher preference priority for choices where all matching slots are installed (not just any slot).
svn path=/main/trunk/; revision=6432
Alec Warner [Tue, 24 Apr 2007 06:04:27 +0000 (06:04 -0000)]
Pretty up the repoman imports, use cPickle over pickle for performance
svn path=/main/trunk/; revision=6431
Zac Medico [Sat, 21 Apr 2007 10:49:56 +0000 (10:49 -0000)]
Use portable sh syntax rather than bash syntax. Thanks to drizzt.
svn path=/main/trunk/; revision=6429
Zac Medico [Fri, 20 Apr 2007 22:53:21 +0000 (22:53 -0000)]
Also validate RESTRICT inside doebuild().
svn path=/main/trunk/; revision=6427
Zac Medico [Fri, 20 Apr 2007 22:25:33 +0000 (22:25 -0000)]
Also validate SRC_URI inside doebuild().
svn path=/main/trunk/; revision=6425
Zac Medico [Fri, 20 Apr 2007 22:18:15 +0000 (22:18 -0000)]
For bug #175344, validate LICENSE and PROVIDE inside doebuild().
svn path=/main/trunk/; revision=6423
Zac Medico [Fri, 20 Apr 2007 21:52:15 +0000 (21:52 -0000)]
For bug #175344, handle a potential InvalidDependString exception when parsing PROVIDE.
svn path=/main/trunk/; revision=6421
Zac Medico [Fri, 20 Apr 2007 21:31:53 +0000 (21:31 -0000)]
For bug #175344, handle a potential InvalidDependString exception when parsing PROVIDE.
svn path=/main/trunk/; revision=6419
Zac Medico [Fri, 20 Apr 2007 18:42:22 +0000 (18:42 -0000)]
For bug #175344, use cp_list instead of xmatch in order to avoid dep_expand calls.
svn path=/main/trunk/; revision=6417
Mike Frysinger [Tue, 17 Apr 2007 23:07:04 +0000 (23:07 -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
svn path=/main/trunk/; revision=6416
Mike Frysinger [Sun, 15 Apr 2007 09:32:30 +0000 (09:32 -0000)]
convert `type -p` to `type -P` as noted by grobian
svn path=/main/trunk/; revision=6411
Mike Frysinger [Sat, 14 Apr 2007 16:35:12 +0000 (16:35 -0000)]
do stripping after compression dequeueing
svn path=/main/trunk/; revision=6403
Mike Frysinger [Sat, 14 Apr 2007 16:35:00 +0000 (16:35 -0000)]
queue compression
svn path=/main/trunk/; revision=6402
Mike Frysinger [Sat, 14 Apr 2007 11:40:59 +0000 (11:40 -0000)]
revise tests so that `insinto /` does not trigger an error
svn path=/main/trunk/; revision=6401
Zac Medico [Sat, 14 Apr 2007 05:27:13 +0000 (05:27 -0000)]
Prefix the hardlink source with ${D} like we always have.
svn path=/main/trunk/; revision=6396
Mike Frysinger [Sat, 14 Apr 2007 02:04:53 +0000 (02:04 -0000)]
document new version suffix style #166522
svn path=/main/trunk/; revision=6395
Mike Frysinger [Sat, 14 Apr 2007 01:59:21 +0000 (01:59 -0000)]
create leading directories to match behavior of other do* programs
svn path=/main/trunk/; revision=6394
Mike Frysinger [Fri, 13 Apr 2007 19:19:25 +0000 (19:19 -0000)]
simplify unsafe file checking so files/paths with spaces dont cause troubles
svn path=/main/trunk/; revision=6392
Zac Medico [Fri, 13 Apr 2007 05:43:48 +0000 (05:43 -0000)]
Use relative paths inside ecompressdir in order to avoid 'Argument list too long' errors with large file sets (observed when installing sys-apps/man-pages).
svn path=/main/trunk/; revision=6388
Zac Medico [Fri, 13 Apr 2007 05:10:26 +0000 (05:10 -0000)]
Add CATEGORY to blacklisted variables since it can interfere with CATEGORY guessing inside doebuild.
svn path=/main/trunk/; revision=6386
Zac Medico [Fri, 13 Apr 2007 04:14:18 +0000 (04:14 -0000)]
Use catpkgsplit instead of pkgsplit for consistency with usage elsewhere.
svn path=/main/trunk/; revision=6384
Zac Medico [Fri, 13 Apr 2007 04:13:42 +0000 (04:13 -0000)]
Use a config instance that's not locked/immutable.
svn path=/main/trunk/; revision=6383
Mike Frysinger [Thu, 12 Apr 2007 13:10:00 +0000 (13:10 -0000)]
cleanup example ebuild to be more representative of a "good" ebuild #174260 by Timothy Redaelli
svn path=/main/trunk/; revision=6379
Zac Medico [Thu, 12 Apr 2007 04:14:36 +0000 (04:14 -0000)]
For bug #173808, add back the old heuristics to make sure that we don't just blindly compress the contents of any directory named "man".
svn path=/main/trunk/; revision=6371
Zac Medico [Tue, 10 Apr 2007 08:40:56 +0000 (08:40 -0000)]
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories separately. This allows symlinks that point into sibling directories to get updated properly be ecompressdir.
svn path=/main/trunk/; revision=6362
Zac Medico [Tue, 10 Apr 2007 06:03:38 +0000 (06:03 -0000)]
Efficiently recycle partial valid vdb cache when possible. This reduces disk load when switching between versions of portage that cache different keys.
svn path=/main/trunk/; revision=6360
Zac Medico [Mon, 9 Apr 2007 17:18:22 +0000 (17:18 -0000)]
Don't load FEATURES in load_infodir() because FEATURES from the build host shouldn't be interpreted asFEATURES on the client system. Thanks to Thanks to Chri
svn path=/main/trunk/; revision=6358
Zac Medico [Mon, 9 Apr 2007 09:08:40 +0000 (09:08 -0000)]
Update the FEATURES=strict docs for better clarity. Thanks to taviso for reporting.
svn path=/main/trunk/; revision=6357
Zac Medico [Mon, 9 Apr 2007 02:45:43 +0000 (02:45 -0000)]
Cache NEEDED in order to optimize update_library_map() calls.
svn path=/main/trunk/; revision=6356
Zac Medico [Sun, 8 Apr 2007 19:36:54 +0000 (19:36 -0000)]
Only apply permissions to ccache, confcache, and distcc dirs when they are created in order to avoid interference with whatever the user's preferred permissions are. Thanks to Diego Pettenò <flameeyes@gmail.com> for reporting.
svn path=/main/trunk/; revision=6354
Mike Frysinger [Sat, 7 Apr 2007 08:32:35 +0000 (08:32 -0000)]
change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6351
Mike Frysinger [Sat, 7 Apr 2007 04:54:36 +0000 (04:54 -0000)]
remove references to EXEDESTTREE
svn path=/main/trunk/; revision=6350
Mike Frysinger [Sat, 7 Apr 2007 04:49:51 +0000 (04:49 -0000)]
document /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config
svn path=/main/trunk/; revision=6349
Mike Frysinger [Sat, 7 Apr 2007 04:35:32 +0000 (04:35 -0000)]
tell people that the FILES section is not supposed to be complete (and sneak in a few style fixups)
svn path=/main/trunk/; revision=6348
Mike Frysinger [Sat, 7 Apr 2007 04:32:47 +0000 (04:32 -0000)]
change "DOCDESTTREE" to "_E_DOCDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6347
Mike Frysinger [Sat, 7 Apr 2007 04:29:59 +0000 (04:29 -0000)]
remove references to DOCDESTTREE and INSDESTTREE
svn path=/main/trunk/; revision=6346
Zac Medico [Thu, 5 Apr 2007 22:27:54 +0000 (22:27 -0000)]
Provide a default value to the getattr call.
svn path=/main/trunk/; revision=6344
Zac Medico [Thu, 5 Apr 2007 21:34:46 +0000 (21:34 -0000)]
Make sure XARGS has a default value.
svn path=/main/trunk/; revision=6343
Zac Medico [Thu, 5 Apr 2007 21:29:45 +0000 (21:29 -0000)]
Don't force OS detection in the portage.data module.
svn path=/main/trunk/; revision=6342
Zac Medico [Thu, 5 Apr 2007 21:20:57 +0000 (21:20 -0000)]
Don't set os.environ["USERLAND"] inside portage.data and rely on USERLAND from the profile instead (bail out if necessary when USERLAND is unset).
svn path=/main/trunk/; revision=6341
Zac Medico [Thu, 5 Apr 2007 20:46:31 +0000 (20:46 -0000)]
Punt the sorted_versions() function in favor of list.sort(vercmp).
svn path=/main/trunk/; revision=6339
Zac Medico [Mon, 2 Apr 2007 19:43:59 +0000 (19:43 -0000)]
For bug #173184, handle the CommandNotFound that is produced during uninstallation of prelink.
svn path=/main/trunk/; revision=6332
Alec Warner [Sun, 1 Apr 2007 04:32:13 +0000 (04:32 -0000)]
I consulted the python oracle and it told me enumerate was better, so go team enumerate
svn path=/main/trunk/; revision=6330