idl0r [Mon, 26 Oct 2009 08:52:01 +0000 (08:52 -0000)]
Update ChangeLog :)
svn path=/trunk/gentoolkit/; revision=692
idl0r [Mon, 26 Oct 2009 08:47:45 +0000 (08:47 -0000)]
Don't add an additional new line at the end of file.
svn path=/trunk/gentoolkit/; revision=691
rbu [Tue, 18 Aug 2009 18:25:59 +0000 (18:25 -0000)]
Remove 'new' target from glsa-list
Everyone should use 'affected' or 'all'
Update man page and changelog
svn path=/trunk/gentoolkit/; revision=672
rbu [Tue, 18 Aug 2009 17:47:32 +0000 (17:47 -0000)]
getminupgrade: fix documentation and backtrace
Bug 281101: Fix a backtrace introduced in r647. in getminupgrade the
rValue variable was still leftover and was used in a check when
glsa-check was run in --emergelike mode and more than one upgrade atoms
existed.
Also, update the API documentation to reflect changes back then.
svn path=/trunk/gentoolkit/; revision=671
rbu [Tue, 18 Aug 2009 17:47:20 +0000 (17:47 -0000)]
Make --pretend output in glsa-check nicer. Add colors and fix linebreaks.
svn path=/trunk/gentoolkit/; revision=670
fuzzyray [Mon, 22 Jun 2009 20:45:49 +0000 (20:45 -0000)]
Fix traceback with glsa-check -f (Bug 275105)
svn path=/trunk/gentoolkit/; revision=665
fuzzyray [Sat, 6 Jun 2009 02:54:19 +0000 (02:54 -0000)]
Add patch from Sebastian Mingramm to Make epkginfo slot aware and only print keywords for the highest visible versions in each slot. (Bug 232635)
svn path=/trunk/gentoolkit/; revision=662
fuzzyray [Thu, 4 Jun 2009 23:28:51 +0000 (23:28 -0000)]
Update with rev 9 from the genscripts repo
svn path=/trunk/gentoolkit/; revision=661
fuzzyray [Thu, 4 Jun 2009 00:14:38 +0000 (00:14 -0000)]
Add copyright information from original pkgcore.ebuild.atom_restricts package
svn path=/trunk/gentoolkit/; revision=660
fuzzyray [Wed, 3 Jun 2009 23:04:31 +0000 (23:04 -0000)]
Apply updates from genscripts repo
svn path=/trunk/gentoolkit/; revision=659
rbu [Tue, 26 May 2009 09:16:27 +0000 (09:16 -0000)]
Use elementtree instead of minidom for parsing
This will speed up glsa-check by a factor of 2-3 and also solves
bug 231146, missing characters in output.
svn path=/trunk/gentoolkit/; revision=654
rbu [Mon, 25 May 2009 21:44:52 +0000 (21:44 -0000)]
Merge "Fixed bug 256013 and bug 256103, thanks to William Arlofski, Michael A. Smith and Andrey Kislyuk. Whitespace."
This was r579 by idl0r, but applied to the wrong paths in trunk.
From: idl0r <idl0r@
e84c3a59-eaf8-0310-85df-
8a9fcd7b4891>
Date: Mon, 4 May 2009 22:10:26 +0000
Subject: Fixed bug 256013 and bug 256103, thanks to William Arlofski,
Michael A. Smith and Andrey Kislyuk. Whitespace.
git-svn-id:
svn://anonsvn.gentoo.org/gentoolkit/trunk/src/glsa-check@579
e84c3a59-eaf8-0310-85df-
8a9fcd7b4891
svn path=/trunk/gentoolkit/; revision=653
rbu [Mon, 25 May 2009 21:43:31 +0000 (21:43 -0000)]
Make bin files executable
svn path=/trunk/gentoolkit/; revision=652
fuzzyray [Thu, 21 May 2009 01:57:59 +0000 (01:57 -0000)]
Change /etc/gentoolkit-version to /usr/share/gentoolkit/VERSION
svn path=/trunk/gentoolkit/; revision=651
fuzzyray [Wed, 20 May 2009 21:59:25 +0000 (21:59 -0000)]
Update Changelog for changes to glsa-check
svn path=/trunk/gentoolkit/; revision=650
fuzzyray [Wed, 20 May 2009 21:53:30 +0000 (21:53 -0000)]
Do not inject GLSAs into the checkfile when fixing them
There is no reason applied GLSAs must be stored in a checkfile. In the
current glsa-check GUI this will make it impossible to determine whether
the system is still affected by the GLSA (e.g. by re-emerging, or when a
GLSA is changed afterwards).
The current place for the checkfile (/var/cache) is not persistent per
FHS, meaning that people might clean out the contents of their injected
GLSAs. Since glsa.py is moving to portage anyway, we can use
/var/lib/portage as a place to store the injected GLSAs. Documentation
has been updated accordingly.
Note that the old checkfile should not be moved to the previous location
on upgrade since this will cause false negatives due to the above
arguments. A message should appear on upgrade (pkg_postinst or similar).
svn path=/trunk/gentoolkit/; revision=649
fuzzyray [Wed, 20 May 2009 21:49:39 +0000 (21:49 -0000)]
Restructure system affection detection.
Store "vulnerable" and "upgrade" packages in a table, and use that
data to determine which packages cannot be upgraded, and which
packages actually cause upgrades
svn path=/trunk/gentoolkit/; revision=648
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