summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-23eshowkw: distinguish repository of installed package (bug 600486)Zac Medico
X-Gentoo-bug: 600486 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=600486 Acked-by: Brian Dolbec <dolsen@gentoo.org>
2016-10-17eread: Fix bash error when the elog directory is emptyPaul Varner
This fixes the following error from bash which causes an infinite loop. /usr/bin/eread: line 64: break: only meaningful in a `for', `while', or `until' loop X-Gentoo-bug: 597132 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=597132
2016-09-15gentoolkit/package.py: Fix dblink call py3 compatibility bug 575788Brian Dolbec
2016-09-14revdep-rebuild: Use realpath on the mask directories too (Bug 593672)Brian Dolbec
2016-09-14revdep-rebuild: Fix filename matching for directories (bug 593672)Brian Dolbec
Also fixed all_masks not including lib32 lib64 (were added after all_masks was assigned). Fixed to ensure it does not match on partial directory names by splitting the paths on the os.sep boundaries. Test using realpaths as well.
2016-08-16gentoolkit: Fix to allow a package name to end with a hyphenPaul Varner
From PMS: "3.1.2 Package Names A package name may contain any of the characters [A-Za-z0-9+_-]. It must not begin with a hyphen or a plus sign, and must not end in a hyphen followed by anything matching the version syntax described in section 3.2." This fixes the validation in cpv.py to allow a package name to end with a hyphen as long as what follows does not match a version. X-Gentoo-bug: 586986 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586986
2016-08-15revdep-ebuild: Fix unicode argument expected errorPaul Varner
Use the os module from portage to fix inconsistent returning of unicode and str objects from listdir and explictly write the timestamp as unicode. X-Gentoo-bug: 589130 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=589130
2016-07-31Merge branch 'master' of git+ssh://git.gentoo.org/proj/gentoolkitBrian Dolbec
2016-07-25Add missing import of io.open when using python2.7Paul Varner
This fixes the traceback when running equery changes with Python 2.7 X-Gentoo-bug: 589686 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=589686
2016-07-08NEWS: Update for a releaseBrian Dolbec
2016-07-08enalyze: Add width and prepend optionsBrian Dolbec
These options are useful for creating preformatted wiki list entries. Feature request from Fernando Reyes for the livedvd packages list. This adds a prepend and width setting for any of the analyze keys.
2016-07-08module_base.py: Add a char type cli option capabilityBrian Dolbec
This adds correct handling of the value being assigned to the class options.
2016-07-03eshowkw: remove unused portage.db importZac Medico
2016-07-03eshowkw: migrate to PORTAGE_REPOSITORIES (bug 587856)Zac Medico
Since PORTDIR_OVERLAY is deprecated, migrate to PORTAGE_REPOSITORIES. X-Gentoo-bug: 587856 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=587856
2016-07-02eclean: fix DeprecationWarning: Passing nonexistent key 'NOCOLOR'Zac Medico
2016-07-02eshowkw: use portage.root for prefix supportZac Medico
2016-06-30eclean: optimize binpkg-multi-instance support from bug 586658Zac Medico
Use the portage binarytree API to optimize binary package access, so that metadata is read from $PKGDIR/Packages instead of from the individual binary packages. Symlinks will now be ignored, since portage hasn't used symlinks for years, and there's no harm in ignoring them now. The APIs used are compatible with very old portage, though they internally support binpkg-multi-instance in recent versions of portage. X-Gentoo-bug: 586658 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658
2016-06-30Change open function to use UTF-8 encoding for content.Paul Varner
Uses io.open for Python 2 and built-in open for Python 3 All data from files is treated as Unicode and this should fix most UnicodeDecodeErrors.
2016-06-30equery: Change option --ignore-linguas to --ignore-l10nPaul Varner
Change the option to filter out the L10N USE expanded flag. This is to support the transition from using LINGUAS for localization in ebuilds.
2016-06-30eclean: Add exclusion to distfiles.exclude for portage snapshotsPaul Varner
Added portage-\d\d\d\d\d\d\d\d\.tar\.bz2 to distfiles.exclude to avoid removing portage snapshots used by emerge-delta-webrsync. X-Gentoo-bug: 300224 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=300224
2016-06-30equery: Fix UnicodeDecodeError in python2.7Paul Varner
This fix explicitly decodes the content of the USE description files as UTF-8. This fixes the UnicodeDecodeError in Python 2.7. Tested with a POSIX locale with Python 2.7, 3.4 and 3.5. X-Gentoo-bug: 587606 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=587606
2016-06-24eclean: Keep only packages with BUILD_TIME equal to installed oneManuel Mommertz
X-Gentoo-bug: 586658 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658 Acked-by: Paul Varner <fuzzyray@gentoo.org>
2016-06-23eclean: Apply handle binpkgs with .xpak suffix patch from bug 586658Paul Varner
Author: Manuel Mommertz <2kmm@gmx.de> X-Gentoo-bug: 586658 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658
2016-06-09Excluding masked files from rebuilding. This should fix a bug #568902Slawek Lis
2016-06-06glsa-check: Apply list only affected versions patch from bug 400763Paul Varner
Author: Roland Hopferwieser <gentoo@int0x80.at> X-Gentoo-bug: 400763 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=400763
2016-06-06equery.depends.py: Apply subslot patch from bug 576060Brian Dolbec
Author: Jelte Fennema <gentoobugzilla@jeltef.nl> X-Gentoo-bug: 576060 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=576060
2016-05-22distfiles.exclude: add metadata.xsd (new repoman uses it)Sergei Trofimovich
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2016-05-18revdep-rebuild: Replace the deprecated logger.war calls with logger.warningBrian Dolbec
2016-05-18revdep-rebuild, assign.py: Trap an invalid cpv split bug 571782Brian Dolbec
Added a check for parts not being valid None or empty list from the catpkgsplit(cpv) call. It will now log the warning with the invalid cpv.
2016-05-18revdep-rebuild: Update man page to indicate -e option is only in the bash ↵Brian Dolbec
version bug 577936 I would still like to implement this option in the python version. This is a stop-gap measure only. X-Gentoo-bug: 577936 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=577936
2016-05-18revdep-rebuild, settings.py: whitespace cleanupBrian Dolbec
2016-05-18equery: Fix outdated link in man page bug 583054Brian Dolbec
Replace it with the new Devmanula wiki page link for the metadata.xml file. X-Gentoo-bug: 583054 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=583054
2016-05-17revdep-rebuild/collect.py: Fix the masking issue where some masks were not ↵Brian Dolbec
honored The masks at this point are combined into one list, both directories and files. The code was only checking the full path, not the files for being in the masks.
2016-04-06eshowkw: Fix previous commit to not always turn on prefixPaul Varner
Mistakenly was checking highlight_arch instead of opts.arch to see if any architectures were specified. This had the effect of always enabling the prefix architectures.
2016-03-31eshowkw: Imply prefix when specifing an archPaul Varner
This fixes bug 578496. When a user specifies and architecture, we should just display it regardless of its prefix status.
2016-03-17Sort eshowkw headers by arch status firstDirkjan Ochtman
2016-03-13Install tmpfiles.d fragment in /usr/lib/tmpfiles.dMike Gilbert
Bug: https://bugs.gentoo.org/577284
2016-02-25enalyze/analyze.py: Sort the flags for the analyze packages outputBrian Dolbec
Feature request from: Fernando Reyes
2016-02-25revdep-rebuild/analyse.py: Add file masks to the collecting masksBrian Dolbec
file_masks appear to have been missed being added to the masks passed to the collections functions. Hopefully this will resolve most of the errors people are getting. My testing, only bacula has any errors, but it does not work to add the offending symlink target lib to LD_LIBRARY_MASK.
2016-01-18revdep-rebuild: fix typo in bugs messageJason A. Donenfeld
2015-12-20Remove useless print() in set_versionMike Gilbert
This was causing a TypeError in python3. Bug: https://bugs.gentoo.org/568906
2015-12-19revdep-rebuild/analyse.py: Account for more than 5 parts to report the error ↵Brian Dolbec
bug 586752 As suggested by Zac Medico, the %F output does have the possibility of containing spaces, breaking a space separated output. Change the format string to delimit on a semicolon to split it on. Traceback: File "/usr/lib64/python3.4/site-packages/gentoolkit/revdep_rebuild/analyse.py", line 47, in scan_files filename, sfilename, soname, needed, bits = parts ValueError: too many values to unpack (expected 5)
2015-12-16revdep-rebuild: Adjust the intro message for a normal releaseBrian Dolbec
2015-11-24Fix the file open() calls to work with Python 2Paul Varner
The generalized file open call needs to look like: with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file
2015-11-24Change all open() calls to use Unicode.Paul Varner
We are using the following import from portage: from portage import _encodings, _unicode_decode, _unicode_encode A generalized call using the definitions from portage looks like: with open(_unicode_encode(path), encoding=_encodings['fs']) as open_file The portage code has been in place since 2013 and using the definitions from portage ensures we maintain compatibility if portage changes. All portage versions in the tree contain the above code.
2015-11-24Fix spelling errorPaul Varner
2015-11-24Update documentationPaul Varner
Add a pointer to gitweb in Changelog Update policy for creating releases in README.dev Remove obsolete TODO file
2015-11-19Get status of arch from profileJustin Lecher
The stable, dev, exp status of the arches was hardcoded. This change copies the code form ekeyword to read the status from profiles directly. Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-11-17Add eapi column to the eshowkwDenis Romanchuk
Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-11-09equery/meta.py: Re-add the coma, so it makes the data a true tuple.Brian Dolbec
As pointed out by Arfrever Frehtes Taifersar Arahesis, this prides protection in that if the variable's data is a tuple. The conversion will still happen correctly.