aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bash completion: replace deprecated _init_completionHEADmainLucio Sauer2024-07-201-1/+1
| | | | | | Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Closes: https://github.com/pkgcore/pkgdev/pull/190 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bash completion: support Closes tags with resolutionLucio Sauer2024-07-201-2/+18
| | | | | | | | _comp_ltrim_colon_completions was introduced with >=bash-completion-2.12 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tests: add tests for Closes tags with resolutionLucio Sauer2024-07-201-0/+30
| | | | | Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev commit: add optional support for Closes tags with resolutionLucio Sauer2024-07-201-2/+49
| | | | | | | | | | | | | | | | | | Support resolutions FIXED, OBSOLETE and PKGREMOVED, provided that the bug belongs to b.g.o. The default and fallback resolution is FIXED. Together with server-side changes to https://gitweb.gentoo.org/infra/githooks.git/, this patch allows Gentoo contributors to generate commit tags that cause bugs to be closed automatically with the indicated resolution. Currently, only the string after the last colon in the argument is significant for the resolution. Therefore, one could theoretically craft invalid tags such as 'Closes: https://bugs.gentoo.org/123:foo (obsolete)' Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bash-completion: use _filedirArthur Zamarin2024-07-041-16/+11
| | | | | | This handles spaces and such much much better Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tatt: fix template for extra fileArthur Zamarin2024-07-011-3/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mask: support filing bugs with no dependent bugsArthur Zamarin2024-06-121-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mask: fix test & improve error messagesArthur Zamarin2024-06-022-2/+8
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/188 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mask: support comma separated bugsArthur Zamarin2024-05-311-2/+5
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mask: support auto filing of last-rite bug & PMASKED bugsArthur Zamarin2024-05-182-36/+119
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: testing on macos is experimentalArthur Zamarin2024-05-181-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pyproject.toml: bump depsArthur Zamarin2024-05-181-3/+3
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mask: update removal line to match GLEP-84Arthur Zamarin2024-05-172-2/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.2.11Arthur Zamarin2024-03-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.10v0.2.10Arthur Zamarin2024-03-121-0/+15
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tatt: test run should be after the use combinationsArthur Zamarin2024-03-121-3/+3
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/174 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tatt: fix required_use for packages from bugArthur Zamarin2024-03-121-3/+3
| | | | | | | | | | | | When invoked on bug's package list, we use nattka to find matches in the repo. Nattka requires configured repo, which we were passing beforehand. But this results in a case where we have a configured packages, without source ebuild's "required_use" (it was "configured" by the domain). While somewhat ugly, fix it by performing a second iteration, this time over the source repo, and get the expected package object we can use. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* base-completion: fix missing and errorArthur Zamarin2024-02-261-1/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: don't crash when atom not found in historyArthur Zamarin2024-02-261-7/+17
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.2.10Arthur Zamarin2024-02-101-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.9v0.2.9Arthur Zamarin2024-02-101-0/+44
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: bump dependenciesArthur Zamarin2024-01-263-16/+15
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* git-blame-ignore-revs: ignore black 24 formatArthur Zamarin2024-01-261-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* reformat with black 24Arthur Zamarin2024-01-266-143/+258
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix(docs): Add intersphinx_mappingBrian Harring2024-01-261-0/+7
| | | | | | This fixes any documentation links to the enumerated projects. Signed-off-by: Brian Harring <ferringb@gmail.com>
* remove accidentally commited file.Brian Harring2024-01-261-1/+0
| | | | | | | No clue why this was a symlink when it got committed originally, but wiping it. Signed-off-by: Brian Harring <ferringb@gmail.com>
* bugs: indicate why dependent packages are addedArthur Zamarin2024-01-251-4/+6
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/170 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* CI: test Python 3.13, promote Python 3.12 to non-expSam James2024-01-231-2/+2
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/pkgdev/pull/126 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* CI: add Python 3.12Sam James2024-01-231-3/+3
| | | | | Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: implement edit resulting graph before filingArthur Zamarin2024-01-231-20/+146
| | | | | Relates: https://github.com/pkgcore/pkgdev/issues/169 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* docs: add CONTRIBUTING.rstArthur Zamarin2024-01-093-0/+90
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* docs: add some explanation to main pageArthur Zamarin2024-01-082-0/+6
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* argparse: better handling of ~/.bugzrcArthur Zamarin2023-12-301-2/+8
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: improve error outputArthur Zamarin2023-12-301-7/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* docs: some cleanup and improvementsArthur Zamarin2023-12-303-2/+5
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* coverage: skip pkgdev bugs for nowArthur Zamarin2023-12-301-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: auto extend maintainers with projectsArthur Zamarin2023-12-292-1/+30
| | | | | | | | When ``--projects`` is passed, fetch ``projects.xml``, and extent the maintainers list with projects whose members include maintainers. Resolves: https://github.com/pkgcore/pkgdev/issues/157 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: add support for filtering targets by StableRequestArthur Zamarin2023-12-292-4/+30
| | | | | | | | Add ``--filter-stablereqs`` and ``--stabletime`` to filter targets for those which have ready StableRequest pkgcheck result. Resolves: https://github.com/pkgcore/pkgdev/issues/157 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: add ``--find-by-maintainer`` optionArthur Zamarin2023-12-292-1/+32
| | | | | | | | Scan over the whole repository to find packages maintained by passed emails. It would try to find best stable candidate from that package. Resolves: https://github.com/pkgcore/pkgdev/issues/157 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: improve best match finderArthur Zamarin2023-12-291-21/+21
| | | | | | | | | | Use ``find_best_match`` for finding the best match, for the targets list (instead of just selecting the max for each target). Apply this for stabilization groups and cmd line packages. We do need to opt out the preference for semi-stable over non-stable, as we want to stabilize those requested. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* test_pkgdev_manifest: skip broken tests [wip]Arthur Zamarin2023-12-291-0/+4
| | | | | | | | | | Were broken by [1]. Understanding what and why happened is not trivial. Many manual tests I've performed show that `pkgdev manifest` still works as expected. I'm not sure if the tests are broken or the code is broken. [1] https://github.com/pkgcore/pkgcore/commit/bb7b8ec465060dfc754e9115c6e8a03e040272fd Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: support ~/.bugzrc fir api-key extractionArthur Zamarin2023-12-223-26/+43
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/162 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: handle merging of top level nodesArthur Zamarin2023-12-171-0/+1
| | | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/125 Resolves: https://github.com/pkgcore/pkgdev/issues/167 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: merge stable groups as first stepArthur Zamarin2023-12-151-1/+1
| | | | | | | The is no good reason to perform it as last, but as first step it does work better. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: prefer using user selected targetsArthur Zamarin2023-12-151-0/+5
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/161 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: mention age of packages in the bug descriptionArthur Zamarin2023-12-152-7/+27
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/140 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: print bug summary where existing bug is foundArthur Zamarin2023-12-151-1/+2
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/163 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tatt: add support for extra env filesArthur Zamarin2023-12-093-1/+39
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tatt: pass configuration to specific package and not all envArthur Zamarin2023-12-082-33/+67
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/149 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.2.9Arthur Zamarin2023-12-071-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>