Slawek [Tue, 18 Jan 2011 06:18:42 +0000 (07:18 +0100)]
Some fixes after file split. Removed unwanted files. Moved settings into module
Slawomir Lis [Mon, 17 Jan 2011 12:31:33 +0000 (13:31 +0100)]
Split to several files. Introduced logging (instead of print_v)
Slawek [Fri, 7 Jan 2011 05:46:19 +0000 (06:46 +0100)]
Fixed error in reading cache. Fixed problem with too many files to check.
lis.slawek [Tue, 23 Nov 2010 09:13:43 +0000 (09:13 +0000)]
Fixed checks for --library option
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@489
5234894e-44cd-11de-9a4c-
a76526a193c6
lis.slawek [Thu, 18 Nov 2010 11:16:57 +0000 (11:16 +0000)]
Fixed scanning revdep config; minor fix in analyse function
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@485
5234894e-44cd-11de-9a4c-
a76526a193c6
lis.slawek [Thu, 18 Nov 2010 07:26:14 +0000 (07:26 +0000)]
Fixed problem with 32/64 bit libraries and binaries
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@484
5234894e-44cd-11de-9a4c-
a76526a193c6
brian.dolbec [Fri, 5 Nov 2010 15:19:06 +0000 (15:19 +0000)]
Comment the NO_PRETEND variable better.
Fix a few minor grammar errors.
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@478
5234894e-44cd-11de-9a4c-
a76526a193c6
brian.dolbec [Fri, 5 Nov 2010 05:26:11 +0000 (05:26 +0000)]
fix a missing leading space so that any args are not attached to the emerge command itself.
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@477
5234894e-44cd-11de-9a4c-
a76526a193c6
lis.slawek [Mon, 25 Oct 2010 09:24:47 +0000 (09:24 +0000)]
Initial revision of revdep-rebuild python version
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@471
5234894e-44cd-11de-9a4c-
a76526a193c6
brian.dolbec [Sun, 24 Oct 2010 19:44:19 +0000 (19:44 +0000)]
create a pkg for the new python revdep-rebuild.
git-svn-id: http://genscripts.googlecode.com/svn/trunk/gentoolkit@470
5234894e-44cd-11de-9a4c-
a76526a193c6
Paul Varner [Tue, 12 Jul 2011 14:28:06 +0000 (09:28 -0500)]
Update eclean man page to change deprecated to unavailable.
Paul Varner [Tue, 12 Jul 2011 14:03:52 +0000 (09:03 -0500)]
Change "Deprecated" to "unavailable" to reflect term used in portage.
Unavailable packages are packages that are installed, but do not have a
corresponding ebuild available for installation.
Paul Varner [Tue, 14 Jun 2011 05:49:18 +0000 (00:49 -0500)]
Fix spelling errors in equery.1 and euse.1 man pages. (Bug 371268)
Christian Ruppert [Sun, 29 May 2011 10:57:11 +0000 (12:57 +0200)]
Allow only one arg for --arch/-a
Allowing multiple args for -a/--arch causes some trouble (depending on the order)
E.g. "eshowkw cat/pkg -a a b" would work while "eshowkw -a a cat/pkg" wouldn't
because it would count cat/pkg to the -a/--arch option.
eshowkw -a amd64 kdelibs
No ebuilds at "/root"
Christian Ruppert [Sat, 28 May 2011 21:22:12 +0000 (23:22 +0200)]
Merge branch 'gentoolkit' of git+ssh://overlays.gentoo.org/proj/gentoolkit into gentoolkit
Paul Varner [Wed, 25 May 2011 00:55:03 +0000 (19:55 -0500)]
Change revdep-rebuild to no longer determine the build order. Instead
we call emerge with --complete-graph=y to build the packages in the
correct order.
Paul Varner [Mon, 23 May 2011 21:28:33 +0000 (16:28 -0500)]
Fix revdep-rebuild to use the ORDER_FILE for the final emerge command. Bug 368475
dol-sen [Mon, 23 May 2011 03:44:38 +0000 (20:44 -0700)]
fix the Dependencies.graph_depends() api return value not being correct.
dol-sen [Fri, 20 May 2011 05:26:09 +0000 (22:26 -0700)]
fix bug 368113 dupe'd USE flags
dol-sen [Fri, 20 May 2011 05:48:06 +0000 (22:48 -0700)]
Revert "uniqify the list of returned use flags in uses.py. Bug 368113"
in favour of fixing it at the source so all of gentoolkit's modules benefit.
This reverts commit
674776f13984d40a1cd7eb6929be81618708e1fa.
Paul Varner [Fri, 20 May 2011 05:27:17 +0000 (00:27 -0500)]
uniqify the list of returned use flags in uses.py. Bug 368113
dol-sen [Wed, 18 May 2011 21:17:19 +0000 (14:17 -0700)]
add keywords formatter option.
dol-sen [Tue, 17 May 2011 00:36:49 +0000 (17:36 -0700)]
found a better spot to set piping wrap width so as to disable for all piping regardless of the --no-pipe option which would turn off setting 'quiet' on.
Signed-off-by: dol-sen <brian.dolbec@gmail.com>
dol-sen [Mon, 16 May 2011 16:40:18 +0000 (09:40 -0700)]
add CONFIG['termWidth'] setting to the no-pipe option to effectively turn off textwraping.
This fixes issues with scripts parsing output.
dol-sen [Mon, 16 May 2011 16:38:02 +0000 (09:38 -0700)]
fix py3 compatibility issues in eshowkw.
Paul Varner [Thu, 12 May 2011 02:55:15 +0000 (21:55 -0500)]
Update setup.py for namespace change of analyse to enalyze
Paul Varner [Thu, 12 May 2011 02:52:13 +0000 (21:52 -0500)]
Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit
Paul Varner [Thu, 12 May 2011 02:52:07 +0000 (21:52 -0500)]
Fix euse to treat PORTDIR the same as an overlay for purposes of printing the repository name.
dol-sen [Wed, 11 May 2011 06:46:34 +0000 (23:46 -0700)]
analyse namespace change to enalyze and standardize the spelling to use the 'z' variant.
Paul Varner [Wed, 11 May 2011 02:06:19 +0000 (21:06 -0500)]
Fix euse to print proper statement for egencache. Bug 366673
Paul Varner [Wed, 11 May 2011 00:43:20 +0000 (19:43 -0500)]
Change chmod 700 to chmod 600 when changing permissions on the cache files. Bug 356779
Brian Dolbec [Sun, 24 Apr 2011 00:59:32 +0000 (17:59 -0700)]
fix python-3 compatibility for euse bug 364081
Paul Varner [Mon, 18 Apr 2011 18:27:17 +0000 (13:27 -0500)]
Change eprefix.py to only look at portage for the value of EPREFIX
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.
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.
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
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.
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.
Christian Ruppert [Sat, 26 Feb 2011 00:34:29 +0000 (01:34 +0100)]
Fix some pylint complains
Paul Varner [Fri, 25 Feb 2011 16:26:00 +0000 (10:26 -0600)]
Fix small typo
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."
Paul Varner [Fri, 25 Feb 2011 16:14:21 +0000 (10:14 -0600)]
Fix whitespace
Brian Dolbec [Fri, 25 Feb 2011 02:06:04 +0000 (18:06 -0800)]
decorate some functions as @staticmethod
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.
Christian Ruppert [Thu, 24 Feb 2011 21:48:54 +0000 (22:48 +0100)]
Whitespace
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
Brian Dolbec [Thu, 24 Feb 2011 01:30:10 +0000 (17:30 -0800)]
fix some alignment mismatches
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