Brian Dolbec [Thu, 24 Feb 2011 01:21:19 +0000 (17:21 -0800)]
fix the rebuild_keywords slot appended bug.
re-factor rebuild_use to do the same slotted packages entries.
fix some errors where I edited rebuild_use instead of rebuild_keywords print statements.
Brian Dolbec [Wed, 23 Feb 2011 09:09:52 +0000 (01:09 -0800)]
code the rebuild keywords module.
Add date and time info to the header generated.
add -s, --slot option.
Brian Dolbec [Fri, 11 Feb 2011 05:54:34 +0000 (21:54 -0800)]
Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit
Brian Dolbec [Fri, 11 Feb 2011 05:49:11 +0000 (21:49 -0800)]
apply djanderson's idea for a simpler/better fix to bug 353430 and commit
000ce49860b253ad6c917c5a58bc0ff31225134a for
use conditionals causing errors in equery results.
Tomas Chvatal [Sun, 30 Jan 2011 23:45:31 +0000 (00:45 +0100)]
Some whitespace to visualy separate the code
Tomas Chvatal [Sun, 30 Jan 2011 23:38:03 +0000 (00:38 +0100)]
Align the suffix for revision correctly.
Tomas Chvatal [Sun, 30 Jan 2011 22:49:34 +0000 (23:49 +0100)]
Align revision nicely so it is space separated and easier to spot.
Andy Kittner [Wed, 26 Jan 2011 23:21:21 +0000 (00:21 +0100)]
Fix unicode vs. bytes issue in glsa-check (#341293)
Brian Dolbec [Wed, 26 Jan 2011 07:12:09 +0000 (23:12 -0800)]
fix the missing unset flags issue due to my misleading variable name for "cleaned unset flags".
Brian Dolbec [Tue, 25 Jan 2011 17:01:53 +0000 (09:01 -0800)]
fix a missed function rename for an assignment
Brian Dolbec [Tue, 25 Jan 2011 17:00:31 +0000 (09:00 -0800)]
fix the setting of the quiet option properly this time
Brian Dolbec [Tue, 25 Jan 2011 08:50:46 +0000 (00:50 -0800)]
Fix missing quiet option passing into the analyse module
Brian Dolbec [Tue, 25 Jan 2011 08:49:28 +0000 (00:49 -0800)]
Add a leading '-' to disabled USE flags.
Brian Dolbec [Tue, 25 Jan 2011 08:30:15 +0000 (00:30 -0800)]
Modify printers to use the newly split out CpvValuesWrapper and add a print_pkg_quiet()
Brian Dolbec [Tue, 25 Jan 2011 08:28:32 +0000 (00:28 -0800)]
Add a new cpv and values textwrapping class
Brian Dolbec [Tue, 25 Jan 2011 08:27:31 +0000 (00:27 -0800)]
fix a missed rename and relocationof some imports
Brian Dolbec [Tue, 25 Jan 2011 05:38:16 +0000 (21:38 -0800)]
Add a new packages module to analyse
Tomas Chvatal [Sun, 23 Jan 2011 18:51:06 +0000 (19:51 +0100)]
Make the ignorance of local settings complete.
Tomas Chvatal [Sun, 23 Jan 2011 18:42:57 +0000 (19:42 +0100)]
Ignore local_settings for package maks.
Tomas Chvatal [Thu, 20 Jan 2011 21:44:23 +0000 (22:44 +0100)]
Make shadow checker aware of mask status.
Brian Dolbec [Mon, 10 Jan 2011 01:09:08 +0000 (17:09 -0800)]
create a new uniqify_atoms() to properly handle a list of atom instances.
set the reverse dependency lookup to use it.
Brian Dolbec [Sun, 9 Jan 2011 17:53:55 +0000 (09:53 -0800)]
remove the use of uniqify as it does not work correctly with atoms.
Paul Varner [Thu, 6 Jan 2011 21:29:22 +0000 (15:29 -0600)]
Remove extraneous merge conflict marker.
Paul Varner [Thu, 6 Jan 2011 21:18:45 +0000 (15:18 -0600)]
Update workflow in README.dev from subversion to git
Paul Varner [Thu, 6 Jan 2011 20:47:52 +0000 (14:47 -0600)]
Add testfile for eclean tests to repository.
Paul Varner [Thu, 6 Jan 2011 19:09:46 +0000 (13:09 -0600)]
Update ChangeLog for new euse
Paul Varner [Thu, 6 Jan 2011 14:22:07 +0000 (08:22 -0600)]
Add gentoolkitNonZeroExit exception
This exception should only be used when an error is not fatal and the
absence of information means no data was found. The return_code
parameter can be used to set the exit value.
Have the equery list module when in quiet mode return an exit status of
3. This is needed to prevent 'euse -I' from printing many 'No installed
packages matching ...' error messages.
Paul Varner [Thu, 6 Jan 2011 14:35:09 +0000 (08:35 -0600)]
man page formatting cleanup.
Loaded man pages into manedit and resaved. This has the effect of
cleaning up the formatting, mainly properly escaping '-' characters.
Paul Varner [Thu, 6 Jan 2011 03:23:41 +0000 (21:23 -0600)]
Updated fix for partially matching use flags.
The previous fix would still match a use flag it it started with the
same characters.
This fixes it completely.
Paul Varner [Wed, 5 Jan 2011 19:26:40 +0000 (13:26 -0600)]
equery list: do not raise GentoolkitNoMatches exception in quiet mode
Paul Varner [Wed, 5 Jan 2011 05:09:57 +0000 (23:09 -0600)]
Added updates from Jared Hancock.
Fixed error output from disabling global flags with -D. Added --remove
option and left --prune as an alias
Also, as requested, pruning a flag no longer removes it from local
package.use unless an explicit package is given. Unfortunately, package
wildcards are not yet supported, so the package must be given exactly
as it is found in package.use.
Emit a warning for invalid package atoms:
euse -E ldap -p =net-misc/openssh
euse -E ldap -p net-misc/openssh-5.6*
will both fail now since they would be ineffective and give further
warnings from portage later.
euse also would add an extra empty line to make.conf every time it was
invoked with -E or -D
Paul Varner [Tue, 4 Jan 2011 22:25:13 +0000 (16:25 -0600)]
Fix bug where a use flag was partially matching a masked use flag.
For example: tk matching gtk3.
Paul Varner [Tue, 4 Jan 2011 22:25:04 +0000 (16:25 -0600)]
Add Jared Hancock to AUTHORS file
Paul Varner [Tue, 4 Jan 2011 18:52:47 +0000 (12:52 -0600)]
Merge euse from bug 259318
* euse:
Add remove option. Remove perl code and change to sed. Add Jared Hancock to the authors.
Change mode of eshowkw to 0755
Added euse from bug 259318
Paul Varner [Tue, 4 Jan 2011 15:34:55 +0000 (09:34 -0600)]
Add remove option.
Remove perl code and change to sed.
Add Jared Hancock to the authors.
Paul Varner [Sat, 1 Jan 2011 17:38:55 +0000 (11:38 -0600)]
Set the encoding to 'utf_8', if the encoding returned by
locale.getpreferredencoding() is unknown to python. (Bug 350156)
Paul Varner [Fri, 31 Dec 2010 18:55:35 +0000 (12:55 -0600)]
Change mode of eshowkw to 0755
Paul Varner [Wed, 29 Dec 2010 00:30:14 +0000 (18:30 -0600)]
Merge branch 'gentoolkit' into euse
Conflicts:
bin/euse
Paul Varner [Tue, 28 Dec 2010 22:39:13 +0000 (16:39 -0600)]
Added euse from bug 259318
FuzzyRay [Tue, 28 Dec 2010 20:28:46 +0000 (14:28 -0600)]
Remove use_cache parameter from setcpv call since it is deprecated.
Bug 349342
FuzzyRay [Mon, 27 Dec 2010 22:18:23 +0000 (16:18 -0600)]
Inital man page for eshowkw listing all of the options.
Brian Dolbec [Tue, 21 Dec 2010 10:15:17 +0000 (02:15 -0800)]
Add equery has information to the man page.
scarabeus [Sat, 18 Dec 2010 20:55:24 +0000 (20:55 -0000)]
Convert my name to contain all proper chars.
svn path=/trunk/gentoolkit/; revision=877
fuzzyray [Fri, 17 Dec 2010 18:47:08 +0000 (18:47 -0000)]
Add man page stub for eshowkw
svn path=/trunk/gentoolkit/; revision=876
scarabeus [Sat, 4 Dec 2010 08:51:34 +0000 (08:51 -0000)]
Drop useless comment line
svn path=/trunk/gentoolkit/; revision=872
scarabeus [Sat, 4 Dec 2010 08:46:56 +0000 (08:46 -0000)]
Update sorting algorithm to order slots properly if package with lower slot has higher version.
svn path=/trunk/gentoolkit/; revision=871
scarabeus [Sat, 27 Nov 2010 21:26:42 +0000 (21:26 -0000)]
Properly get versions for all packages in all repositories so versions from different repos does not shadow each other
svn path=/trunk/gentoolkit/; revision=870
fuzzyray [Wed, 24 Nov 2010 18:28:10 +0000 (18:28 -0000)]
Make euse prefix aware
svn path=/trunk/gentoolkit/; revision=869
fuzzyray [Wed, 24 Nov 2010 17:51:15 +0000 (17:51 -0000)]
Update euse to look for portage config files in new as well as old paths. Bug 346519
svn path=/trunk/gentoolkit/; revision=868
fuzzyray [Tue, 23 Nov 2010 22:05:12 +0000 (22:05 -0000)]
Revert previous changes to euse, changes will need to be more extensive
svn path=/trunk/gentoolkit/; revision=867
fuzzyray [Tue, 23 Nov 2010 17:26:38 +0000 (17:26 -0000)]
Update euse to look for /etc/portage/make.conf as well as /etc/make.conf. Bug 346519
svn path=/trunk/gentoolkit/; revision=866
fuzzyray [Mon, 22 Nov 2010 19:59:51 +0000 (19:59 -0000)]
Fix cpv.py to handle prefix ebuild inter-revisions. Bug 313295
svn path=/trunk/gentoolkit/; revision=865
scarabeus [Mon, 22 Nov 2010 19:19:02 +0000 (19:19 -0000)]
Move useless variable passing.
svn path=/trunk/gentoolkit/; revision=864
scarabeus [Mon, 22 Nov 2010 19:13:46 +0000 (19:13 -0000)]
Run the keywords check only if the keywords are not empty.
svn path=/trunk/gentoolkit/; revision=863
scarabeus [Mon, 22 Nov 2010 19:04:08 +0000 (19:04 -0000)]
Drop useless import
svn path=/trunk/gentoolkit/; revision=862
scarabeus [Sun, 21 Nov 2010 18:08:42 +0000 (18:08 -0000)]
Fix wrong value parsing
svn path=/trunk/gentoolkit/; revision=861
scarabeus [Sun, 21 Nov 2010 17:58:39 +0000 (17:58 -0000)]
Drop useless code for whitespace stripping
svn path=/trunk/gentoolkit/; revision=860
scarabeus [Sun, 21 Nov 2010 16:25:36 +0000 (16:25 -0000)]
Compare keywords not as exact line match but separately. This allows multiple combined versions to overshadow.
svn path=/trunk/gentoolkit/; revision=859
fuzzyray [Fri, 19 Nov 2010 20:18:46 +0000 (20:18 -0000)]
Fix UnicodeDecodeError in setup.py, bug 346001
svn path=/trunk/gentoolkit/; revision=858
scarabeus [Fri, 19 Nov 2010 10:53:20 +0000 (10:53 -0000)]
Revert: Use join() rather than string printing.
svn path=/trunk/gentoolkit/; revision=857
scarabeus [Thu, 18 Nov 2010 20:10:53 +0000 (20:10 -0000)]
Remove unused variable.
svn path=/trunk/gentoolkit/; revision=856
scarabeus [Wed, 17 Nov 2010 02:33:58 +0000 (02:33 -0000)]
Use join() rather than string printing.
svn path=/trunk/gentoolkit/; revision=854
scarabeus [Wed, 17 Nov 2010 02:25:46 +0000 (02:25 -0000)]
Respect category when running as cwd call without specified package.
svn path=/trunk/gentoolkit/; revision=853
fuzzyray [Mon, 15 Nov 2010 23:56:17 +0000 (23:56 -0000)]
Change keywords short option to 'y' from 'k' which was already taken by the check keyword. Uncomment has keyword in test_init.py
svn path=/trunk/gentoolkit/; revision=849
fuzzyray [Mon, 15 Nov 2010 23:38:31 +0000 (23:38 -0000)]
Fix failing test, caused by uncommenting the has module
svn path=/trunk/gentoolkit/; revision=848
fuzzyray [Mon, 15 Nov 2010 19:07:39 +0000 (19:07 -0000)]
Merge genscripts revision 481
svn path=/trunk/gentoolkit/; revision=847
scarabeus [Tue, 2 Nov 2010 14:20:49 +0000 (14:20 -0000)]
Die correctly when called indirectly with no package specified.
svn path=/trunk/gentoolkit/; revision=846
scarabeus [Tue, 2 Nov 2010 14:14:31 +0000 (14:14 -0000)]
Fix typos in previous commit.
svn path=/trunk/gentoolkit/; revision=845
scarabeus [Tue, 2 Nov 2010 14:07:08 +0000 (14:07 -0000)]
Revert altering keywords_content. This change was not ready yet.
svn path=/trunk/gentoolkit/; revision=844
scarabeus [Tue, 2 Nov 2010 14:05:00 +0000 (14:05 -0000)]
Fix arg parsing everywhere for eshowkw.
svn path=/trunk/gentoolkit/; revision=843
scarabeus [Tue, 2 Nov 2010 13:53:19 +0000 (13:53 -0000)]
Fix error on rotate content and py3 compat.
svn path=/trunk/gentoolkit/; revision=842
scarabeus [Fri, 29 Oct 2010 09:04:07 +0000 (09:04 -0000)]
Extend PORTDIR_OVERLAY rather than overriding it to not create warnings.
svn path=/trunk/gentoolkit/; revision=840
scarabeus [Thu, 28 Oct 2010 21:39:18 +0000 (21:39 -0000)]
Add encoding informations.
svn path=/trunk/gentoolkit/; revision=839
scarabeus [Thu, 28 Oct 2010 21:31:47 +0000 (21:31 -0000)]
Fix import path again. Process only proper passed args in required function.
svn path=/trunk/gentoolkit/; revision=838
scarabeus [Thu, 28 Oct 2010 21:18:06 +0000 (21:18 -0000)]
Initial commit to add equery keywords support for executing eshowkw.
svn path=/trunk/gentoolkit/; revision=837
scarabeus [Thu, 28 Oct 2010 21:10:27 +0000 (21:10 -0000)]
Fix typo, using undefined variable with name as function...
svn path=/trunk/gentoolkit/; revision=836
scarabeus [Thu, 28 Oct 2010 21:07:58 +0000 (21:07 -0000)]
Fix imports and package to reflect gentoolkit integration.
svn path=/trunk/gentoolkit/; revision=835
scarabeus [Thu, 28 Oct 2010 20:27:47 +0000 (20:27 -0000)]
Fix broken include.
svn path=/trunk/gentoolkit/; revision=834
scarabeus [Thu, 28 Oct 2010 20:25:58 +0000 (20:25 -0000)]
Fix typo
svn path=/trunk/gentoolkit/; revision=833
scarabeus [Thu, 28 Oct 2010 20:19:13 +0000 (20:19 -0000)]
Update version string in eshowkw properly.
svn path=/trunk/gentoolkit/; revision=832
scarabeus [Thu, 28 Oct 2010 20:13:51 +0000 (20:13 -0000)]
Initial commit of eshowkw, which is drop-in replacement for eshowkw from gentoolkit-dev.
svn path=/trunk/gentoolkit/; revision=831
fuzzyray [Thu, 23 Sep 2010 22:15:38 +0000 (22:15 -0000)]
Add --binpkgs-missing option to equery list to print installed packages that
do not have a corresponding binary package built.
svn path=/trunk/gentoolkit/; revision=815
fuzzyray [Thu, 23 Sep 2010 03:36:39 +0000 (03:36 -0000)]
Don't match package names in /var/db/pkg that begin with a '-'. This
prevents us from matching -MERGING entries. (Bug 338031)
svn path=/trunk/gentoolkit/; revision=814
fuzzyray [Wed, 22 Sep 2010 21:59:35 +0000 (21:59 -0000)]
Merge from genscripts r457: douglasjanderson
Add h(a)s to gentoolkit.test.equery.test_init.test_expand_module_name so that
the test passes.
Merge from genscripts r453: douglasjanderson
This bring all equery modules except the new has module on board with
bug #114086; adding non-zero exit status when a script finds no results
Merge from genscripts r441: brian.dolbec
some minor (non fatal) indent fixes.
svn path=/trunk/gentoolkit/; revision=812
fuzzyray [Wed, 22 Sep 2010 21:51:32 +0000 (21:51 -0000)]
Merge from genscripts r459: douglasjanderson
Fixing a traceback when Query is passed an invalid atom, and merging some
_incomplete_ work on has.py
Merge from genscripts r454: brian.dolbec
make the needed changes to fix bug 114086 in the has module.
Merge from genscripts r452: douglasjanderson
gentoolkit.query.Query can't subclass gentoolkit.atom.Atom because we can't
control what portage.dep.Atom takes as input.
Merge from genscripts r451: douglasjanderson
Revert r438 because the problem it addresses can be taken care of more robustly.
Merge from genscripts r449: douglasjanderson
Make some modifications to fix bug #309091
Merge from genscripts r444: brian.dolbec
add more help about the env_var's
Merge from genscripts r443: douglasjanderson
Simplify a func for ease of testing
Merge from genscripts r442: brian.dolbec
initial commit of a general purpose equery has module useable for nearly all the
available vardb ENVIRONMENT data"
Merge from genscripts r438: brian.dolbec
rework the dpendencies _parser() tok == '' trap in an attempt to trap the
InvalidAtom error, add '' removal from matches in query, add more detail in the
error from Atom, add a trap to skirt around a null atom in the ChangeLog class.
Hopefully I either solved it or have it printing out more info this time.
Merge from genscripts r436: brian.dolbec
fix the error in the raising of the GentoolkitInvalidAtom error, find and changethe info printed out in the error message to help track down the problem.
Merge from genscripts r428: andkit
Fix globbing for python-2.6.5/3.1.2 (fixes #315665)
Apply the regexp only to the category instead of trying to
modify the regexp to match the full package key to avoid relying on
a specific layout of the regexp return by fnmatch.translate.
svn path=/trunk/gentoolkit/; revision=811
fuzzyray [Wed, 22 Sep 2010 21:33:43 +0000 (21:33 -0000)]
Merge from genscripts r446: brian.dolbec
fix the new has module description line.
Merge from genscripts r442: brian.dolbec
initial commit of a general purpose equery has module useable for nearly all
the available vardb ENVIRONMENT data
svn path=/trunk/gentoolkit/; revision=810
fuzzyray [Wed, 22 Sep 2010 21:28:48 +0000 (21:28 -0000)]
Merge from genscripts r461: brian.dolbec
replace the inaccurate reg expression method of obtaining the filename from the
SRC_URI with code from portage.portdbapi._parse_uri_map() so that it works
correctly for all instances and it's just as fast.
svn path=/trunk/gentoolkit/; revision=809
fuzzyray [Wed, 22 Sep 2010 21:26:01 +0000 (21:26 -0000)]
Merge from genscripts r445: brian.dolbec
fix Bug 327741. put in the full command path including the EPREFIX if defined.
svn path=/trunk/gentoolkit/; revision=808
fuzzyray [Wed, 22 Sep 2010 21:24:05 +0000 (21:24 -0000)]
Merge from genscripts r448: brian.dolbec
Fix the output of the deprecated pkg information to reflect whether it was able
to save their sources or not.
Merge from genscripts r439: brian.dolbec
fix the prettySize output errors introduced when I removed the deprecated
formatting style previously used. This now properly displays the rounded file
sizes.
svn path=/trunk/gentoolkit/; revision=807
fuzzyray [Wed, 22 Sep 2010 21:20:46 +0000 (21:20 -0000)]
Merge from genscripts r440: brian.dolbec
remove the noisy deprecation warning and put in a comment instead. This
function tries the new API function parameter first anyway, so it would only
revert to internal code as a last resort.
svn path=/trunk/gentoolkit/; revision=806
fuzzyray [Wed, 22 Sep 2010 21:18:18 +0000 (21:18 -0000)]
Merge from genscripts r429: brian.dolbec
remove a few debug print statements.
svn path=/trunk/gentoolkit/; revision=805
fuzzyray [Wed, 22 Sep 2010 21:11:52 +0000 (21:11 -0000)]
Merge from genscripts r458: douglasjanderson
Fix for bug #303129: equery meta's keyword sorting should match ekeyword.
Merge from genscripts r455: douglasjanderson
Small backend and source mods.
Merge from genscripts r432: brian.dolbec
fix Bug 317899 traceback due to incorrectly using pass instead of continue in
two locations.
Merge from genscripts r426: andkit
add $mask2 to the list of allowed placeholders for --help.
svn path=/trunk/gentoolkit/; revision=804
fuzzyray [Wed, 22 Sep 2010 20:59:30 +0000 (20:59 -0000)]
Merge from genscripts r460: brian.dolbec
fix typo.
svn path=/trunk/gentoolkit/; revision=803
fuzzyray [Wed, 22 Sep 2010 20:56:38 +0000 (20:56 -0000)]
Merge from genscripts r451: douglasjanderson
Revert r438 because the problem it addresses can be taken care of more robustly.
Merge from genscripts r449: douglasjanderson
Make some modifications to fix bug #309091
Merge from genscripts r438: brian.dolbec
rework the dpendencies _parser() tok == '' trap in an attempt to trap the
InvalidAtom error, add '' removal from matches in query, add more detail in the
error from Atom, add a trap to skirt around a null atom in the ChangeLog class.
Hopefully I either solved it or have it printing out more info this time.
Merge from genscripts r436: brian.dolbec
fix the error in the raising of the GentoolkitInvalidAtom error, find and change
the info printed out in the error message to help track down the problem.
Merge from genscripts r435: brian.dolbec
modify the tok if statement as it didn't catch the error the user was using to
print out additional info
Merge from genscripts r434: brian.dolbec
try to solve an svn diff! Invalid Atom, '' error a user is getting running
equery depends. this should intercept the empty tok before and print out more
useable info to determine if it should be an error or should be ignored, etc.
svn path=/trunk/gentoolkit/; revision=802
fuzzyray [Wed, 22 Sep 2010 20:37:14 +0000 (20:37 -0000)]
Merge from genscripts r456: douglasjanderson
Revert r430 and fix the problem within the existing code without relying on
pkgsplit (it's slow); adds test case to catch the problem and future
regressions. Bug #316961
Merge from genscripts r433: brian.dolbec
fix a regression due to pkgsplit returning '-r0'.
Merge from genscripts r430: brian.dolbec
fix bug 316961. commented out the pkgname validation due to a false result. Why
is it necessary anyway?
svn path=/trunk/gentoolkit/; revision=801
fuzzyray [Wed, 22 Sep 2010 20:25:39 +0000 (20:25 -0000)]
Merge from genscripts r447: brian.dolbec
Update the eclean manpage with the additional options.
Fix a few grammar mistakes.
Add a section explaining the new deprecated pkg reporting.
svn path=/trunk/gentoolkit/; revision=800
fuzzyray [Thu, 13 May 2010 16:07:10 +0000 (16:07 -0000)]
Replace portage.db[/] with portage.db[portage.root] so that root is not hardcoded
svn path=/trunk/gentoolkit/; revision=782
idl0r [Thu, 13 May 2010 00:17:40 +0000 (00:17 -0000)]
eclean/cli.py: Fix typo, bug 319349, thanks to Ulrich Müller <ulm@gentoo.org>.
svn path=/trunk/gentoolkit/; revision=781
idl0r [Thu, 6 May 2010 00:25:29 +0000 (00:25 -0000)]
revdep-rebuild: Make revdep-rebuild more quiet, bug 97073. We might
improve that a bit more in the future.
svn path=/trunk/gentoolkit/; revision=780
fuzzyray [Wed, 28 Apr 2010 14:53:44 +0000 (14:53 -0000)]
Restore follow symlinks option (-L) to the find /var/db/pkg command so that revdep-rebuild works even when /var/db/pkg is a symlink. (Bug #317571)
svn path=/trunk/gentoolkit/; revision=777