| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Unable to merge due to confilts in history, removed gnetoolkit paths in gentoolkit-dev...
So do a basic new files commit instead.
For the previous history of the different packages, refer to the gentoolkit-dev branch.
|
|
|
|
|
|
|
|
|
| |
Use a _file_matcher class to make file comparisons work regardless
of directory symlinks.
X-Gentoo-bug: 611808
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=611808
Acked-by: Brian Dolbec <dolsen@gentoo.org>
|
|
|
|
| |
both GLSA formats
|
| |
|
|
|
|
|
|
| |
X-Gentoo-bug: 600486
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=600486
Acked-by: Brian Dolbec <dolsen@gentoo.org>
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
|
|
| |
This adds correct handling of the value being assigned to the class options.
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Change the option to filter out the L10N USE expanded flag. This is to
support the transition from using LINGUAS for localization in ebuilds.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
X-Gentoo-bug: 586658
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658
Acked-by: Paul Varner <fuzzyray@gentoo.org>
|
|
|
|
|
|
| |
Author: Manuel Mommertz <2kmm@gmx.de>
X-Gentoo-bug: 586658
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=586658
|
| |
|
|
|
|
|
| |
Author: Jelte Fennema <gentoobugzilla@jeltef.nl>
X-Gentoo-bug: 576060
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=576060
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This fixes bug 578496. When a user specifies and architecture, we should
just display it regardless of its prefix status.
|
| |
|
|
|
| |
Feature request from: Fernando Reyes
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
The generalized file open call needs to look like:
with open(_unicode_encode(path, encoding=_encodings['fs'])) as open_file
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|