Ned Ludd [Sun, 1 Jan 2006 19:12:09 +0000 (19:12 -0000)]
- added writemsg_stdout function and make portage use it internally
svn path=/main/trunk/; revision=2516
Jason Stubbs [Sun, 1 Jan 2006 05:57:36 +0000 (05:57 -0000)]
Kill the double xterm title codes.
svn path=/main/trunk/; revision=2515
Jason Stubbs [Sat, 31 Dec 2005 05:27:32 +0000 (05:27 -0000)]
Add CTARGET back into the list of vars to be written out for installed
packages.
svn path=/main/trunk/; revision=2510
Jason Stubbs [Sat, 31 Dec 2005 05:25:08 +0000 (05:25 -0000)]
Redo virtuals code that relied on unique_array keeping the original order.
svn path=/main/trunk/; revision=2509
Jason Stubbs [Sat, 31 Dec 2005 05:19:34 +0000 (05:19 -0000)]
BUILDIR => BUILDDIR
svn path=/main/trunk/; revision=2508
Jason Stubbs [Sat, 31 Dec 2005 05:05:41 +0000 (05:05 -0000)]
Update the `touch .unpacked` error message to output the actual path in order
to match the other touch error messages.
svn path=/main/trunk/; revision=2507
Jason Stubbs [Sat, 31 Dec 2005 04:20:24 +0000 (04:20 -0000)]
Updated --pretend example to document new USE flag displays.
svn path=/main/trunk/; revision=2505
Jason Stubbs [Sat, 31 Dec 2005 03:58:15 +0000 (03:58 -0000)]
Unify the -p and -pv USE display functions and IUSE additions in yellow
followed by a "%" character.
svn path=/main/trunk/; revision=2504
Jason Stubbs [Fri, 30 Dec 2005 07:19:49 +0000 (07:19 -0000)]
Check and raise an exception when a hash function is missing during digesting.
svn path=/main/trunk/; revision=2498
Jason Stubbs [Fri, 30 Dec 2005 06:48:50 +0000 (06:48 -0000)]
Split email addresses on the final "@" so as to allow "@" within the username
portion of the address.
svn path=/main/trunk/; revision=2497
Jason Stubbs [Fri, 30 Dec 2005 06:37:05 +0000 (06:37 -0000)]
Convert digest failure information to strings for printing.
svn path=/main/trunk/; revision=2496
Jason Stubbs [Fri, 30 Dec 2005 04:10:54 +0000 (04:10 -0000)]
Don't attempt to chmod/chown unless running as root when calling simple
ebuild functions.
svn path=/main/trunk/; revision=2495
Jason Stubbs [Fri, 30 Dec 2005 04:02:41 +0000 (04:02 -0000)]
Don't download distfiles when manifesting.
svn path=/main/trunk/; revision=2494
Jason Stubbs [Fri, 30 Dec 2005 03:34:30 +0000 (03:34 -0000)]
Don't print emaint warning for masked/non-existant packages. When using
--verbose, print a warning for those packages.
svn path=/main/trunk/; revision=2493
Jason Stubbs [Fri, 30 Dec 2005 03:25:27 +0000 (03:25 -0000)]
Remove tests for masked/unavailable packages.
svn path=/main/trunk/; revision=2492
Mike Frysinger [Thu, 29 Dec 2005 11:03:15 +0000 (11:03 -0000)]
tweak multiline whitespace display cause i'm anal like that
svn path=/main/trunk/; revision=2491
Brian Harring [Tue, 27 Dec 2005 13:15:47 +0000 (13:15 -0000)]
revert down to 2.3 python requirement via avoiding sorted
svn path=/main/trunk/; revision=2490
Brian Harring [Tue, 27 Dec 2005 06:12:38 +0000 (06:12 -0000)]
whitespace corrections, single space between funcs, double between class blocks...
svn path=/main/trunk/; revision=2489
Brian Harring [Tue, 27 Dec 2005 06:09:24 +0000 (06:09 -0000)]
linear unique_array lifted from saviour, lifted from a python cookbook.
svn path=/main/trunk/; revision=2488
Brian Harring [Tue, 27 Dec 2005 06:07:22 +0000 (06:07 -0000)]
ongoing portage_util cleanup.
removed grabint, writeint;
rewrote stack_list to use a dict rather then doing a crapload of linear searches.
svn path=/main/trunk/; revision=2487
Brian Harring [Tue, 27 Dec 2005 05:49:42 +0000 (05:49 -0000)]
bye bye crap grab_multiple function.
list comp just as easily handles it.
svn path=/main/trunk/; revision=2486
Jason Stubbs [Mon, 26 Dec 2005 23:31:58 +0000 (23:31 -0000)]
Modify portage's settings object rather than the original env.
svn path=/main/trunk/; revision=2485
Ned Ludd [Mon, 26 Dec 2005 22:01:15 +0000 (22:01 -0000)]
- add splitdebug FEATURE to make.conf.5
svn path=/main/trunk/; revision=2484
Ned Ludd [Mon, 26 Dec 2005 20:09:19 +0000 (20:09 -0000)]
- export env variable PORTAGE_QUIET when --quiet option is passed
svn path=/main/trunk/; revision=2483
Jason Stubbs [Mon, 26 Dec 2005 16:11:47 +0000 (16:11 -0000)]
Sanitize the root parameter specified to portageq.
svn path=/main/trunk/; revision=2482
Ned Ludd [Mon, 26 Dec 2005 16:03:02 +0000 (16:03 -0000)]
- add back in 1 newline after trimming all the extraneous ones
svn path=/main/trunk/; revision=2481
Ned Ludd [Mon, 26 Dec 2005 15:42:00 +0000 (15:42 -0000)]
- update fatal qa error handling
svn path=/main/trunk/; revision=2480
Jason Stubbs [Mon, 26 Dec 2005 15:32:44 +0000 (15:32 -0000)]
Export the ROOT environment variable when using functions that take a <root>
svn path=/main/trunk/; revision=2479
Brian Harring [Mon, 26 Dec 2005 07:40:45 +0000 (07:40 -0000)]
final cleanups for indirect distfiles, exempt fetch phase also.
svn path=/main/trunk/; revision=2478
Brian Harring [Mon, 26 Dec 2005 07:20:29 +0000 (07:20 -0000)]
don't generate the distfiles indirection for digest/manifest doebuild calls
svn path=/main/trunk/; revision=2477
Mike Frysinger [Mon, 26 Dec 2005 06:56:52 +0000 (06:56 -0000)]
quote a bit more
svn path=/main/trunk/; revision=2476
Mike Frysinger [Mon, 26 Dec 2005 06:55:19 +0000 (06:55 -0000)]
rename BUILDDIR to PORTAGE_BUILDDIR
svn path=/main/trunk/; revision=2475
Brian Harring [Mon, 26 Dec 2005 06:29:50 +0000 (06:29 -0000)]
'DISTFILES indirection; access $BUILDDIR/distdir instead of $DISTFILES , thus blocking unstated access.
svn path=/main/trunk/; revision=2474
Ned Ludd [Sun, 25 Dec 2005 21:31:29 +0000 (21:31 -0000)]
- consolidate noman noinfo nodoc into a simple loop and use INSTALL_MASK. Add debug to default list of MULTILIB_STRICT_EXEMPT=
svn path=/main/trunk/; revision=2473
Jason Stubbs [Sun, 25 Dec 2005 12:41:43 +0000 (12:41 -0000)]
Make dohtml return 1 when a passed file/dir doesn't exist.
svn path=/main/trunk/; revision=2472
Jason Stubbs [Sun, 25 Dec 2005 11:00:26 +0000 (11:00 -0000)]
Don't show any use flags when using --quiet.
svn path=/main/trunk/; revision=2471
Jason Stubbs [Sun, 25 Dec 2005 10:58:04 +0000 (10:58 -0000)]
Don't try to resolve deps of blockers when using --onlydeps.
svn path=/main/trunk/; revision=2470
Jason Stubbs [Sun, 25 Dec 2005 10:49:40 +0000 (10:49 -0000)]
Remove the now unnecessary USE="*" hack.
svn path=/main/trunk/; revision=2469
Jason Stubbs [Sun, 25 Dec 2005 10:37:56 +0000 (10:37 -0000)]
Allow overlays and the user profile to extend arch.list.
svn path=/main/trunk/; revision=2468
Ned Ludd [Sun, 25 Dec 2005 10:20:44 +0000 (10:20 -0000)]
- trim extraneous spaces tabs form feeds and newlines
svn path=/main/trunk/; revision=2467
Jason Stubbs [Sun, 25 Dec 2005 10:17:43 +0000 (10:17 -0000)]
Check for adequate spacing around "||", "(" and ")" tokens.
svn path=/main/trunk/; revision=2466
Brian Harring [Sun, 25 Dec 2005 10:05:12 +0000 (10:05 -0000)]
register_death_hook -> register_die_hook
thanks to axxo for the catch.
svn path=/main/trunk/; revision=2465
Brian Harring [Sun, 25 Dec 2005 10:01:45 +0000 (10:01 -0000)]
convert release notes over to upgrade information
svn path=/main/trunk/; revision=2464
Brian Harring [Sun, 25 Dec 2005 09:58:43 +0000 (09:58 -0000)]
news file, releasenotes data schlopped into it, plus couple of updates.
svn path=/main/trunk/; revision=2463
Brian Harring [Sun, 25 Dec 2005 09:42:12 +0000 (09:42 -0000)]
renaming the death hook registration func to register_die_hook
svn path=/main/trunk/; revision=2462
Ned Ludd [Sun, 25 Dec 2005 09:33:17 +0000 (09:33 -0000)]
- initial commit of post --sync hook. postsync.d to come at a later time
svn path=/main/trunk/; revision=2461
Jason Stubbs [Sun, 25 Dec 2005 09:11:52 +0000 (09:11 -0000)]
Include symlinks themselves when checking collision-protect.
svn path=/main/trunk/; revision=2460
Jason Stubbs [Sun, 25 Dec 2005 09:08:22 +0000 (09:08 -0000)]
Skip to next directory after one has been removed in unmerge().
svn path=/main/trunk/; revision=2459
Ned Ludd [Sun, 25 Dec 2005 09:01:05 +0000 (09:01 -0000)]
- use -n syntax like most of ebuild.sh
svn path=/main/trunk/; revision=2458
Jason Stubbs [Sun, 25 Dec 2005 08:39:22 +0000 (08:39 -0000)]
Only do one round of directory removal attempts. As symlinks are now removed
before directory removal begins, more than one round is unnecessary.
svn path=/main/trunk/; revision=2457
Ned Ludd [Sun, 25 Dec 2005 08:31:37 +0000 (08:31 -0000)]
- remove intermediate var entry
svn path=/main/trunk/; revision=2456
Jason Stubbs [Sun, 25 Dec 2005 08:04:56 +0000 (08:04 -0000)]
Factor out mtimedb saving code from portageexit() into a new commit_mtimedb
function and call that rather than portageexit() after package updates.
svn path=/main/trunk/; revision=2455
Jason Stubbs [Sun, 25 Dec 2005 07:42:00 +0000 (07:42 -0000)]
Use the env's PROMPT_COMMAND for resetting xterm titles when available.
Otherwise use ${user}@${hostname}:${cwd}.
svn path=/main/trunk/; revision=2454
Ned Ludd [Sun, 25 Dec 2005 07:27:56 +0000 (07:27 -0000)]
- only record vdb entries when the value is non null
svn path=/main/trunk/; revision=2453
Jason Stubbs [Sun, 25 Dec 2005 07:04:45 +0000 (07:04 -0000)]
Fix mishandling of masked atoms in || ( .. ) dependencies.
svn path=/main/trunk/; revision=2452
Jason Stubbs [Sun, 25 Dec 2005 04:41:07 +0000 (04:41 -0000)]
Fix typo in writeints()
svn path=/main/trunk/; revision=2450
Brian Harring [Sat, 24 Dec 2005 09:56:42 +0000 (09:56 -0000)]
bug 114133, write a tmp file then rename it for write* funcs.
This removes the possibility of out of space errors to occur, and blocks unexpected flat out bails (segfault fex) from hosing important files.
svn path=/main/trunk/; revision=2447
Jason Stubbs [Sat, 24 Dec 2005 09:20:35 +0000 (09:20 -0000)]
Limiting hashing to MD5 only until behaviour improves in the case of the
needed python module not being installed. #116485
svn path=/main/trunk/; revision=2446
Jason Stubbs [Sat, 24 Dec 2005 09:17:34 +0000 (09:17 -0000)]
Treat symlinks similar to regular files when unmerging and remove them if the
mtime matches rather than only removing them if the target is no longer valid.
svn path=/main/trunk/; revision=2445
Jason Stubbs [Sat, 24 Dec 2005 09:11:07 +0000 (09:11 -0000)]
Fix an incorrect variable reference triggered when using --fix and --check
together. Patch by Ashley Stovall. # 116576
svn path=/main/trunk/; revision=2444
Jason Stubbs [Fri, 23 Dec 2005 12:38:27 +0000 (12:38 -0000)]
Fix an incorrect comparision self-comparison in USE change calculation.
svn path=/main/trunk/; revision=2441
Jason Stubbs [Fri, 23 Dec 2005 11:55:31 +0000 (11:55 -0000)]
Check if the specified package follows correct syntax and error out if it
doesn't.
svn path=/main/trunk/; revision=2440
Jason Stubbs [Fri, 23 Dec 2005 02:46:03 +0000 (02:46 -0000)]
Generalize portage_util.dump_traceback() and make use of it if importing
a cache module fails.
svn path=/main/trunk/; revision=2439
Brian Harring [Thu, 22 Dec 2005 06:56:49 +0000 (06:56 -0000)]
if you're going to print an exception, bind the exception when you catch it
svn path=/main/trunk/; revision=2437
Mike Frysinger [Thu, 22 Dec 2005 03:47:48 +0000 (03:47 -0000)]
update date/version to stop people from pointless whining
svn path=/main/trunk/; revision=2434
Mike Frysinger [Thu, 22 Dec 2005 03:42:39 +0000 (03:42 -0000)]
finish syncing manpages between trunk/savior
svn path=/main/trunk/; revision=2433
Mike Frysinger [Thu, 22 Dec 2005 02:21:20 +0000 (02:21 -0000)]
quick sync manpages between trunk/savior
svn path=/main/trunk/; revision=2432
Jason Stubbs [Wed, 21 Dec 2005 16:10:13 +0000 (16:10 -0000)]
Added /dev/{stdin,stdout,stderr} to the default sandbox permissions.
svn path=/main/trunk/; revision=2429
Jason Stubbs [Wed, 21 Dec 2005 16:04:24 +0000 (16:04 -0000)]
Mention bugs.gentoo.org when asking the user to post config.log.
svn path=/main/trunk/; revision=2428
Jason Stubbs [Wed, 21 Dec 2005 16:00:43 +0000 (16:00 -0000)]
Separate masked and unavailable ebuilds and report that masked ebuilds can be
handled with package.keywords or package.unmask when they are detected.
svn path=/main/trunk/; revision=2427
Jason Stubbs [Wed, 21 Dec 2005 15:49:09 +0000 (15:49 -0000)]
Missing return on load_mod.
svn path=/main/trunk/; revision=2426
Jason Stubbs [Wed, 21 Dec 2005 15:43:45 +0000 (15:43 -0000)]
Make --skipfirst imply --resume.
svn path=/main/trunk/; revision=2425
Jason Stubbs [Wed, 21 Dec 2005 15:35:57 +0000 (15:35 -0000)]
Check that cache modules load correctly and fail if they don't.
svn path=/main/trunk/; revision=2424
Ned Ludd [Wed, 21 Dec 2005 15:27:25 +0000 (15:27 -0000)]
- make quiet really mean it
svn path=/main/trunk/; revision=2423
Jason Stubbs [Wed, 21 Dec 2005 15:12:17 +0000 (15:12 -0000)]
USE flags in the to-be-installed package's IUSE but not in currently installed
package's IUSE and not enabled were not being shown. USE_EXPAND variable names
were being shown in lower case rather than upper case.
svn path=/main/trunk/; revision=2422
Jason Stubbs [Wed, 21 Dec 2005 14:57:20 +0000 (14:57 -0000)]
Don't show enabled flags when not using --verbose if they haven't changed
since the last emerge. Show enabled flags in red rather than green if the
previously merged package didn't support them.
svn path=/main/trunk/; revision=2421
Jason Stubbs [Wed, 21 Dec 2005 14:50:02 +0000 (14:50 -0000)]
Push portage to the top of the system and world lists when updating.
svn path=/main/trunk/; revision=2420
Jason Stubbs [Wed, 21 Dec 2005 14:48:56 +0000 (14:48 -0000)]
Prevent traceback on fetcher failure and properly check for error conditions
when fetching remote binary packages. #116276
svn path=/main/trunk/; revision=2419
Jason Stubbs [Wed, 21 Dec 2005 14:46:37 +0000 (14:46 -0000)]
Fix an incorrect positional check in *DEPEND parsing.
svn path=/main/trunk/; revision=2418
Jason Stubbs [Wed, 21 Dec 2005 14:16:23 +0000 (14:16 -0000)]
Document the full-path-to-executable requirement on FETCHCOMMAND and
RESUMECOMMAND as well as the relevant substitution placeholders.
svn path=/main/trunk/; revision=2417
Mike Frysinger [Wed, 21 Dec 2005 00:09:47 +0000 (00:09 -0000)]
dont use string substitution as this operation can be quite slow on older bash versions (<=3.0) #116111
svn path=/main/trunk/; revision=2416
Jason Stubbs [Tue, 20 Dec 2005 14:49:01 +0000 (14:49 -0000)]
Remove old debugging related error message.
svn path=/main/trunk/; revision=2415
Marius Mauch [Tue, 20 Dec 2005 01:37:09 +0000 (01:37 -0000)]
update to work with the verbose error messages
svn path=/main/trunk/; revision=2414
Marius Mauch [Tue, 20 Dec 2005 01:31:45 +0000 (01:31 -0000)]
update with multi-hash stuff and verbose digest errormessages, remove some not-so-important information.
svn path=/main/trunk/; revision=2413
Marius Mauch [Mon, 19 Dec 2005 23:58:17 +0000 (23:58 -0000)]
Make digest errors more verbose
svn path=/main/trunk/; revision=2412
Marius Mauch [Mon, 19 Dec 2005 22:29:18 +0000 (22:29 -0000)]
adding multi-hash support
svn path=/main/trunk/; revision=2410
Marius Mauch [Mon, 19 Dec 2005 17:53:18 +0000 (17:53 -0000)]
quote vars inside PORTAGE_ELOG_COMMAND
svn path=/main/trunk/; revision=2409
Marius Mauch [Mon, 19 Dec 2005 17:39:13 +0000 (17:39 -0000)]
fix custom module (bug #116024)
svn path=/main/trunk/; revision=2408
Jason Stubbs [Mon, 19 Dec 2005 16:01:57 +0000 (16:01 -0000)]
Make the dep_zapdeps a little bit more readable.
svn path=/main/trunk/; revision=2407
Jason Stubbs [Mon, 19 Dec 2005 14:27:32 +0000 (14:27 -0000)]
Check if atoms are masked when scanning for which || ( ) atom/list to use.
svn path=/main/trunk/; revision=2406
Jason Stubbs [Mon, 19 Dec 2005 14:00:37 +0000 (14:00 -0000)]
Removed the now unnecessary dep_opconvert portage function.
svn path=/main/trunk/; revision=2405
Brian Harring [Mon, 19 Dec 2005 12:21:54 +0000 (12:21 -0000)]
further type -> isinstance cleanup in dep crap
svn path=/main/trunk/; revision=2404
Brian Harring [Mon, 19 Dec 2005 12:20:55 +0000 (12:20 -0000)]
moved cpv funcs out of the block of dep funcs, removed some type usage (use isinstance instead), and cleaned up some of the
more c like code so it's pythonic...
svn path=/main/trunk/; revision=2403
Brian Harring [Mon, 19 Dec 2005 11:48:46 +0000 (11:48 -0000)]
use spaces for space aligned text (kind of a duh)
svn path=/main/trunk/; revision=2402
Brian Harring [Mon, 19 Dec 2005 11:16:11 +0000 (11:16 -0000)]
added parallel-fetch in...
svn path=/main/trunk/; revision=2401
Jason Stubbs [Sun, 18 Dec 2005 16:41:37 +0000 (16:41 -0000)]
Add USE display when --verbose is not used. Only flags that are enabled,
have changed or are new but disabled are shown.
svn path=/main/trunk/; revision=2400
Jason Stubbs [Sun, 18 Dec 2005 16:13:45 +0000 (16:13 -0000)]
Restore previous --verbose USE flag style and prepare for a minimal flag
display for when not using --verbose.
svn path=/main/trunk/; revision=2399
Jason Stubbs [Sun, 18 Dec 2005 14:02:41 +0000 (14:02 -0000)]
Quick hack to work around the extra package lookups in porttree when checking
for issues in the world file. This restores the number of lookups to be equal
with xcreate before it was refactored. Further refactoring will improve style.
svn path=/main/trunk/; revision=2398
Brian Harring [Sun, 18 Dec 2005 11:38:55 +0000 (11:38 -0000)]
removed unnecessary reconstruct_eclasses import
svn path=/main/trunk/; revision=2397
Brian Harring [Sun, 18 Dec 2005 11:07:37 +0000 (11:07 -0000)]
parallel-fetch, baby.
svn path=/main/trunk/; revision=2396