aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ci: add py3.13Sam James2024-01-191-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ci: add pypy3.10Sam James2024-01-191-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* v0.6.4gentoolkit-0.6.4Matt Turner2024-01-181-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* NEWS: Populate for 0.6.2, 0.6.3, 0.6.4Matt Turner2024-01-181-1/+21
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* eclean: Strip libc dependencies from --changed-deps calculationsMatt Turner2024-01-121-1/+7
| | | | | | Closes: https://bugs.gentoo.org/921679 Closes: https://github.com/gentoo/gentoolkit/pull/38 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* CI: Update portage to 3.0.57Matt Turner2024-01-111-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* meson: drop find_program('sed') as it isn't usedFlorian Schmaus2023-12-031-2/+0
| | | | | | Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/37 Signed-off-by: Sam James <sam@gentoo.org>
* Enhancement: eclean-dist handle git checkoutsSiddhanth Rathod2023-12-033-16/+89
| | | | | | | | | | | 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>
* man/revdep-rebuild.1: fix 'executables' typoSam James2023-12-031-1/+1
| | | | | | Reported by kurly, thanks! Signed-off-by: Sam James <sam@gentoo.org>
* Migrate to PEP517 meson-python buildgentoolkit-0.6.3Zac Medico2023-10-1232-203/+454
| | | | | | | 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>
* eclean: pkg: suppress invalid binary errorSiddhanth Rathod2023-10-081-1/+4
| | | | | | | | | | [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>
* eclean: pkg: fix pkgindex handlingSiddhanth Rathod2023-10-082-92/+11
| | | | | | | | | | 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>
* eclean-pkg: fix compatibility with FEATURES=pkgdir-index-trustedgentoolkit-0.6.2Siddhanth Rathod2023-09-291-3/+8
| | | | | | | | | | | | | | 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>
* equery meta: map the remote-id to the respective urlSiddhanth Rathod2023-09-191-10/+41
| | | | | | | 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>
* bin/merge-driver-ekeyword: replace os.system with os.execlpMike Gilbert2023-08-291-4/+3
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* bin/merge-driver-ekeyword: mangle exit code correctlySam James2023-08-291-3/+5
| | | | | Fixes: 263e3d64adac1ee2968233e151d1ee590532f42d Signed-off-by: Sam James <sam@gentoo.org>
* bin/merge-driver-ekeyword: fix compatibility with >=git-2.42.0Sam James2023-08-291-1/+1
| | | | | | | | | | | 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>
* eclean: Make cleaning invalid defaultSiddhanth Rathod2023-08-241-7/+8
| | | | | | | 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>
* eclean-pkg: placate blackSam James2023-08-221-2/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Drop useless imports (fix flake8)Sam James2023-08-222-2/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eclean-pkg: fix --help alignment, mention shortopt for clean-invalidSam James2023-08-221-2/+2
| | | | | Bug: https://bugs.gentoo.org/900224 Signed-off-by: Sam James <sam@gentoo.org>
* eclean-pkg: fix --unique-use shortoptSam James2023-08-221-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eclean-pkg: add --clean-invalid to help, fix parsingSam James2023-08-221-7/+12
| | | | | | | | | | | | | | | | | * 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>
* eclean-pkg: Limit invalid search to 'packages' actionSiddhanth Rathod2023-08-221-22/+24
| | | | | | | | 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>
* eclean-pkg: deal with invalid binpkgsSiddhanth Rathod2023-08-213-6/+64
| | | | | | | | 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>
* eclean: Add type hintsSiddhanth Rathod2023-08-211-8/+9
| | | | | Signed-off-by: Siddhanth Rathod <xsiddhanthrathod@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* Run `pyupgrade --py39-plus`Sam James2023-08-0753-244/+200
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* equery: reformat with blackSam James2023-08-051-2/+8
| | | | | Fixes: 637bfbfb27d2104a81d80e5c67a7878d2e874966 Signed-off-by: Sam James <sam@gentoo.org>
* equery: list: correctly handle installed packages no longer in treeRafał Mużyło2023-07-181-2/+2
| | | | | Closes: https://bugs.gentoo.org/369581 Signed-off-by: Sam James <sam@gentoo.org>
* equery: depgraph: Fix --linear shortopt (-l)Sam James2023-07-181-1/+1
| | | | | Closes: https://bugs.gentoo.org/709816 Signed-off-by: Sam James <sam@gentoo.org>
* equery.1: Add description of 'keywords' module, fix typo.Alexis2023-06-171-2/+76
| | | | | | Signed-off-by: Alexis <flexibeast@gmail.com> Closes: https://github.com/gentoo/gentoolkit/pull/29 Signed-off-by: Sam James <sam@gentoo.org>
* enalyze/analyze.py: fix typosDiego Viola2023-06-041-3/+3
| | | | | | 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>
* .editorconfig: add (import from portage)Sam James2023-03-241-0/+21
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Support the NO_COLOR environment variableUlrich Müller2023-03-226-18/+29
| | | | | | | 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>
* .gitignorerevs: update for Black reformattingSam James2023-03-201-0/+2
| | | | | | See 5318fb2032cf24beafdda843af83c0a56d6c9dfe. Signed-off-by: Sam James <sam@gentoo.org>
* */*: Reformat with newer BlackSam James2023-03-206-6/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: add Python 3.12 alphasSam James2023-03-201-0/+1
| | | | | | | 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>
* CI: update Portage versionSam James2023-03-201-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: fix Python 3.11 workflow/jobSam James2023-03-201-1/+1
| | | | | | Use the latest Python 3.11 release. Signed-off-by: Sam James <sam@gentoo.org>
* eshowkw: Fix spelling errorGreg Kubaryk2023-01-072-2/+2
| | | | | Signed-off-by: Greg Kubaryk <kurly@vt.edu> Signed-off-by: Sam James <sam@gentoo.org>
* man: fix path of distfilesVitaly Zdanevich2022-12-141-1/+1
| | | | | | 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>
* profile: Default to main repo nameKrzesimir Nowak2022-12-141-5/+10
| | | | | | | | | | 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>
* ebump: Use `git rev-parse --is-inside-work-tree`Michał Górny2022-12-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ebump: Replace which(1) with `command -v`Michał Górny2022-12-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* equery: Set nocolor for piping to after options are parsedBrian Dolbec2022-07-281-2/+4
| | | | | | | | Fixes commit 84ffe42e5 which set nocolor before options were parsed. Bug: https://bugs.gentoo.org/861116 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* equery meta: Put maintainer description on the same lineBrian Dolbec2022-07-111-1/+1
| | | | | | Bug: https://bugs.gentoo.org/576224 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* revdep-rebuild.sh: Create its cache dir if it doesn't existBrian Dolbec2022-07-111-1/+2
| | | | | | Bug: https://bugs.gentoo.org/382009 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* eclean/pkgindex.py: Fix typo in function callBrian Dolbec2022-07-101-2/+2
| | | | | | | | | | | | | | 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>
* Revert "setup.py: migrate to setuptools"Brian Dolbec2022-07-101-4/+4
| | | | | | | This reverts commit bbbde97b5e625a49a1a66e307931548cb33f260b. setuptools only installs data files to the python pkg directory Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* NEWS: update for point releasegentoolkit-0.6.1Brian Dolbec2022-07-101-0/+7
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>