Paul Varner [Mon, 28 Nov 2011 15:45:57 +0000 (09:45 -0600)]
Fix typo in euse
Paul Varner [Wed, 12 Oct 2011 16:34:47 +0000 (11:34 -0500)]
Fix revdep-rebuiild to exit correctly with correct error code when emerge
fails. Bug 351054
dol-sen [Mon, 10 Oct 2011 17:34:56 +0000 (10:34 -0700)]
reverse the logging message in analyse.py since it is not correct.
dol-sen [Mon, 10 Oct 2011 16:03:32 +0000 (09:03 -0700)]
add --library output to revdep-rebuild.
Christian Ruppert [Wed, 7 Sep 2011 12:39:10 +0000 (14:39 +0200)]
Add missing quotes
dol-sen [Thu, 25 Aug 2011 07:04:47 +0000 (00:04 -0700)]
fix bug 380573.
Paul Varner [Wed, 24 Aug 2011 17:28:06 +0000 (12:28 -0500)]
Fix traversal of cascading profiles by euse (Bug 379559).
Thanks to Ian Abbot for the patch!
Paul Varner [Wed, 27 Jul 2011 19:01:34 +0000 (14:01 -0500)]
Fix missing parenthises in euse. Bug 376393
Paul Varner [Sat, 16 Jul 2011 04:02:07 +0000 (23:02 -0500)]
Fix updated Package class to work correctly with prefix portage
Paul Varner [Sat, 16 Jul 2011 03:16:56 +0000 (22:16 -0500)]
Update Package Class to allow passing of local_config.
The local_config variable determines if the portage.config settings
object takes the /etc/portage/package.* files into account.
Paul Varner [Fri, 15 Jul 2011 19:59:23 +0000 (14:59 -0500)]
Do not index ChangeLog entries with an invalid CPV. (Bug 375293)
Paul Varner [Thu, 14 Jul 2011 18:29:09 +0000 (13:29 -0500)]
Fix call_program to actually return stdout as string under py3k
Paul Varner [Thu, 14 Jul 2011 18:27:44 +0000 (13:27 -0500)]
Change default cache directory to '/var/cache/revdep-rebuild'
Paul Varner [Thu, 14 Jul 2011 04:21:08 +0000 (23:21 -0500)]
Fix help for --binpkgs-missing option
Paul Varner [Thu, 14 Jul 2011 02:31:41 +0000 (21:31 -0500)]
Make development warning always print
dol-sen [Thu, 14 Jul 2011 01:43:17 +0000 (18:43 -0700)]
Merge branch 'gentoolkit' of git+ssh://git.overlays.gentoo.org/proj/gentoolkit into gentoolkit
Conflicts:
pym/gentoolkit/revdep_rebuild/collect.py
pym/gentoolkit/revdep_rebuild/rebuild.py
pym/gentoolkit/revdep_rebuild/settings.py
pym/gentoolkit/revdep_rebuild/stuff.py
dol-sen [Thu, 14 Jul 2011 01:37:51 +0000 (18:37 -0700)]
major pylint cleanup, 2 probable bugs fixed along the way.
dol-sen [Wed, 13 Jul 2011 22:51:24 +0000 (15:51 -0700)]
merge head, fix conflicts, more pylint cleanup
dol-sen [Wed, 13 Jul 2011 22:37:00 +0000 (15:37 -0700)]
partial pylint cleanup
Paul Varner [Wed, 13 Jul 2011 20:06:13 +0000 (15:06 -0500)]
Fix python 3 incompatible code
Paul Varner [Wed, 13 Jul 2011 16:00:52 +0000 (11:00 -0500)]
Add from __future__ import print_function for python 3 compatability
Paul Varner [Wed, 13 Jul 2011 15:50:42 +0000 (10:50 -0500)]
Change description from 'analyze' to 'revdep-rebuild' description
Paul Varner [Wed, 13 Jul 2011 15:41:22 +0000 (10:41 -0500)]
Hardcode APP_NAME to revdep-rebuild
dol-sen [Wed, 13 Jul 2011 15:35:44 +0000 (08:35 -0700)]
fix the placement of the l.endswith('.a') in the if
dol-sen [Wed, 13 Jul 2011 05:34:01 +0000 (22:34 -0700)]
fix a possibility of a None type error in exclDictMatchCP
dol-sen [Wed, 13 Jul 2011 05:32:42 +0000 (22:32 -0700)]
fix the use of set updates and the with statement.
Paul Varner [Tue, 12 Jul 2011 21:26:14 +0000 (16:26 -0500)]
Remove automatic adding of pretend to revdep-rebuild options.
Fix la file checker to find .a libraries referenced.
Add --complete-graph=y to emerge command.
Paul Varner [Tue, 12 Jul 2011 20:31:33 +0000 (15:31 -0500)]
Fix python 3 syntax errors with new revdep-rebuild. Change VERSION to
reference __version__.
Paul Varner [Tue, 12 Jul 2011 20:05:29 +0000 (15:05 -0500)]
Update setup.py for python revdep-rebuild
Paul Varner [Tue, 12 Jul 2011 19:41:30 +0000 (14:41 -0500)]
Switch revdep-rebuild to python version.
revdep-rebuild.sh is original bash scipt.
Slawek [Thu, 28 Apr 2011 09:41:35 +0000 (11:41 +0200)]
Fixed --library checking when not using cache
Slawek [Wed, 27 Apr 2011 04:21:03 +0000 (06:21 +0200)]
Added support for file path in -L option
Slawek [Tue, 26 Apr 2011 07:08:24 +0000 (09:08 +0200)]
Fixed .la files parser. Some minor logging fixes.
dol-sen [Mon, 25 Apr 2011 07:23:55 +0000 (00:23 -0700)]
pass the nocolor setting on to emerge.
dol-sen [Mon, 25 Apr 2011 07:22:11 +0000 (00:22 -0700)]
move unused function to stuff.py
dol-sen [Mon, 25 Apr 2011 07:05:43 +0000 (00:05 -0700)]
change the masking status message.
dol-sen [Mon, 25 Apr 2011 07:04:33 +0000 (00:04 -0700)]
whitespace separation from system imports
dol-sen [Mon, 25 Apr 2011 07:03:20 +0000 (00:03 -0700)]
more cleanup of importing logging. Use the one defined or passed in to in main().
dol-sen [Mon, 25 Apr 2011 06:18:44 +0000 (23:18 -0700)]
migrate away from a global SETTINGS usage.
Better for tests and api usability.
dol-sen [Mon, 25 Apr 2011 06:15:05 +0000 (23:15 -0700)]
new /bin/revdep-ng script. revamp rebuild.py for a better api.
dol-sen [Sun, 24 Apr 2011 22:24:01 +0000 (15:24 -0700)]
convert to gentoolkit's standard tab indent.
dol-sen [Sun, 24 Apr 2011 22:18:27 +0000 (15:18 -0700)]
rename revdep-rebuild.py due to a python error if a '-' is used in the name.
Slawek [Tue, 15 Feb 2011 05:24:25 +0000 (06:24 +0100)]
Fixed bug from: bugs.gentoo.org/show_bug.cgi?id=353518
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