summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* NEWS: Update for a release0.3.2Brian Dolbec2016-07-081-0/+16
|
* enalyze: Add width and prepend optionsBrian Dolbec2016-07-082-20/+40
| | | | | 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.
* module_base.py: Add a char type cli option capabilityBrian Dolbec2016-07-081-1/+2
| | | This adds correct handling of the value being assigned to the class options.
* eshowkw: remove unused portage.db importZac Medico2016-07-031-1/+0
|
* eshowkw: migrate to PORTAGE_REPOSITORIES (bug 587856)Zac Medico2016-07-031-5/+27
| | | | | | | 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
* eclean: fix DeprecationWarning: Passing nonexistent key 'NOCOLOR'Zac Medico2016-07-021-2/+2
|
* eshowkw: use portage.root for prefix supportZac Medico2016-07-021-1/+1
|
* eclean: optimize binpkg-multi-instance support from bug 586658Zac Medico2016-06-301-25/+22
| | | | | | | | | | | | | 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
* Change open function to use UTF-8 encoding for content.Paul Varner2016-06-3013-21/+64
| | | | | | 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.
* equery: Change option --ignore-linguas to --ignore-l10nPaul Varner2016-06-301-7/+8
| | | | | Change the option to filter out the L10N USE expanded flag. This is to support the transition from using LINGUAS for localization in ebuilds.
* eclean: Add exclusion to distfiles.exclude for portage snapshotsPaul Varner2016-06-301-0/+1
| | | | | | | | 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
* equery: Fix UnicodeDecodeError in python2.7Paul Varner2016-06-301-0/+2
| | | | | | | | | 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
* eclean: Keep only packages with BUILD_TIME equal to installed oneManuel Mommertz2016-06-241-9/+13
| | | | | | X-Gentoo-bug: 586658 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658 Acked-by: Paul Varner <fuzzyray@gentoo.org>
* eclean: Apply handle binpkgs with .xpak suffix patch from bug 586658Paul Varner2016-06-231-5/+9
| | | | | | Author: Manuel Mommertz <2kmm@gmx.de> X-Gentoo-bug: 586658 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658
* Excluding masked files from rebuilding. This should fix a bug #568902Slawek Lis2016-06-091-22/+33
|
* glsa-check: Apply list only affected versions patch from bug 400763Paul Varner2016-06-061-4/+8
| | | | | | Author: Roland Hopferwieser <gentoo@int0x80.at> X-Gentoo-bug: 400763 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=400763
* equery.depends.py: Apply subslot patch from bug 5760600.3.1.1Brian Dolbec2016-06-061-0/+2
| | | | | Author: Jelte Fennema <gentoobugzilla@jeltef.nl> X-Gentoo-bug: 576060 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=576060
* distfiles.exclude: add metadata.xsd (new repoman uses it)Sergei Trofimovich2016-05-221-0/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* revdep-rebuild: Replace the deprecated logger.war calls with logger.warningBrian Dolbec2016-05-185-24/+24
|
* revdep-rebuild, assign.py: Trap an invalid cpv split bug 571782Brian Dolbec2016-05-181-0/+5
| | | | 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.
* revdep-rebuild: Update man page to indicate -e option is only in the bash ↵Brian Dolbec2016-05-181-0/+3
| | | | | | | | | 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
* revdep-rebuild, settings.py: whitespace cleanupBrian Dolbec2016-05-181-28/+28
|
* equery: Fix outdated link in man page bug 583054Brian Dolbec2016-05-181-1/+1
| | | | | | 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
* revdep-rebuild/collect.py: Fix the masking issue where some masks were not ↵Brian Dolbec2016-05-171-6/+6
| | | | | | 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.
* eshowkw: Fix previous commit to not always turn on prefixPaul Varner2016-04-061-1/+1
| | | | | | 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.
* eshowkw: Imply prefix when specifing an archPaul Varner2016-03-311-0/+5
| | | | | This fixes bug 578496. When a user specifies and architecture, we should just display it regardless of its prefix status.
* Sort eshowkw headers by arch status firstDirkjan Ochtman2016-03-171-7/+15
|
* Install tmpfiles.d fragment in /usr/lib/tmpfiles.dMike Gilbert2016-03-131-1/+1
| | | | Bug: https://bugs.gentoo.org/577284
* enalyze/analyze.py: Sort the flags for the analyze packages outputBrian Dolbec2016-02-251-2/+3
| | | Feature request from: Fernando Reyes
* revdep-rebuild/analyse.py: Add file masks to the collecting masksBrian Dolbec2016-02-251-2/+8
| | | | | | 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.
* revdep-rebuild: fix typo in bugs messageJason A. Donenfeld2016-01-181-1/+1
|
* Remove useless print() in set_versionMike Gilbert2015-12-201-3/+0
| | | | | | This was causing a TypeError in python3. Bug: https://bugs.gentoo.org/568906
* revdep-rebuild/analyse.py: Account for more than 5 parts to report the error ↵Brian Dolbec2015-12-191-4/+4
| | | | | | | | | | | 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)
* revdep-rebuild: Adjust the intro message for a normal release0.3.1Brian Dolbec2015-12-161-3/+3
|
* Fix the file open() calls to work with Python 2Paul Varner2015-11-2412-28/+28
| | | | | The generalized file open call needs to look like: with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file
* Change all open() calls to use Unicode.Paul Varner2015-11-2412-23/+43
| | | | | | | | | | | | | 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.
* Fix spelling errorPaul Varner2015-11-241-1/+1
|
* Update documentationPaul Varner2015-11-243-36/+11
| | | | | | Add a pointer to gitweb in Changelog Update policy for creating releases in README.dev Remove obsolete TODO file
* Get status of arch from profileJustin Lecher2015-11-191-3/+73
| | | | | | | | 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>
* Add eapi column to the eshowkwDenis Romanchuk2015-11-173-16/+33
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* equery/meta.py: Re-add the coma, so it makes the data a true tuple.Brian Dolbec2015-11-091-3/+3
| | | | 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.
* equery/meta.py: Revert the changes to the verbose section or format_maintainersBrian Dolbec2015-11-081-3/+3
| | | | | | | The last change would always print the first string even if the maint attribute was None. This was due to the string always being non-empty. The original code there was correct. It was only the maint.email assignment that was in error.
* equery/meta.py: Fix a traceback reported by Manuel RuegerBrian Dolbec2015-11-081-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | equery m python-whiteboard * x11-apps/python-whiteboard [gentoo] Herd: proxy-maintainers (proxy-maint@gentoo.org) Maintainer: lxnay@gentoo.org (Fabio Erculiani) Maintainer. Assign bugs to him Maintainer: ziapannocchia@gmail.com (Marco Clocchiatti) Proxy maintainer. CC him on bugs Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/equery", line 38, in <module> equery.main(sys.argv) File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/__init__.py", line 357, in main loaded_module.main(module_args) File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/meta.py", line 567, in main call_format_functions(best_match, matches) File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/meta.py", line 338, in call_format_functions upstream = format_upstream(best_match.metadata.upstream()) File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/meta.py", line 220, in format_upstream upmaints = format_maintainers(up.maintainers) File "/usr/lib64/python2.7/site-packages/gentoolkit/equery/meta.py", line 185, in format_maintainers maintstr += " (%s)" % (maint.name,) if maint.name else '' TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str' Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* gentoolkit: Fix to allow package names of all digits. Bug 562952Paul Varner2015-10-222-3/+3
| | | | | | | | | | | According to PMS, "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". This specification means that a package name can be composed of all digits. This fixes cpv.py and query.py to allow package names of all digits.
* eclean: Fix traceback error caused by adding -i optionPaul Varner2015-10-191-0/+1
|
* eclean: Add option to allow for missing PKGDIR. Bug 551266Paul Varner2015-10-193-4/+10
| | | | | | | | Added -i, --ignore-failure to ignore a missing PKGDIR error and exit cleanly. This was requested by the Chromium OS project, since they run eclean in an automated process and the directory may not exist yet. References: http://crbug.com/323420
* revdep-rebuild: add tmpfiles.d filePaul Varner2015-10-162-0/+2
| | | | | Add a configuration file to create /var/cache/revdep-rebuild. This is needed for fixing bug 498990 in the gentoolkit ebuild.
* eclean: fix eclean-pkg -n -d Bug #472020Marc Joliet2015-10-151-1/+1
| | | | Signed-off-by: Paul Varner <fuzzyray@gentoo.org>
* eshowkw: Gray out unstable archesMichał Górny2015-08-091-0/+3
|
* gentoolkit: Fix query.py to properly work with sets (Bug 546726)Paul Varner2015-06-021-1/+1
|