gentoolkit.git
13 years agotemporary fix for a test failure due to the added dotfiles check. gentoolkit-0.3.0
Brian Dolbec [Sun, 10 Apr 2011 18:22:07 +0000 (11:22 -0700)]
temporary fix for a test failure due to the added dotfiles check.
Need to add proper test data and checks for it.

13 years agoFix extend_realpaths in FileOwner class. (Bug 96515)
Paul Varner [Thu, 31 Mar 2011 21:48:31 +0000 (16:48 -0500)]
Fix extend_realpaths in FileOwner class. (Bug 96515)

Removed the os.path.islink check since it oly returns true if the last
part of the path is a symbolic link.  We want to add the realpath to the
list if it already doesn't exist in the list, since that indicates that
something in the path is a symbolic link.

13 years agoLatest euse changes from Jared Hancock
Paul Varner [Tue, 29 Mar 2011 02:12:44 +0000 (21:12 -0500)]
Latest euse changes from Jared Hancock
Prefers /etc/portage/make.conf when modifing global flags only if it
defines the USE variable

Also fixes a bug where euse would refuse to add hyphenated use flags.
So you can:

euse -E bash-completion

13 years agoadd the Homepage to epkginfo/equery meta's Upstream option as per idl0r's request.
Brian Dolbec [Fri, 18 Mar 2011 02:01:59 +0000 (19:01 -0700)]
add the Homepage to epkginfo/equery meta's Upstream option as per idl0r's request.

13 years agoadd a dotfile check and only delete hidden (.dotfile's) during a destructive search.
Brian Dolbec [Tue, 8 Mar 2011 08:05:36 +0000 (00:05 -0800)]
add a dotfile check and only delete hidden (.dotfile's) during a destructive search.

13 years agoFix small typo
Paul Varner [Fri, 25 Feb 2011 16:26:00 +0000 (10:26 -0600)]
Fix small typo

13 years agoApply latest changes from Jared Hancock
Paul Varner [Fri, 25 Feb 2011 16:21:04 +0000 (10:21 -0600)]
Apply latest changes from Jared Hancock

Fixes described issues from:
http://bugs.gentoo.org/show_bug.cgi?id=259318#c88

"It's now more vocal when handling global flags, and does not indicate
make.conf was edited if it was not. Actually, more specifically, it
does not modify make.conf unnecessarily. (As before, it modified
make.conf every time regardless of whether or not it changed anything)

Also fixed the issue with removing and disabling multiple flags for a
package."

13 years agoFix whitespace
Paul Varner [Fri, 25 Feb 2011 16:14:21 +0000 (10:14 -0600)]
Fix whitespace

13 years agodecorate some functions as @staticmethod
Brian Dolbec [Fri, 25 Feb 2011 02:06:04 +0000 (18:06 -0800)]
decorate some functions as @staticmethod

13 years agomove mysettings out of __getMaskStatus() into __init__() so it is only done once...
Brian Dolbec [Fri, 25 Feb 2011 01:53:01 +0000 (17:53 -0800)]
move mysettings out of __getMaskStatus() into __init__() so it is only done once = 1/7th the time to run.
decorate functions not needing self with @staticmethod.

13 years agoWhitespace
Christian Ruppert [Thu, 24 Feb 2011 21:48:54 +0000 (22:48 +0100)]
Whitespace

13 years agoFix package.mask check
Christian Ruppert [Thu, 24 Feb 2011 21:39:46 +0000 (22:39 +0100)]
Fix package.mask check

getmaskingstatus() returns an array so it always returned False if the array has
multiple items

13 years agofix some alignment mismatches
Brian Dolbec [Thu, 24 Feb 2011 01:30:10 +0000 (17:30 -0800)]
fix some alignment mismatches

13 years agofix the rebuild_keywords slot appended bug.
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.

13 years agocode the rebuild keywords module.
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.

13 years agoMerge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into...
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

13 years agoapply djanderson's idea for a simpler/better fix to bug 353430 and commit 000ce49860b...
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.

13 years agoSome whitespace to visualy separate the code
Tomas Chvatal [Sun, 30 Jan 2011 23:45:31 +0000 (00:45 +0100)]
Some whitespace to visualy separate the code

13 years agoAlign the suffix for revision correctly.
Tomas Chvatal [Sun, 30 Jan 2011 23:38:03 +0000 (00:38 +0100)]
Align the suffix for revision correctly.

13 years agoAlign revision nicely so it is space separated and easier to spot.
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.

13 years agoFix unicode vs. bytes issue in glsa-check (#341293)
Andy Kittner [Wed, 26 Jan 2011 23:21:21 +0000 (00:21 +0100)]
Fix unicode vs. bytes issue in glsa-check (#341293)

13 years agofix the missing unset flags issue due to my misleading variable name for "cleaned...
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".

13 years agofix a missed function rename for an assignment
Brian Dolbec [Tue, 25 Jan 2011 17:01:53 +0000 (09:01 -0800)]
fix a missed function rename for an assignment

13 years agofix the setting of the quiet option properly this time
Brian Dolbec [Tue, 25 Jan 2011 17:00:31 +0000 (09:00 -0800)]
fix the setting of the quiet option properly this time

13 years agoFix missing quiet option passing into the analyse module
Brian Dolbec [Tue, 25 Jan 2011 08:50:46 +0000 (00:50 -0800)]
Fix missing quiet option passing into the analyse module

13 years agoAdd a leading '-' to disabled USE flags.
Brian Dolbec [Tue, 25 Jan 2011 08:49:28 +0000 (00:49 -0800)]
Add a leading '-' to disabled USE flags.

13 years agoModify printers to use the newly split out CpvValuesWrapper and add a print_pkg_quiet()
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()

13 years agoAdd a new cpv and values textwrapping class
Brian Dolbec [Tue, 25 Jan 2011 08:28:32 +0000 (00:28 -0800)]
Add a new cpv and values textwrapping class

13 years agofix a missed rename and relocationof some imports
Brian Dolbec [Tue, 25 Jan 2011 08:27:31 +0000 (00:27 -0800)]
fix a missed rename and relocationof some imports

13 years agoAdd a new packages module to analyse
Brian Dolbec [Tue, 25 Jan 2011 05:38:16 +0000 (21:38 -0800)]
Add a new packages module to analyse

13 years agoMake the ignorance of local settings complete.
Tomas Chvatal [Sun, 23 Jan 2011 18:51:06 +0000 (19:51 +0100)]
Make the ignorance of local settings complete.

13 years agoIgnore local_settings for package maks.
Tomas Chvatal [Sun, 23 Jan 2011 18:42:57 +0000 (19:42 +0100)]
Ignore local_settings for package maks.

13 years agoMake shadow checker aware of mask status.
Tomas Chvatal [Thu, 20 Jan 2011 21:44:23 +0000 (22:44 +0100)]
Make shadow checker aware of mask status.

13 years agocreate a new uniqify_atoms() to properly handle a list of atom instances.
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.

13 years agoremove the use of uniqify as it does not work correctly with atoms.
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.

13 years agoRemove extraneous merge conflict marker.
Paul Varner [Thu, 6 Jan 2011 21:29:22 +0000 (15:29 -0600)]
Remove extraneous merge conflict marker.

13 years agoUpdate workflow in README.dev from subversion to git
Paul Varner [Thu, 6 Jan 2011 21:18:45 +0000 (15:18 -0600)]
Update workflow in README.dev from subversion to git

13 years agoAdd testfile for eclean tests to repository.
Paul Varner [Thu, 6 Jan 2011 20:47:52 +0000 (14:47 -0600)]
Add testfile for eclean tests to repository.

13 years agoUpdate ChangeLog for new euse
Paul Varner [Thu, 6 Jan 2011 19:09:46 +0000 (13:09 -0600)]
Update ChangeLog for new euse

13 years agoAdd gentoolkitNonZeroExit exception
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.

13 years agoman page formatting cleanup.
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.

13 years agoUpdated fix for partially matching use flags.
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.

13 years agoequery list: do not raise GentoolkitNoMatches exception in quiet mode
Paul Varner [Wed, 5 Jan 2011 19:26:40 +0000 (13:26 -0600)]
equery list: do not raise GentoolkitNoMatches exception in quiet mode

13 years agoAdded updates from Jared Hancock.
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

13 years agoFix bug where a use flag was partially matching a masked use flag.
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.

13 years agoAdd Jared Hancock to AUTHORS file
Paul Varner [Tue, 4 Jan 2011 22:25:04 +0000 (16:25 -0600)]
Add Jared Hancock to AUTHORS file

13 years agoMerge euse from bug 259318
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

13 years agoAdd remove option.
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.

13 years agoSet the encoding to 'utf_8', if the encoding returned by
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)

13 years agoChange mode of eshowkw to 0755
Paul Varner [Fri, 31 Dec 2010 18:55:35 +0000 (12:55 -0600)]
Change mode of eshowkw to 0755

13 years agoMerge branch 'gentoolkit' into euse
Paul Varner [Wed, 29 Dec 2010 00:30:14 +0000 (18:30 -0600)]
Merge branch 'gentoolkit' into euse

Conflicts:
bin/euse

13 years agoAdded euse from bug 259318
Paul Varner [Tue, 28 Dec 2010 22:39:13 +0000 (16:39 -0600)]
Added euse from bug 259318

13 years agoRemove use_cache parameter from setcpv call since it is deprecated.
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

13 years agoInital man page for eshowkw listing all of the options.
FuzzyRay [Mon, 27 Dec 2010 22:18:23 +0000 (16:18 -0600)]
Inital man page for eshowkw listing all of the options.

13 years agoAdd equery has information to the man page.
Brian Dolbec [Tue, 21 Dec 2010 10:15:17 +0000 (02:15 -0800)]
Add equery has information to the man page.

13 years agoConvert my name to contain all proper chars.
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

13 years agoAdd man page stub for eshowkw
fuzzyray [Fri, 17 Dec 2010 18:47:08 +0000 (18:47 -0000)]
Add man page stub for eshowkw

svn path=/trunk/gentoolkit/; revision=876

13 years agoDrop useless comment line
scarabeus [Sat, 4 Dec 2010 08:51:34 +0000 (08:51 -0000)]
Drop useless comment line

svn path=/trunk/gentoolkit/; revision=872

13 years agoUpdate sorting algorithm to order slots properly if package with lower slot has highe...
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

13 years agoProperly get versions for all packages in all repositories so versions from different...
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

13 years agoMake euse prefix aware
fuzzyray [Wed, 24 Nov 2010 18:28:10 +0000 (18:28 -0000)]
Make euse prefix aware

svn path=/trunk/gentoolkit/; revision=869

13 years agoUpdate euse to look for portage config files in new as well as old paths. Bug 346519
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

13 years agoRevert previous changes to euse, changes will need to be more extensive
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

13 years agoUpdate euse to look for /etc/portage/make.conf as well as /etc/make.conf. Bug 346519
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

13 years agoFix cpv.py to handle prefix ebuild inter-revisions. Bug 313295
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

13 years agoMove useless variable passing.
scarabeus [Mon, 22 Nov 2010 19:19:02 +0000 (19:19 -0000)]
Move useless variable passing.

svn path=/trunk/gentoolkit/; revision=864

13 years agoRun the keywords check only if the keywords are not empty.
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

13 years agoDrop useless import
scarabeus [Mon, 22 Nov 2010 19:04:08 +0000 (19:04 -0000)]
Drop useless import

svn path=/trunk/gentoolkit/; revision=862

13 years agoFix wrong value parsing
scarabeus [Sun, 21 Nov 2010 18:08:42 +0000 (18:08 -0000)]
Fix wrong value parsing

svn path=/trunk/gentoolkit/; revision=861

13 years agoDrop useless code for whitespace stripping
scarabeus [Sun, 21 Nov 2010 17:58:39 +0000 (17:58 -0000)]
Drop useless code for whitespace stripping

svn path=/trunk/gentoolkit/; revision=860

13 years agoCompare keywords not as exact line match but separately. This allows multiple combine...
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

13 years agoFix UnicodeDecodeError in setup.py, bug 346001
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

13 years agoRevert: Use join() rather than string printing.
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

13 years agoRemove unused variable.
scarabeus [Thu, 18 Nov 2010 20:10:53 +0000 (20:10 -0000)]
Remove unused variable.

svn path=/trunk/gentoolkit/; revision=856

13 years agoUse join() rather than string printing. gentoolkit-0.3.0_rc11
scarabeus [Wed, 17 Nov 2010 02:33:58 +0000 (02:33 -0000)]
Use join() rather than string printing.

svn path=/trunk/gentoolkit/; revision=854

13 years agoRespect category when running as cwd call without specified package.
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

13 years agoChange keywords short option to 'y' from 'k' which was already taken by the check...
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

13 years agoFix failing test, caused by uncommenting the has module
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

13 years agoMerge genscripts revision 481
fuzzyray [Mon, 15 Nov 2010 19:07:39 +0000 (19:07 -0000)]
Merge genscripts revision 481

svn path=/trunk/gentoolkit/; revision=847

13 years agoDie correctly when called indirectly with no package specified.
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

13 years agoFix typos in previous commit.
scarabeus [Tue, 2 Nov 2010 14:14:31 +0000 (14:14 -0000)]
Fix typos in previous commit.

svn path=/trunk/gentoolkit/; revision=845

13 years agoRevert altering keywords_content. This change was not ready yet.
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

13 years agoFix arg parsing everywhere for eshowkw.
scarabeus [Tue, 2 Nov 2010 14:05:00 +0000 (14:05 -0000)]
Fix arg parsing everywhere for eshowkw.

svn path=/trunk/gentoolkit/; revision=843

13 years agoFix error on rotate content and py3 compat.
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

13 years agoExtend PORTDIR_OVERLAY rather than overriding it to not create warnings.
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

13 years agoAdd encoding informations.
scarabeus [Thu, 28 Oct 2010 21:39:18 +0000 (21:39 -0000)]
Add encoding informations.

svn path=/trunk/gentoolkit/; revision=839

13 years agoFix import path again. Process only proper passed args in required function.
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

13 years agoInitial commit to add equery keywords support for executing eshowkw.
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

13 years agoFix typo, using undefined variable with name as function...
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

13 years agoFix imports and package to reflect gentoolkit integration.
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

13 years agoFix broken include.
scarabeus [Thu, 28 Oct 2010 20:27:47 +0000 (20:27 -0000)]
Fix broken include.

svn path=/trunk/gentoolkit/; revision=834

13 years agoFix typo
scarabeus [Thu, 28 Oct 2010 20:25:58 +0000 (20:25 -0000)]
Fix typo

svn path=/trunk/gentoolkit/; revision=833

13 years agoUpdate version string in eshowkw properly.
scarabeus [Thu, 28 Oct 2010 20:19:13 +0000 (20:19 -0000)]
Update version string in eshowkw properly.

svn path=/trunk/gentoolkit/; revision=832

13 years agoInitial commit of eshowkw, which is drop-in replacement for eshowkw from gentoolkit...
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

13 years agoAdd --binpkgs-missing option to equery list to print installed packages that
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

13 years agoDon't match package names in /var/db/pkg that begin with a '-'. This
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

13 years agoMerge from genscripts r457: douglasjanderson
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

13 years agoMerge from genscripts r459: douglasjanderson
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

13 years agoMerge from genscripts r446: brian.dolbec
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

13 years agoMerge from genscripts r461: brian.dolbec
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