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
Mike Frysinger [Thu, 11 Jan 2007 22:30:19 +0000 (22:30 -0000)]
use cached suffix value and if it is not valid, lets warn
svn path=/main/trunk/; revision=5576
Mike Frysinger [Thu, 11 Jan 2007 22:28:23 +0000 (22:28 -0000)]
dont compress files that are already compressed and dont do sanity checking on the link dest as we cant properly verify things like absolute symlinks
svn path=/main/trunk/; revision=5575
Zac Medico [Thu, 11 Jan 2007 22:21:07 +0000 (22:21 -0000)]
Use a global to ensure that the valid_category regex is cached.
svn path=/main/trunk/; revision=5574
Alec Warner [Thu, 11 Jan 2007 21:52:33 +0000 (21:52 -0000)]
SpanKY likes the latin categories
svn path=/main/trunk/; revision=5573
Alec Warner [Thu, 11 Jan 2007 21:39:09 +0000 (21:39 -0000)]
learn to spell
svn path=/main/trunk/; revision=5572
Alec Warner [Thu, 11 Jan 2007 21:38:32 +0000 (21:38 -0000)]
Handle the exception in isvalidatom, change it to use a portage exceptoin, thanks to Zac for pointing this out
svn path=/main/trunk/; revision=5571
Alec Warner [Thu, 11 Jan 2007 21:32:33 +0000 (21:32 -0000)]
Fix comments for catpkgsplit
svn path=/main/trunk/; revision=5570
Alec Warner [Thu, 11 Jan 2007 21:29:50 +0000 (21:29 -0000)]
catch and validate new ValueError Exception
svn path=/main/trunk/; revision=5569
Alec Warner [Thu, 11 Jan 2007 21:29:22 +0000 (21:29 -0000)]
Valid categories in catpkgsplit
svn path=/main/trunk/; revision=5568
Alec Warner [Thu, 11 Jan 2007 21:18:03 +0000 (21:18 -0000)]
print the incorrect atom
svn path=/main/trunk/; revision=5567
Alec Warner [Thu, 11 Jan 2007 20:59:53 +0000 (20:59 -0000)]
add some invalid ops to getcpv to make sure it returns the cpv still
svn path=/main/trunk/; revision=5566
Zac Medico [Thu, 11 Jan 2007 20:39:53 +0000 (20:39 -0000)]
For bug #50738, inform the user about the location of the timestamp file and that it can be removed to force sync.
svn path=/main/trunk/; revision=5565
Alec Warner [Thu, 11 Jan 2007 20:37:05 +0000 (20:37 -0000)]
isjustname tests
svn path=/main/trunk/; revision=5564
Alec Warner [Thu, 11 Jan 2007 20:22:30 +0000 (20:22 -0000)]
elaborate a bit on isjustname()
svn path=/main/trunk/; revision=5563
Alec Warner [Thu, 11 Jan 2007 20:20:30 +0000 (20:20 -0000)]
getslot tests
svn path=/main/trunk/; revision=5562
Alec Warner [Thu, 11 Jan 2007 19:49:24 +0000 (19:49 -0000)]
I owed brian harring 3.50, for th previous advice about assertEqual/NotEqual, oh, add dep_getcpv tests too
svn path=/main/trunk/; revision=5561
Alec Warner [Thu, 11 Jan 2007 19:43:03 +0000 (19:43 -0000)]
take some advice and use AssertEqual/NotEqual
svn path=/main/trunk/; revision=5560
Alec Warner [Thu, 11 Jan 2007 19:28:14 +0000 (19:28 -0000)]
add some invalid operators to the test to denote that get_operator doesn't validate them, also make sure some common mis-typed things are tested (=> instead of >= fex)
svn path=/main/trunk/; revision=5559
Alec Warner [Thu, 11 Jan 2007 19:24:07 +0000 (19:24 -0000)]
get_operator tests
svn path=/main/trunk/; revision=5558
Alec Warner [Thu, 11 Jan 2007 19:06:52 +0000 (19:06 -0000)]
Commit unit tests, hey look THEY ARE BROKEN
svn path=/main/trunk/; revision=5557
Alec Warner [Thu, 11 Jan 2007 19:02:17 +0000 (19:02 -0000)]
docs for grabdict
svn path=/main/trunk/; revision=5556
Mike Frysinger [Thu, 11 Jan 2007 18:50:51 +0000 (18:50 -0000)]
add support for user-customizable compression #9870
svn path=/main/trunk/; revision=5555
Zac Medico [Thu, 11 Jan 2007 18:09:08 +0000 (18:09 -0000)]
Use dict.get() to prevent a potential (bug unlikely) KeyError.
svn path=/main/trunk/; revision=5554
Zac Medico [Thu, 11 Jan 2007 17:34:56 +0000 (17:34 -0000)]
Use isinstance(foo, basestring) so that it can work with unicode strings too.
svn path=/main/trunk/; revision=5553
Marius Mauch [Thu, 11 Jan 2007 10:08:51 +0000 (10:08 -0000)]
Add note that any value enables EPAUSE_IGNORE
svn path=/main/trunk/; revision=5552
Marius Mauch [Thu, 11 Jan 2007 09:09:34 +0000 (09:09 -0000)]
Make FEATURES=test imply USE=test
svn path=/main/trunk/; revision=5551
Marius Mauch [Thu, 11 Jan 2007 09:07:22 +0000 (09:07 -0000)]
continue is only for loops
svn path=/main/trunk/; revision=5550
Alec Warner [Thu, 11 Jan 2007 09:03:18 +0000 (09:03 -0000)]
add stack_lists checks
svn path=/main/trunk/; revision=5549
Marius Mauch [Thu, 11 Jan 2007 08:47:50 +0000 (08:47 -0000)]
Extend ignore filter for grablines (bug #144445)
svn path=/main/trunk/; revision=5548
Alec Warner [Thu, 11 Jan 2007 08:45:13 +0000 (08:45 -0000)]
More portage_util tests
svn path=/main/trunk/; revision=5547
Marius Mauch [Thu, 11 Jan 2007 08:22:51 +0000 (08:22 -0000)]
Don't escape strings in PortageException as that breaks newline handling (bug 147785)
svn path=/main/trunk/; revision=5546
Marius Mauch [Thu, 11 Jan 2007 07:52:57 +0000 (07:52 -0000)]
Rename 'Last Sync' to 'Timestamp of tree' to clarify the meaning (bug #150051)
svn path=/main/trunk/; revision=5545
Marius Mauch [Thu, 11 Jan 2007 07:19:34 +0000 (07:19 -0000)]
Add 'stricter' description, misc typo fixes, patch by Max Lorenz (bug #153755)
svn path=/main/trunk/; revision=5544
Marius Mauch [Thu, 11 Jan 2007 07:10:27 +0000 (07:10 -0000)]
Update CCACHE docs, patch by Ryan Hill (bug #156865)
svn path=/main/trunk/; revision=5543
Marius Mauch [Thu, 11 Jan 2007 06:58:36 +0000 (06:58 -0000)]
Remove RESTRICT=sandbox docs until bug #161045 is resolved
svn path=/main/trunk/; revision=5542
Zac Medico [Thu, 11 Jan 2007 06:18:50 +0000 (06:18 -0000)]
Remove / character from module names.
svn path=/main/trunk/; revision=5541
Alec Warner [Thu, 11 Jan 2007 05:29:35 +0000 (05:29 -0000)]
more test re-arranging as Alec can't read what functions are in what files
svn path=/main/trunk/; revision=5540
Alec Warner [Thu, 11 Jan 2007 05:12:06 +0000 (05:12 -0000)]
edit test-notes
svn path=/main/trunk/; revision=5539
Alec Warner [Thu, 11 Jan 2007 05:10:12 +0000 (05:10 -0000)]
remove bogs test dir, add portage_versions
svn path=/main/trunk/; revision=5538
Alec Warner [Thu, 11 Jan 2007 05:09:38 +0000 (05:09 -0000)]
Add a bit of path mangling to allow deeper tests
svn path=/main/trunk/; revision=5537
Zac Medico [Wed, 10 Jan 2007 23:53:23 +0000 (23:53 -0000)]
Rename depgraph._invalid_depgraph_is_acceptable() to _accept_collisions() for a better description.
svn path=/main/trunk/; revision=5536
Zac Medico [Wed, 10 Jan 2007 23:46:57 +0000 (23:46 -0000)]
Don't allow slot collision nodes to block other packages since blocker validation is only able to account for one package per slot.
svn path=/main/trunk/; revision=5535
Zac Medico [Wed, 10 Jan 2007 23:29:43 +0000 (23:29 -0000)]
For bug #161422, make slot collisions non-fatal in cases where an invalid depgraph is acceptable (--fetchonly, for example).
svn path=/main/trunk/; revision=5534
Zac Medico [Wed, 10 Jan 2007 21:13:43 +0000 (21:13 -0000)]
Fix sys.path so that imports work correctly.
svn path=/main/trunk/; revision=5533
Zac Medico [Wed, 10 Jan 2007 18:46:35 +0000 (18:46 -0000)]
Fix module loading.
svn path=/main/trunk/; revision=5532
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