summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-19Revert "ci: add py3.13"Sam James
This reverts commit e0dc707cc7a37336c175faf463666e5f531a338f. Didn't mean to push this. Signed-off-by: Sam James <sam@gentoo.org>
2024-01-19tox: update implsSam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-19ci: add py3.13Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-19ci: add pypy3.10Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-18v0.6.4Matt Turner
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2024-01-18NEWS: Populate for 0.6.2, 0.6.3, 0.6.4Matt Turner
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2024-01-12eclean: Strip libc dependencies from --changed-deps calculationsMatt Turner
Closes: https://bugs.gentoo.org/921679 Closes: https://github.com/gentoo/gentoolkit/pull/38 Signed-off-by: Matt Turner <mattst88@gentoo.org>
2024-01-11CI: Update portage to 3.0.57Matt Turner
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2023-12-03meson: drop find_program('sed') as it isn't usedFlorian Schmaus
Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/37 Signed-off-by: Sam James <sam@gentoo.org>
2023-12-03Enhancement: eclean-dist handle git checkoutsSiddhanth Rathod
A new feature for eclean-dist to clean git3-src. Optionally, cleaning the vcs-src can be skipped with --skip-vcs. Bug: https://bugs.gentoo.org/622938 Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/33 Signed-off-by: Sam James <sam@gentoo.org>
2023-12-03man/revdep-rebuild.1: fix 'executables' typoSam James
Reported by kurly, thanks! Signed-off-by: Sam James <sam@gentoo.org>
2023-10-12Migrate to PEP517 meson-python buildZac Medico
Bug: https://bugs.gentoo.org/909888 Signed-off-by: Zac Medico <zmedico@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/36 Signed-off-by: Sam James <sam@gentoo.org>
2023-10-08eclean: pkg: suppress invalid binary errorSiddhanth Rathod
[sam: Note that this needs https://github.com/gentoo/portage/pull/1123 on the Portage side.] Bug: https://bugs.gentoo.org/900224 Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/35 Signed-off-by: Sam James <sam@gentoo.org>
2023-10-08eclean: pkg: fix pkgindex handlingSiddhanth Rathod
Last implemention was importing binhost module incorrectly: calling Modules() from portage.module which sets binhost var to the BinhostHandler class which would always fail as it needs name and namepath, leading to always call emaint via a subprocess call. Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-09-29eclean-pkg: fix compatibility with FEATURES=pkgdir-index-trustedSiddhanth Rathod
Portage recently enabled FEATURES=pkgdir-index-trusted by default which breaks the eclean-invalids feature. Force reindexing after cleaning up to fix this. See-also: https://github.com/gentoo/portage/commit/3bc7bfef51d88fd716e882d3931f2873e3493e01 Bug: https://bugs.gentoo.org/889300 Bug: https://bugs.gentoo.org/900224 Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/34 Signed-off-by: Sam James <sam@gentoo.org>
2023-09-19equery meta: map the remote-id to the respective urlSiddhanth Rathod
Bug: https://bugs.gentoo.org/877519 Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/32 Signed-off-by: Sam James <sam@gentoo.org>
2023-08-29bin/merge-driver-ekeyword: replace os.system with os.execlpMike Gilbert
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-08-29bin/merge-driver-ekeyword: mangle exit code correctlySam James
Fixes: 263e3d64adac1ee2968233e151d1ee590532f42d Signed-off-by: Sam James <sam@gentoo.org>
2023-08-29bin/merge-driver-ekeyword: fix compatibility with >=git-2.42.0Sam James
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>
2023-08-24eclean: Make cleaning invalid defaultSiddhanth Rathod
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>
2023-08-22eclean-pkg: placate blackSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-08-22Drop useless imports (fix flake8)Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-08-22eclean-pkg: fix --help alignment, mention shortopt for clean-invalidSam James
Bug: https://bugs.gentoo.org/900224 Signed-off-by: Sam James <sam@gentoo.org>
2023-08-22eclean-pkg: fix --unique-use shortoptSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-08-22eclean-pkg: add --clean-invalid to help, fix parsingSam James
* 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>
2023-08-22eclean-pkg: Limit invalid search to 'packages' actionSiddhanth Rathod
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>
2023-08-21eclean-pkg: deal with invalid binpkgsSiddhanth Rathod
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>
2023-08-21eclean: Add type hintsSiddhanth Rathod
Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
2023-08-07Run `pyupgrade --py39-plus`Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-08-05equery: reformat with blackSam James
Fixes: 637bfbfb27d2104a81d80e5c67a7878d2e874966 Signed-off-by: Sam James <sam@gentoo.org>
2023-07-18equery: list: correctly handle installed packages no longer in treeRafał Mużyło
Closes: https://bugs.gentoo.org/369581 Signed-off-by: Sam James <sam@gentoo.org>
2023-07-18equery: depgraph: Fix --linear shortopt (-l)Sam James
Closes: https://bugs.gentoo.org/709816 Signed-off-by: Sam James <sam@gentoo.org>
2023-06-17equery.1: Add description of 'keywords' module, fix typo.Alexis
Signed-off-by: Alexis <flexibeast@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/29 Signed-off-by: Sam James <sam@gentoo.org>
2023-06-04enalyze/analyze.py: fix typosDiego Viola
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>
2023-03-24.editorconfig: add (import from portage)Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-22Support the NO_COLOR environment variableUlrich Müller
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>
2023-03-20.gitignorerevs: update for Black reformattingSam James
See 5318fb2032cf24beafdda843af83c0a56d6c9dfe. Signed-off-by: Sam James <sam@gentoo.org>
2023-03-20*/*: Reformat with newer BlackSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-20CI: add Python 3.12 alphasSam James
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>
2023-03-20CI: update Portage versionSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-20CI: fix Python 3.11 workflow/jobSam James
Use the latest Python 3.11 release. Signed-off-by: Sam James <sam@gentoo.org>
2023-01-07eshowkw: Fix spelling errorGreg Kubaryk
Signed-off-by: Greg Kubaryk <kurly@vt.edu> Signed-off-by: Sam James <sam@gentoo.org>
2022-12-14man: fix path of distfilesVitaly Zdanevich
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>
2022-12-14profile: Default to main repo nameKrzesimir Nowak
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>
2022-12-03ebump: Use `git rev-parse --is-inside-work-tree`Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-12-03ebump: Replace which(1) with `command -v`Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-07-28equery: Set nocolor for piping to after options are parsedBrian Dolbec
Fixes commit 84ffe42e5 which set nocolor before options were parsed. Bug: https://bugs.gentoo.org/861116 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
2022-07-11equery meta: Put maintainer description on the same lineBrian Dolbec
Bug: https://bugs.gentoo.org/576224 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
2022-07-11revdep-rebuild.sh: Create its cache dir if it doesn't existBrian Dolbec
Bug: https://bugs.gentoo.org/382009 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
2022-07-10eclean/pkgindex.py: Fix typo in function callBrian Dolbec
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>