| Age | Commit message (Collapse) | Author |
|
Fixes: 263e3d64adac1ee2968233e151d1ee590532f42d
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Commit 2b7b788fb31a74bcbff4e4c6efc6f3db6c3a49b7 upstream makes more use
of the result from a merge driver.
Correctly surface the result from `git merge-file` so that we don't wrongly
throw away information but also don't make git think the driver crashed (-1
is for exceptional cases, not "failed to merge").
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/900224
Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com>
Closes: https://github.com/gentoo/gentoolkit/pull/31
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/900224
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
* Rename --clean-invalids -> --clean-invalid
* Add --clean-invalid to help
* Make it default-off for now to match the option name (rather than
the help saying --no-clean-invalids).
(I could go either way on what the actual default should be, but this is more
conservative for now.)
* Fix typo in option name.
* Make it a package specific arg, not a global one.
Bug: https://bugs.gentoo.org/900224
Fixes: 204b1abca2c0cbbdad188c7fd4b84452c2f630a0
Fixes: a16d0d4fbfb4614832c4b682b41284a9050af29f
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/900224
Fixes: a16d0d4fbfb4614832c4b682b41284a9050af29f
Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com>
Closes: https://github.com/gentoo/gentoolkit/pull/30
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Changes required in portage -> https://github.com/gentoo/portage/pull/1016
Bug: https://bugs.gentoo.org/900224
Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Fixes: 637bfbfb27d2104a81d80e5c67a7878d2e874966
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/369581
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/709816
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Alexis <flexibeast@gmail.com>
Closes: https://github.com/gentoo/gentoolkit/pull/29
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Diego Viola <diego.viola@gmail.com>
Closes: https://github.com/gentoo/gentoolkit/pull/27
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/902551
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Closes: https://github.com/gentoo/gentoolkit/pull/26
Signed-off-by: Sam James <sam@gentoo.org>
|
|
See 5318fb2032cf24beafdda843af83c0a56d6c9dfe.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Per https://github.com/actions/setup-python/issues/150, we can just do
3.12-dev and such.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Use the latest Python 3.11 release.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Greg Kubaryk <kurly@vt.edu>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Closes: https://github.com/gentoo/gentoolkit/pull/23
Signed-off-by: Sam James <sam@gentoo.org>
|
|
In Flatcar we have a different repo marked as a default one
(portage-stable), so "equery keywords" was crashing because it was
trying to use gentoo repo anyways.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Closes: https://github.com/gentoo/gentoolkit/pull/24
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Fixes commit 84ffe42e5 which set nocolor before options were parsed.
Bug: https://bugs.gentoo.org/861116
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/576224
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/382009
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/pkgindex.py", line
60, in clean_pkgs_index
if self.get_emaint_binhost():
AttributeError: 'PkgIndex' object has no attribute 'get_emaint_binhost'. Did
you mean: '_get_emaint_binhost'?
Also fix too many parameters in line 68 for the self.controller() call
Bug: https://bugs.gentoo.org/857555
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
This reverts commit bbbde97b5e625a49a1a66e307931548cb33f260b.
setuptools only installs data files to the python pkg directory
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
flake8 did not correctly detect the way the variable is used.
Add an assert to eliminate the false detection.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Remove unused FORMAT_TMPL_VARS import
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
File "/home/brian/Dev/git/gentoolkit/pym/gentoolkit/equery/depends.py"
, line 106, in format_depend
self.print_fn(indent, str(dep.cpv), use_conditional, formatted_dep)
UnboundLocalError: local variable 'formatted_dep' referenced before
assignment
The statement appears to be added as preliminary debug info.
Removed it.
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
A quick look into the source reveals that there is actually code to handle the case,
but it expects the wrong exception type.
This patch fixes that and also avoids a crash for other errors.
Bug: https://bugs.gentoo.org/494134
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Portage's metadata handling code was originally ported from gentoolkit.
Finally get around to migrating, eliminating duplicate code.
Bug: https://bugs.gentoo.org/573030
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Add description property to Package class.
If no description in metadata.xml, get the description from the ebuild.
Bug: https://bugs.gentoo.org/447538
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
original Author: buchner.johannes@gmx.at
Bug: https://bugs.gentoo.org/648444
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/506394
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/626308
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
Gentoo-bug-url: https://bugs.gentoo.org/703282
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
eclean-pkg now uses imported emaint binhost code to run,
Properly handle --quiet option for progressbar suppression from emaint.
Keeps the standalone emaint binhost subprocess call as backup.
Closes: https://bugs.gentoo.org/688550
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
|
We'd like to use ekeyword in a git merge driver implementation, but the
files that the driver will pass to ekeyword do not necessarily have a
.ebuild suffix. Therefore, it would be handy to be able to distinguish
ebuild arguments some other way. If the ignorable_arg(arg) function
returns False and os.path.isfile(arg) returns True, then simply assume
that the argument is an ebuild.
Bug: https://bugs.gentoo.org/762331
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Closes: https://github.com/gentoo/gentoolkit/pull/13
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|