Alec Warner [Wed, 10 Jan 2007 13:51:32 +0000 (13:51 -0000)]
add a few tips on adding tests, and kinks in the current system, I hope to fix the import bug soon
svn path=/main/trunk/; revision=5531
Alec Warner [Wed, 10 Jan 2007 13:45:50 +0000 (13:45 -0000)]
remove monolithic test
svn path=/main/trunk/; revision=5530
Alec Warner [Wed, 10 Jan 2007 13:45:27 +0000 (13:45 -0000)]
split out util tests
svn path=/main/trunk/; revision=5529
Alec Warner [Wed, 10 Jan 2007 13:38:08 +0000 (13:38 -0000)]
rename atoms back to vercmp
svn path=/main/trunk/; revision=5528
Alec Warner [Wed, 10 Jan 2007 13:37:46 +0000 (13:37 -0000)]
shift test cases around
svn path=/main/trunk/; revision=5527
Alec Warner [Wed, 10 Jan 2007 13:37:28 +0000 (13:37 -0000)]
shift test cases around
svn path=/main/trunk/; revision=5526
Alec Warner [Wed, 10 Jan 2007 13:35:03 +0000 (13:35 -0000)]
Take Genone's suggestion and break the modules up into module oriented fashion. Tests for portage.py go in portage/ and so on and so forth...
svn path=/main/trunk/; revision=5525
Alec Warner [Wed, 10 Jan 2007 12:52:55 +0000 (12:52 -0000)]
Fix Fail test
svn path=/main/trunk/; revision=5524
Zac Medico [Wed, 10 Jan 2007 12:50:49 +0000 (12:50 -0000)]
Make the tests pass.
svn path=/main/trunk/; revision=5523
Alec Warner [Wed, 10 Jan 2007 12:30:05 +0000 (12:30 -0000)]
rework test import code, rename test_vercmp to be more generic, add tests for =* glob matches
svn path=/main/trunk/; revision=5522
Zac Medico [Wed, 10 Jan 2007 11:41:09 +0000 (11:41 -0000)]
Use startwith to simplify =* matching.
svn path=/main/trunk/; revision=5521
Zac Medico [Wed, 10 Jan 2007 11:25:06 +0000 (11:25 -0000)]
Minor fixes for the =* operator (I hope we're done now :).
svn path=/main/trunk/; revision=5520
Marius Mauch [Wed, 10 Jan 2007 11:02:21 +0000 (11:02 -0000)]
I hate this thing
svn path=/main/trunk/; revision=5519
Marius Mauch [Wed, 10 Jan 2007 10:02:52 +0000 (10:02 -0000)]
minor performance improvement
svn path=/main/trunk/; revision=5518
Marius Mauch [Wed, 10 Jan 2007 09:50:19 +0000 (09:50 -0000)]
also sanitize mycpv for =* handling
svn path=/main/trunk/; revision=5517
Marius Mauch [Wed, 10 Jan 2007 09:40:43 +0000 (09:40 -0000)]
=* operator sucks
svn path=/main/trunk/; revision=5516
Marius Mauch [Wed, 10 Jan 2007 09:07:57 +0000 (09:07 -0000)]
Documenting the loop a bit
svn path=/main/trunk/; revision=5515
Marius Mauch [Wed, 10 Jan 2007 08:55:31 +0000 (08:55 -0000)]
Make the =* operator more robust
svn path=/main/trunk/; revision=5514
Marius Mauch [Wed, 10 Jan 2007 08:34:43 +0000 (08:34 -0000)]
Attach the problematic data to the exception for debugging
svn path=/main/trunk/; revision=5513
Marius Mauch [Wed, 10 Jan 2007 08:18:06 +0000 (08:18 -0000)]
Stupid me, shouldn't jsut move a part of the patch
svn path=/main/trunk/; revision=5512
Marius Mauch [Wed, 10 Jan 2007 08:08:18 +0000 (08:08 -0000)]
Always use vercmp for cpv comparisons
svn path=/main/trunk/; revision=5511
Marius Mauch [Wed, 10 Jan 2007 07:44:01 +0000 (07:44 -0000)]
Make env variable example about USE shell independent
svn path=/main/trunk/; revision=5510
Marius Mauch [Wed, 10 Jan 2007 06:18:13 +0000 (06:18 -0000)]
create symlinks to html documentation if DOC_SYMLINK_DIR is set, original patch by TGL <degrenier@easyconnect.fr> (bug #67130)
svn path=/main/trunk/; revision=5509
Marius Mauch [Wed, 10 Jan 2007 04:34:47 +0000 (04:34 -0000)]
make.globals has no business in profiles
svn path=/main/trunk/; revision=5508
Zac Medico [Wed, 10 Jan 2007 04:22:27 +0000 (04:22 -0000)]
For bug #160075, send all 'QA Notice' messages to eqawarn. Also, modify eqawarn to use vecho and send ouput to stderr.
svn path=/main/trunk/; revision=5507
Marius Mauch [Wed, 10 Jan 2007 03:24:21 +0000 (03:24 -0000)]
Add elog related variables to make.conf(5) with a pointer to make.conf.example. Add elog() description to ebuild(5) and update einfo() description.
svn path=/main/trunk/; revision=5506
Marius Mauch [Wed, 10 Jan 2007 02:26:43 +0000 (02:26 -0000)]
Update x86 CFLAGS section, original patch by Peter Gantner (bug #133402)
svn path=/main/trunk/; revision=5505
Marius Mauch [Wed, 10 Jan 2007 01:40:19 +0000 (01:40 -0000)]
Misc typo fixes, patch by Benno Schulenberg (bug #157812)
svn path=/main/trunk/; revision=5504
Zac Medico [Tue, 9 Jan 2007 22:23:22 +0000 (22:23 -0000)]
For bug #160971, rename dir.gz to dir.gz.old when necessary to avoid problems with install-info. Thanks to Ed Catmur <ed@catmur.co.uk> for the initial patch.
svn path=/main/trunk/; revision=5503
Zac Medico [Tue, 9 Jan 2007 20:34:27 +0000 (20:34 -0000)]
For bug #161003, disallow virtuals in package.provided and document it. Thanks to Robin Johnson <robbat2@gentoo.org> for the initial patch.
svn path=/main/trunk/; revision=5502
Zac Medico [Tue, 9 Jan 2007 18:54:09 +0000 (18:54 -0000)]
For bug #161103, don't skip collision-protect checks in cases where the beginning of the file path matches a symlink but is not acually inside a symlinked directory (check the path against symlink + os.path.sep).
svn path=/main/trunk/; revision=5499
Zac Medico [Tue, 9 Jan 2007 04:25:33 +0000 (04:25 -0000)]
Make digestgen() force fetch unless all required digest types are available. Thanks to jokey for reporting on irc.
svn path=/main/trunk/; revision=5496
Zac Medico [Tue, 9 Jan 2007 02:51:58 +0000 (02:51 -0000)]
Split PORTAGE_ELOG_CLASSES outside the loop for better efficiency.
svn path=/main/trunk/; revision=5495
Marius Mauch [Tue, 9 Jan 2007 02:35:45 +0000 (02:35 -0000)]
Update NEWS with eqawarn and 'ebuild foo test' changes
svn path=/main/trunk/; revision=5494
Alec Warner [Tue, 9 Jan 2007 02:18:21 +0000 (02:18 -0000)]
This file apparently uses spaces to line everything up pretty (I have weird tabs set, so spacies are good :P)
svn path=/main/trunk/; revision=5493
Alec Warner [Tue, 9 Jan 2007 02:12:00 +0000 (02:12 -0000)]
Okies this works locally for me now (and Zac)
svn path=/main/trunk/; revision=5492
Marius Mauch [Tue, 9 Jan 2007 01:56:04 +0000 (01:56 -0000)]
Mention new QA loglevel in make.conf.example
svn path=/main/trunk/; revision=5491
Marius Mauch [Tue, 9 Jan 2007 01:43:40 +0000 (01:43 -0000)]
Add new eqawarn function and QA loglevel to be used for QA messages
svn path=/main/trunk/; revision=5490
Alec Warner [Tue, 9 Jan 2007 01:34:18 +0000 (01:34 -0000)]
Zac pointed out that the retcodes would be wrong if stuff failed...Yeah...
svn path=/main/trunk/; revision=5489
Marius Mauch [Tue, 9 Jan 2007 01:23:08 +0000 (01:23 -0000)]
Disable qa_source usage until it actually works
svn path=/main/trunk/; revision=5488
Marius Mauch [Tue, 9 Jan 2007 01:21:19 +0000 (01:21 -0000)]
Always run src_test when calling 'ebuild foo test'
svn path=/main/trunk/; revision=5487
Marius Mauch [Tue, 9 Jan 2007 01:18:30 +0000 (01:18 -0000)]
Make PORTAGE_BASE_PATH dynamic based on __file__
svn path=/main/trunk/; revision=5486
Alec Warner [Mon, 8 Jan 2007 23:47:44 +0000 (23:47 -0000)]
Antarus sucks at bash, thanks for Genone for reporting this major bug.
svn path=/main/trunk/; revision=5485
Alec Warner [Mon, 8 Jan 2007 21:15:13 +0000 (21:15 -0000)]
Implement QA checks that attempt to detect changed shopts and IFS in ebuild/eclass/profile code. Spit a warning if that is the case. I expect this check will eventually reset the shopts and IFS, but in this case it may break things that depend on the current behavior
svn path=/main/trunk/; revision=5484
Zac Medico [Mon, 8 Jan 2007 16:20:31 +0000 (16:20 -0000)]
For bug #160893, ignore a KeyError during cache cleansing since that key isn't wanted anyway.
svn path=/main/trunk/; revision=5483
Zac Medico [Mon, 8 Jan 2007 05:27:14 +0000 (05:27 -0000)]
s/suffix/version prefix/ since it really is a prefix for the version string.
svn path=/main/trunk/; revision=5482
Zac Medico [Mon, 8 Jan 2007 05:09:43 +0000 (05:09 -0000)]
s/prefix/suffix/ Thanks to hydrogen for reporting on irc.
svn path=/main/trunk/; revision=5481
Zac Medico [Sun, 7 Jan 2007 17:59:24 +0000 (17:59 -0000)]
Don't automatically fix digests in --pretend mode.
svn path=/main/trunk/; revision=5480
Zac Medico [Sat, 6 Jan 2007 23:07:38 +0000 (23:07 -0000)]
Don't swallow an IOError if it is thrown from the aux_get call in portdbapi.getfetchlist().
svn path=/main/trunk/; revision=5478
Zac Medico [Sat, 6 Jan 2007 22:39:23 +0000 (22:39 -0000)]
Fix the digestentry.unused check so that it works properly when old-style files/digest-* don't exist.
svn path=/main/trunk/; revision=5477
Zac Medico [Sat, 6 Jan 2007 04:35:45 +0000 (04:35 -0000)]
For bug #160310, remove the line continuation syntax check since it's still possible for it to generate false positives.
svn path=/main/trunk/; revision=5471
Zac Medico [Sat, 6 Jan 2007 02:10:34 +0000 (02:10 -0000)]
For bug #160310, allow \ inside `` quotes in order to prevent a false Line continuation ("\") Syntax Error.
svn path=/main/trunk/; revision=5470
Mike Frysinger [Sat, 6 Jan 2007 01:36:44 +0000 (01:36 -0000)]
force C locale for now when parsing gcc log files #160234
svn path=/main/trunk/; revision=5469
Mike Frysinger [Sat, 6 Jan 2007 01:06:36 +0000 (01:06 -0000)]
revert previous changes ... ruby.eclass is wrongly polluting env with nullglob
svn path=/main/trunk/; revision=5468
Zac Medico [Sat, 6 Jan 2007 00:30:12 +0000 (00:30 -0000)]
Fix one more potential false glob match.
svn path=/main/trunk/; revision=5467
Zac Medico [Sat, 6 Jan 2007 00:16:59 +0000 (00:16 -0000)]
Fix shell glob logic that leads to false positives. Thanks to Flameeyes for reporting.
svn path=/main/trunk/; revision=5466
Zac Medico [Fri, 5 Jan 2007 22:39:59 +0000 (22:39 -0000)]
For bug #160299, make sure that emerge sees a somewhat valid COUNTER even when the counter is missing.
svn path=/main/trunk/; revision=5465
Zac Medico [Fri, 5 Jan 2007 11:29:15 +0000 (11:29 -0000)]
For python-2.3 compatibility, don't pass an iterable into dict.update().
svn path=/main/trunk/; revision=5464
Zac Medico [Fri, 5 Jan 2007 01:26:58 +0000 (01:26 -0000)]
Make repoman use portage.normalize_path instead of os.path.normpath. This might solve an issue with incorrect repolevel detection that was reported by drizzt.
svn path=/main/trunk/; revision=5463
Zac Medico [Thu, 4 Jan 2007 21:18:13 +0000 (21:18 -0000)]
Use -G instead of -g (typo from the previous commit).
svn path=/main/trunk/; revision=5462
Zac Medico [Thu, 4 Jan 2007 21:13:45 +0000 (21:13 -0000)]
As a workaround for bug #147625, spawn `id -g portage` in order to get a list of groups for the portage user without the need to call grp.getgrall().
svn path=/main/trunk/; revision=5461
Zac Medico [Thu, 4 Jan 2007 03:23:12 +0000 (03:23 -0000)]
Make sure that myid is defined for the previous commit.
svn path=/main/trunk/; revision=5459
Zac Medico [Thu, 4 Jan 2007 03:11:39 +0000 (03:11 -0000)]
When fetching metadata from a binhost, reconnect if the http server closes the connection before sending a valid response. Thanks to ranger for reporting.
svn path=/main/trunk/; revision=5458
Zac Medico [Thu, 4 Jan 2007 00:19:13 +0000 (00:19 -0000)]
Export EBUILD_PHASE="" when running misc-function.sh in order to prevent bogus phase values coming from ${T}/environment. Thanks to solar for reporting.
svn path=/main/trunk/; revision=5457
Zac Medico [Thu, 4 Jan 2007 00:06:39 +0000 (00:06 -0000)]
Implement distlocks for --getbinpkg so that it works properly when parallel-fetch is enabled. Thanks to Brent Baude <ranger@gentoo.org> for reporting.
svn path=/main/trunk/; revision=5456
Zac Medico [Wed, 3 Jan 2007 22:32:46 +0000 (22:32 -0000)]
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.
svn path=/main/trunk/; revision=5455
Zac Medico [Wed, 3 Jan 2007 22:30:58 +0000 (22:30 -0000)]
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.
svn path=/main/trunk/; revision=5454
Zac Medico [Wed, 3 Jan 2007 22:25:55 +0000 (22:25 -0000)]
Use os._exit instead of sys.exit in a forked child process.
svn path=/main/trunk/; revision=5453
Zac Medico [Wed, 3 Jan 2007 06:46:42 +0000 (06:46 -0000)]
When using the spawn's returnpid parameter, manually remove the returned pids from portage_exec.spawned_pids.
svn path=/main/trunk/; revision=5452
Marius Mauch [Wed, 3 Jan 2007 02:50:54 +0000 (02:50 -0000)]
undo
svn path=/main/trunk/; revision=5451
Marius Mauch [Wed, 3 Jan 2007 02:46:58 +0000 (02:46 -0000)]
Allow - in elog module names
svn path=/main/trunk/; revision=5450
Mike Frysinger [Wed, 3 Jan 2007 02:32:09 +0000 (02:32 -0000)]
add support for scanning of build logs for common issues #111436
svn path=/main/trunk/; revision=5449
Zac Medico [Tue, 2 Jan 2007 21:37:19 +0000 (21:37 -0000)]
Try to create DISTDIR before disabling fetch due to it's nonexistence. Thanks to astinus for reporting.
svn path=/main/trunk/; revision=5448
Zac Medico [Tue, 2 Jan 2007 10:42:50 +0000 (10:42 -0000)]
Optimize dep_zapdeps to work without a vartree when called by repoman.
svn path=/main/trunk/; revision=5444
Zac Medico [Tue, 2 Jan 2007 04:54:56 +0000 (04:54 -0000)]
Don't bother to list the contents of directories before they are unmerged since it triggers unnecessary stat calls. Thanks to James Cloos <cloos@jhcloos.com> for reporting.
svn path=/main/trunk/; revision=5443
Mike Frysinger [Tue, 2 Jan 2007 03:31:50 +0000 (03:31 -0000)]
merge all of the QA related checks together
svn path=/main/trunk/; revision=5442
Zac Medico [Tue, 2 Jan 2007 01:38:51 +0000 (01:38 -0000)]
Fix the writemsg noiselevel from the previous commit.
svn path=/main/trunk/; revision=5441
Zac Medico [Tue, 2 Jan 2007 01:30:24 +0000 (01:30 -0000)]
For bug #159638, fix the UnboundLocalError in vartree.getprovide().
svn path=/main/trunk/; revision=5440
Zac Medico [Sun, 31 Dec 2006 15:35:02 +0000 (15:35 -0000)]
For bug #159224, use separate xmatch caches for each value of ACCEPT_KEYWORDS.
svn path=/main/trunk/; revision=5438
Zac Medico [Sun, 31 Dec 2006 14:07:27 +0000 (14:07 -0000)]
Use slot atom matching to simplify detection of downgrades relative to installed packages.
svn path=/main/trunk/; revision=5437
Zac Medico [Sun, 31 Dec 2006 03:28:12 +0000 (03:28 -0000)]
For bug #159518, increase the "database is locked" timeout.
svn path=/main/trunk/; revision=5434
Zac Medico [Sun, 31 Dec 2006 00:35:49 +0000 (00:35 -0000)]
Send errors in elog_process() to stderr via writemsg.
svn path=/main/trunk/; revision=5433
Zac Medico [Sat, 30 Dec 2006 21:38:26 +0000 (21:38 -0000)]
Use return values instead of direct sys.exit(123) calls when a merge fails.
svn path=/main/trunk/; revision=5432
Zac Medico [Sat, 30 Dec 2006 21:14:55 +0000 (21:14 -0000)]
Use a try/finally block to ensure that the alarm will always be cancelled appropriately.
svn path=/main/trunk/; revision=5431
Zac Medico [Sat, 30 Dec 2006 21:02:43 +0000 (21:02 -0000)]
For bug #141361, use an alarm signal to implement a 1 minute timeout for processing inside an elog module.
svn path=/main/trunk/; revision=5430
Zac Medico [Sat, 30 Dec 2006 20:15:35 +0000 (20:15 -0000)]
Correct the package.mask lookup order in getmaskingreason().
svn path=/main/trunk/; revision=5429
Zac Medico [Sat, 30 Dec 2006 20:06:33 +0000 (20:06 -0000)]
For bug #151326, prevent invalid comments from being returned by portage.getmaskingreason().
svn path=/main/trunk/; revision=5428
Zac Medico [Sat, 30 Dec 2006 10:32:03 +0000 (10:32 -0000)]
Punt the abort_unpack() handler since it's pointless anyway.
svn path=/main/trunk/; revision=5425
Zac Medico [Sat, 30 Dec 2006 05:12:09 +0000 (05:12 -0000)]
Fix 'TypeError: unpack non-sequence' that occurs if myparent is None.
svn path=/main/trunk/; revision=5424
Zac Medico [Sat, 30 Dec 2006 04:49:02 +0000 (04:49 -0000)]
Do some small fixes to prevent slot collision nodes from interfering with the depgraph.
svn path=/main/trunk/; revision=5423
Zac Medico [Sat, 30 Dec 2006 04:11:33 +0000 (04:11 -0000)]
Improve the logic for bug #159360 to ensure that an actual upgrade is selected without any downgrades.
svn path=/main/trunk/; revision=5422
Zac Medico [Sat, 30 Dec 2006 03:54:36 +0000 (03:54 -0000)]
Be slightly more defensive when loading the vdb/blockers caches.
svn path=/main/trunk/; revision=5421
Zac Medico [Sat, 30 Dec 2006 03:15:10 +0000 (03:15 -0000)]
Sort the --info USE flags for bug #159161.
svn path=/main/trunk/; revision=5420
Zac Medico [Sat, 30 Dec 2006 02:27:29 +0000 (02:27 -0000)]
For bug #159360, make sure that the highest available new-style virtual is selected even if it has depes that aren't already installed.
svn path=/main/trunk/; revision=5419
Mike Frysinger [Sat, 30 Dec 2006 01:35:58 +0000 (01:35 -0000)]
detect incorrect absolute symlinks in libdirs
svn path=/main/trunk/; revision=5418
Mike Frysinger [Sat, 30 Dec 2006 01:21:56 +0000 (01:21 -0000)]
fixup style
svn path=/main/trunk/; revision=5417
Zac Medico [Fri, 29 Dec 2006 23:18:35 +0000 (23:18 -0000)]
Send stuff that's not a warning or error to stdout rather than stderr.
svn path=/main/trunk/; revision=5416
Ned Ludd [Fri, 29 Dec 2006 22:55:36 +0000 (22:55 -0000)]
- keep things quiet when uninstalling
svn path=/main/trunk/; revision=5415
Zac Medico [Fri, 29 Dec 2006 22:24:31 +0000 (22:24 -0000)]
Do some minor cleanup in the dep_zapdeps downgrade avoidance logic (while working toward a fix for bug #159360).
svn path=/main/trunk/; revision=5414
Zac Medico [Fri, 29 Dec 2006 11:10:28 +0000 (11:10 -0000)]
For bug #159310, don't show a slot collision notice if there are unresolvable blockers.
svn path=/main/trunk/; revision=5413