fuzzyray [Wed, 20 May 2009 21:46:46 +0000 (21:46 -0000)]
Change behaviour of getMinUpgrade
This allows to differentiate between situations where
the system is unaffected and unexistance of an upgrade path.
Previously, the glsa-check would treat GLSAs that had no
upgrade path (such as mask glsas) as not affecting the system.
svn path=/trunk/gentoolkit/; revision=647
fuzzyray [Wed, 20 May 2009 21:44:13 +0000 (21:44 -0000)]
Some python tweaks to speed glsa-check
svn path=/trunk/gentoolkit/; revision=646
fuzzyray [Wed, 20 May 2009 21:35:12 +0000 (21:35 -0000)]
Handle unicode encoding when dumping to stdout and start migration to using StringIO
svn path=/trunk/gentoolkit/; revision=645
fuzzyray [Wed, 20 May 2009 14:27:01 +0000 (14:27 -0000)]
Create a VERSION file to replace /etc/gentoolkit-version
svn path=/trunk/gentoolkit/; revision=642
fuzzyray [Mon, 18 May 2009 21:16:30 +0000 (21:16 -0000)]
Update revdep-rebuild man page
svn path=/trunk/gentoolkit/; revision=641
fuzzyray [Mon, 18 May 2009 20:05:37 +0000 (20:05 -0000)]
Remove obsolete gentoolkit src directory
svn path=/trunk/gentoolkit/; revision=640
fuzzyray [Thu, 7 May 2009 22:15:50 +0000 (22:15 -0000)]
Add patch from Robert Buchholz: Add quiet option
Incorporate option to quiet down glsa-check, based on a patch by Thilo
Bangert <bangert@gentoo.org> in bug #170784.
This option will also suppress sending of empty mail, based on a patch
by Christian Gut <cycloon@is-root.org> in bug #182990.
svn path=/trunk/gentoolkit/; revision=633
fuzzyray [Thu, 7 May 2009 22:12:47 +0000 (22:12 -0000)]
Add patch from Robert Buchholz: Call CAN ids CVE ids as there is no differentiation anymore today.
svn path=/trunk/gentoolkit/; revision=632
fuzzyray [Thu, 7 May 2009 22:09:19 +0000 (22:09 -0000)]
Add patch from Robert Buchholz: Sort glsa list output.
svn path=/trunk/gentoolkit/; revision=631
fuzzyray [Thu, 7 May 2009 22:07:50 +0000 (22:07 -0000)]
Add patch from Robert Buchholz: Use summarylist() to format output so we get colours and a list of all affected packages
svn path=/trunk/gentoolkit/; revision=630
fuzzyray [Thu, 7 May 2009 22:01:50 +0000 (22:01 -0000)]
Add patch from Robert Buchholz:
Backport SLOT support from Portage 2.2 glsa.py
In particular, this is a port of these commits:
commit
856616597ee791efa42dd59760db8e50e72efffd
Author: zmedico <zmedico@
ac592a22-f3fe-0310-977e-
98394eae9e84>
Date: Wed Oct 8 22:35:31 2008 +0000
Fix apparent breakage from r11593 (slot dep support):
* Handle KeyError from element.getAttribute() in makeAtom() and
* makeVersion().
* Avoid 'sre_constants.error: unmatched group' exceptions in
* revisionMatch()
when the atom does not have a slot.
svn path=/trunk/gentoolkit/; revision=629
fuzzyray [Thu, 7 May 2009 21:59:54 +0000 (21:59 -0000)]
Add patch from Robert Buchholz: Reformat '2008-01-01' dates to 'January 01, 2008' to keep output consistent.
svn path=/trunk/gentoolkit/; revision=628
fuzzyray [Thu, 7 May 2009 21:59:25 +0000 (21:59 -0000)]
Add patch from Robert Buchholz: Allow GLSA 2 DTD in doctype declaration
svn path=/trunk/gentoolkit/; revision=627
fuzzyray [Thu, 7 May 2009 21:58:49 +0000 (21:58 -0000)]
Add patch from Robert Buchholz: Respect count attribute in GLSA-2, based on a patch by Michael A. Smith in https://bugs.gentoo.org/218312
svn path=/trunk/gentoolkit/; revision=626
fuzzyray [Thu, 7 May 2009 21:58:13 +0000 (21:58 -0000)]
Add patch from antarus: Run pychecker over everything, fix obvious things like modules not in use, variables not being used, or global exceptions not being deleted. Also fix imports for style (1 per line)
svn path=/trunk/gentoolkit/; revision=625
fuzzyray [Thu, 7 May 2009 21:17:07 +0000 (21:17 -0000)]
Add patch from djanderson to make meta get and check package dirs in a manner similar to other gentoolkit scripts and fix some docstrings. (Bug 268895)
svn path=/trunk/gentoolkit/; revision=619
fuzzyray [Wed, 6 May 2009 20:47:10 +0000 (20:47 -0000)]
Revert EPREFIX patch commited in rev 610
svn path=/trunk/gentoolkit/; revision=614
fuzzyray [Wed, 6 May 2009 19:41:54 +0000 (19:41 -0000)]
Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles.exclude. (Bug 241600)
svn path=/trunk/gentoolkit/; revision=610
fuzzyray [Tue, 5 May 2009 21:30:51 +0000 (21:30 -0000)]
Add patch from kojiro to remove permission check on temporary directory. (Bug 203414)
svn path=/trunk/gentoolkit/; revision=602
fuzzyray [Tue, 5 May 2009 21:15:19 +0000 (21:15 -0000)]
Remove unused man page for genpkgindex
svn path=/trunk/gentoolkit/; revision=601
fuzzyray [Tue, 5 May 2009 21:04:27 +0000 (21:04 -0000)]
Update to most recent versions and add changes from djanderson
svn path=/trunk/gentoolkit/; revision=599
fuzzyray [Tue, 5 May 2009 20:24:30 +0000 (20:24 -0000)]
Add Makefile to create distfiles. Update ChangeLog to acknowledge djanderson. Update version in setup.py to generic version
svn path=/trunk/gentoolkit/; revision=598
fuzzyray [Tue, 5 May 2009 19:56:37 +0000 (19:56 -0000)]
Initial MANIFEST.in
svn path=/trunk/gentoolkit/; revision=597
fuzzyray [Tue, 5 May 2009 19:48:41 +0000 (19:48 -0000)]
Initial MANIFEST.in
svn path=/trunk/gentoolkit/; revision=596
fuzzyray [Tue, 5 May 2009 18:36:45 +0000 (18:36 -0000)]
Update download_url to point to distfiles.gentoo.org
svn path=/trunk/gentoolkit/; revision=595
fuzzyray [Tue, 5 May 2009 17:39:24 +0000 (17:39 -0000)]
Rearrange trunk to support gentoolkit version 0.3. Split into gentoolkit, gentoolkit-dev, and deprecated. Import djanderson's work on the gentoolkit library and equery
svn path=/trunk/gentoolkit/; revision=589
idl0r [Tue, 5 May 2009 03:50:36 +0000 (03:50 -0000)]
Add some useful informations when using $EDITOR.
svn path=/; revision=587
idl0r [Tue, 5 May 2009 03:44:22 +0000 (03:44 -0000)]
Added test targets for echangelog.
svn path=/; revision=586
idl0r [Tue, 5 May 2009 03:35:00 +0000 (03:35 -0000)]
Warn if $vcs has not been found. Minor cleanup.
svn path=/; revision=585
fuzzyray [Tue, 5 May 2009 03:24:10 +0000 (03:24 -0000)]
Remove genpkgindex and gensync from distribution
svn path=/; revision=584
fuzzyray [Tue, 5 May 2009 02:57:27 +0000 (02:57 -0000)]
Remove echangelog.pod, we will maintain the man page directly
svn path=/; revision=583
fuzzyray [Tue, 5 May 2009 02:55:33 +0000 (02:55 -0000)]
Add test subdirectory to echanglog
svn path=/; revision=582
fuzzyray [Tue, 5 May 2009 01:49:58 +0000 (01:49 -0000)]
Add patch from kojiro to clean binary package metadata (Bug #266996 and to clean up inconsistent error messages (Bug #268513)
svn path=/; revision=581
fuzzyray [Tue, 5 May 2009 01:44:42 +0000 (01:44 -0000)]
Add patch from kojiro to support keyword removal and all
svn path=/; revision=580
idl0r [Mon, 4 May 2009 22:10:26 +0000 (22:10 -0000)]
Fixed bug 256013 and bug 256103, thanks to William Arlofski, Michael A. Smith and Andrey Kislyuk.
Whitespace.
svn path=/; revision=579
idl0r [Mon, 4 May 2009 20:23:05 +0000 (20:23 -0000)]
Fixed keyword sorting.
svn path=/; revision=578
idl0r [Mon, 4 May 2009 17:36:12 +0000 (17:36 -0000)]
Respect profiles/arch.list.
svn path=/; revision=577
idl0r [Sat, 2 May 2009 13:51:12 +0000 (13:51 -0000)]
Whitespace.
svn path=/; revision=576
idl0r [Sat, 2 May 2009 12:17:14 +0000 (12:17 -0000)]
Fixed text_fill, \h is just available in perl >= 5.10 so use hex instead, thanks to ohnobinki.
svn path=/; revision=575
idl0r [Fri, 1 May 2009 22:30:00 +0000 (22:30 -0000)]
Don't eat newline, bug 264146.
svn path=/; revision=574
idl0r [Fri, 1 May 2009 22:01:53 +0000 (22:01 -0000)]
Removed duplicate sort call.
svn path=/; revision=573
idl0r [Fri, 1 May 2009 20:21:50 +0000 (20:21 -0000)]
Define a action if no files have been changed, thanks to grobian. That should prevent "Use of uninitialized value in concatenation" warnings.
svn path=/; revision=572
idl0r [Fri, 1 May 2009 19:11:27 +0000 (19:11 -0000)]
Fixed stty call.
svn path=/; revision=571
idl0r [Fri, 1 May 2009 19:03:07 +0000 (19:03 -0000)]
Respect $PATH while looking for git, thanks to grobian.
svn path=/; revision=570
fuzzyray [Fri, 1 May 2009 17:39:18 +0000 (17:39 -0000)]
Add GLEP 53 keywords sorting patch from prefix
svn path=/; revision=569
fuzzyray [Fri, 1 May 2009 17:33:51 +0000 (17:33 -0000)]
Fix typo in Makefile
svn path=/; revision=568
fuzzyray [Fri, 1 May 2009 14:48:36 +0000 (14:48 -0000)]
Add ekeyword rewritten in python to repo
svn path=/; revision=567
fuzzyray [Fri, 1 May 2009 14:39:55 +0000 (14:39 -0000)]
Add patch from kojiro to improve bash syntax
svn path=/; revision=566
idl0r [Thu, 30 Apr 2009 21:30:51 +0000 (21:30 -0000)]
Added support for project-wide variables as suggested in bug 213374. Improved environment handling.
svn path=/; revision=561
idl0r [Thu, 30 Apr 2009 15:06:15 +0000 (15:06 -0000)]
Fixed git detection.
svn path=/; revision=556
fuzzyray [Thu, 30 Apr 2009 14:22:10 +0000 (14:22 -0000)]
Add patch from loki_val to check -l dependencies in .la files (Bug #267898)
svn path=/; revision=555
idl0r [Wed, 29 Apr 2009 12:35:23 +0000 (12:35 -0000)]
Fixed indent, migrated to tabs and fixed vim modeline. Cleanup.
svn path=/; revision=554
idl0r [Wed, 29 Apr 2009 10:54:15 +0000 (10:54 -0000)]
Fixed svn mv/cp detection.
svn path=/; revision=553
fuzzyray [Tue, 28 Apr 2009 16:03:35 +0000 (16:03 -0000)]
Update echangelog with updates from idl0r
svn path=/; revision=552
fuzzyray [Tue, 28 Apr 2009 15:45:40 +0000 (15:45 -0000)]
Add initial test suite from idl0r
svn path=/; revision=551
fuzzyray [Sat, 25 Apr 2009 04:16:20 +0000 (04:16 -0000)]
Fix bug with multiline KEYWORDS processing
svn path=/; revision=550
fuzzyray [Fri, 24 Apr 2009 16:37:09 +0000 (16:37 -0000)]
Fix ekeyword to handle multiline KEYWORDS
svn path=/; revision=549
zmedico [Sat, 21 Feb 2009 01:59:02 +0000 (01:59 -0000)]
Inside summarylist(), it's possible for myglsa.packages.keys() to contain
unicode objects, which trigger and exception like this:
File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__
obj_setattr(self, x, getattr(s, x))
AttributeError: 'unicode' object has no attribute '__eq__'
To solve this problem, convert unicode objects to plain str before passing
them to the portage api. Thanks to Ned Ludd <solar@g.o> for reporting.
svn path=/; revision=548
fuzzyray [Wed, 18 Feb 2009 22:05:44 +0000 (22:05 -0000)]
Fix typo in normalize_emerge_opts(). Bug #259526
svn path=/; revision=547
fuzzyray [Mon, 16 Feb 2009 20:07:03 +0000 (20:07 -0000)]
Fix 'Use of uninitialized value' error when processing modified ebuilds
svn path=/; revision=546
vapier [Sun, 15 Feb 2009 20:51:01 +0000 (20:51 -0000)]
document new options
svn path=/; revision=545
vapier [Sun, 15 Feb 2009 20:47:41 +0000 (20:47 -0000)]
add real --help/--version handling
svn path=/; revision=544
vapier [Sun, 15 Feb 2009 20:19:58 +0000 (20:19 -0000)]
always update the first line that includes the category/package as it isnt uncommon for this to fall out of date (as with package moves)
svn path=/; revision=543
vapier [Sun, 15 Feb 2009 19:50:14 +0000 (19:50 -0000)]
fix copyright to start at 1999 as that is what all the skels start with
svn path=/; revision=542
vapier [Sun, 15 Feb 2009 19:47:03 +0000 (19:47 -0000)]
set svn:executable
svn path=/; revision=541
vapier [Tue, 20 Jan 2009 02:57:26 +0000 (02:57 -0000)]
tighten up output
svn path=/; revision=540
vapier [Tue, 20 Jan 2009 02:44:44 +0000 (02:44 -0000)]
set svn:executable
svn path=/; revision=539
fuzzyray [Fri, 9 Jan 2009 04:43:01 +0000 (04:43 -0000)]
Fix for package.py to account for PORTDIR being a symbolic link when checking if a package is in an overlay.
svn path=/; revision=538
fuzzyray [Fri, 9 Jan 2009 04:20:48 +0000 (04:20 -0000)]
Fix package.py to account for PORTDIR being a symbolic link when checking if a package is in an overlay. (Bug #253968)
svn path=/; revision=537
zmedico [Wed, 7 Jan 2009 10:46:21 +0000 (10:46 -0000)]
Inside find_all_packages(), move the unique_array() call out of the loop.
This makes a big performance difference. Thanks to DJ Anderson for reporting.
svn path=/; revision=536
vapier [Wed, 7 Jan 2009 05:40:13 +0000 (05:40 -0000)]
convert whitespace to tabs
svn path=/; revision=535
vapier [Wed, 7 Jan 2009 05:37:15 +0000 (05:37 -0000)]
Tighten up diff output to show KEYWORDS changes
svn path=/; revision=534
vapier [Wed, 7 Jan 2009 05:35:04 +0000 (05:35 -0000)]
Error out on invalid arguments #156827
svn path=/; revision=533
vapier [Wed, 7 Jan 2009 05:16:44 +0000 (05:16 -0000)]
Convert every instance of KEYWORDS in the file
svn path=/; revision=532
vapier [Wed, 7 Jan 2009 05:16:03 +0000 (05:16 -0000)]
Support intended KEYWORDS
svn path=/; revision=531
vapier [Tue, 6 Jan 2009 10:10:01 +0000 (10:10 -0000)]
set svn:executable
svn path=/; revision=530
zmedico [Sun, 14 Dec 2008 04:08:42 +0000 (04:08 -0000)]
When calling sys.exit() inside die(), don't make the value negative since
it seems to be unintended (callers all pass in positive values). Thanks
to DJ Anderson for reporting.
svn path=/; revision=529
betelgeuse [Sat, 13 Dec 2008 22:10:53 +0000 (22:10 -0000)]
Add man page documentation for the runtime state files. Fixes bug #243304.
svn path=/; revision=528
zmedico [Fri, 5 Dec 2008 23:51:13 +0000 (23:51 -0000)]
Bug #239000 - Improve the message about 'remaining inconsistencies'.
svn path=/; revision=527
zmedico [Fri, 5 Dec 2008 22:51:39 +0000 (22:51 -0000)]
Bug #249652 - Add IUSE defaults support inside CmdFindUSEs.perform().
svn path=/; revision=526
fuzzyray [Tue, 2 Dec 2008 15:50:30 +0000 (15:50 -0000)]
Apply regex fixes from idl0r
svn path=/; revision=525
betelgeuse [Thu, 27 Nov 2008 13:52:01 +0000 (13:52 -0000)]
Add support for showing USE_EXPAND variables. Patch from Michael A. Smith <michael@smith-li.com>. Fixes bug #238005.
svn path=/; revision=524
fuzzyray [Wed, 26 Nov 2008 19:42:41 +0000 (19:42 -0000)]
Add comment on how to add support for USE_EXPANDED variables
svn path=/; revision=523
fuzzyray [Tue, 25 Nov 2008 16:53:11 +0000 (16:53 -0000)]
Change awk calls to gawk for non-linux system compatibility
svn path=/; revision=522
fuzzyray [Mon, 24 Nov 2008 19:10:42 +0000 (19:10 -0000)]
Added patch from igli to fix find command.
svn path=/; revision=521
fuzzyray [Tue, 11 Nov 2008 19:36:02 +0000 (19:36 -0000)]
Fix processing of virtual category (Bug 179530)
svn path=/; revision=520
fuzzyray [Tue, 11 Nov 2008 19:03:17 +0000 (19:03 -0000)]
Add strict option to echangelog to exit when no changed ebuilds found. (Bug 246226)
svn path=/; revision=519
fuzzyray [Fri, 7 Nov 2008 22:11:19 +0000 (22:11 -0000)]
Fix echangelog to properly identify added ebuilds. (Bug #176337)
svn path=/; revision=518
fuzzyray [Fri, 7 Nov 2008 15:12:33 +0000 (15:12 -0000)]
Fix git support to work with git 1.6 (Bug #199805)
svn path=/; revision=517
fuzzyray [Wed, 17 Sep 2008 18:20:16 +0000 (18:20 -0000)]
Fix check_sanity function to use get_all_make_defaults function when checking for the make.defaults files in the profile. (Bug #233651)
svn path=/; revision=515
fuzzyray [Wed, 3 Sep 2008 20:17:45 +0000 (20:17 -0000)]
Remove debug print statement in equery belongs command (Bug #236483)
svn path=/; revision=513
fuzzyray [Wed, 3 Sep 2008 20:13:55 +0000 (20:13 -0000)]
Fix depgraph function to print out dependencies that don't resolve to a package (Bug #236492)
svn path=/; revision=512
fuzzyray [Wed, 3 Sep 2008 20:00:18 +0000 (20:00 -0000)]
Change find_best_match to use the portage tree instaed of the vartree
svn path=/; revision=511
fuzzyray [Tue, 26 Aug 2008 19:51:33 +0000 (19:51 -0000)]
Fix has_key() deprecation message. (Bug #232797)
svn path=/; revision=509
fuzzyray [Tue, 26 Aug 2008 19:46:19 +0000 (19:46 -0000)]
Update fix for Bug 232270 to utilize better patch from Ian Abbott.
svn path=/; revision=508
fuzzyray [Fri, 22 Aug 2008 21:38:27 +0000 (21:38 -0000)]
Fix find_packages and find_installed_packages to print a warning instead of a traceback when an InvalidAtom exception occurs. (Bug #234358)
svn path=/; revision=507
fuzzyray [Fri, 22 Aug 2008 21:14:36 +0000 (21:14 -0000)]
Fix gentoolkit.split_package_name to work when portage.catpkgsplit returns None
svn path=/; revision=506
fuzzyray [Fri, 22 Aug 2008 20:14:08 +0000 (20:14 -0000)]
Fix equery belongs to strip multiple slashes from path names. (Bug #234584)
svn path=/; revision=505
fuzzyray [Fri, 22 Aug 2008 19:03:08 +0000 (19:03 -0000)]
Change TMPDIR references to WORKING_DIR in messages
svn path=/; revision=504
fuzzyray [Thu, 21 Aug 2008 22:01:11 +0000 (22:01 -0000)]
Finish changes as outlined in bug #203414, Comment 19. Normal users use mktemp, root uses /var/cache/revdep-rebuild
svn path=/; revision=503