aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* start work on 0.2.9Arthur Zamarin2023-12-071-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.8v0.2.8Arthur Zamarin2023-09-091-0/+31
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev_bugs: add warning about using --api-key, document ~/.bugz_tokenFlorian Schmaus2023-09-081-1/+3
| | | | | | Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/pkgcore/pkgdev/pull/159 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev_bugs: remove outdated --api-key descriptionFlorian Schmaus2023-09-081-3/+1
| | | | | | | pkgdev now does perform write access to b.g.o using the API key. Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev_bugs: do not swallow exceptions when reading ~/.bugz_tokenFlorian Schmaus2023-09-081-2/+3
| | | | | | | | | In case the file is not readable, or other issues, do not swallow the exception. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/pkgcore/pkgdev/pull/158 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pyproject.tml: fix dependencies versionArthur Zamarin2023-09-012-4/+4
| | | | | Fixes: 0fe8d4879f11abe61b89177b5fa2d17fe47067da Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: add support for stabilization groupsArthur Zamarin2023-09-012-11/+45
| | | | | | | | | | | | Uses new feature from pkgcore, which allows to specify stabilization groups (packages that should be stabilized together). You can pass groups using "@group/name" syntax, for example "@gnome/vte", and it will include all packages from the group. Note that the merging of nodes happens without care if the group was passed or not, so if you pass manually all packages, it would still work. Resolves: https://github.com/pkgcore/pkgdev/issues/154 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* push: `--ask` stops for confirmation on warningsArthur Zamarin2023-08-242-1/+31
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/150 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* commit: add support to enable/disable gpg signingArthur Zamarin2023-07-054-1/+34
| | | | | | | | | | | | You can use "--gpg-sign" and "--no-gpg-sign" to enable/disable gpg signing. If you don't specify any of them, pkgdev will use the value listed in metadata/layout.conf. You can also set this in configuration, using `commit.no-gpg-sign=` or `commit.gpg-sign=`. Resolves: https://github.com/pkgcore/pkgdev/issues/146 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: add pytest-github-actions-annotate-failures for testArthur Zamarin2023-06-231-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: fix bugs to open countArthur Zamarin2023-06-221-1/+6
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/142 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: improve output textsArthur Zamarin2023-06-091-2/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: fix summary is too longArthur Zamarin2023-06-091-1/+5
| | | | | | | | | When there are a lot of atoms in same bug, the summary gets too long and server responds with Bad Request. For such long titles, shorten it into one atom and suffix " and friends" (great text from sam) Resolves: https://github.com/pkgcore/pkgdev/issues/141 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tests/bugs: fix tests after addition of blocks_bugArthur Zamarin2023-05-281-3/+3
| | | | | Fixes: f5b955018af5715bdd72ce6b094bf901be2d8ced Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: fix wrong blocks_bug arg to deps bugsArthur Zamarin2023-05-281-1/+1
| | | | | | | | | When failing, fails with the following exception:: TypeError: Object of type function is not JSON serializable Fixes: f5b955018af5715bdd72ce6b094bf901be2d8ced Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: fallback to `~/.bugz_token` for api-keyArthur Zamarin2023-05-051-0/+6
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/138 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: add support for passing root blockerArthur Zamarin2023-05-052-5/+22
| | | | | | | | | | Add option to pass `--blocks [bug_no]`. The "root" bugs (those corresponding to the starting nodes, those packages passed as args) will be created and block the passed bug. You can pass multiple bugs to block, separated by comma. Resolves: https://github.com/pkgcore/pkgdev/issues/139 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.2.8Arthur Zamarin2023-04-221-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.7v0.2.7Arthur Zamarin2023-04-222-2/+2
| | | | | | | There was an issue with 0.2.6 on PyPI, and I don't want a .post version, so let's just bump Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.6Arthur Zamarin2023-04-221-0/+25
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: use new PyPI OIDC publishArthur Zamarin2023-04-221-10/+14
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: support piping package list from stdinArthur Zamarin2023-04-221-5/+17
| | | | | | | | | | | | When calling the tool without packages (for example just `pkgdev bugs`), and you pipe (from a file or another command) a list of packages, it will read the package list and use it. The input file can have empty lines, and comments. Everything after the first # is considered a comment. Whitespaces are stripped. Resolves: https://github.com/pkgcore/pkgdev/issues/136 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: fix restriction passing to find_best_matchArthur Zamarin2023-04-221-4/+12
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/131 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: better error message when package not foundArthur Zamarin2023-04-221-1/+9
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/134 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* git: declare PKGDEV=1 env for git commandsArthur Zamarin2023-04-211-4/+6
| | | | | | | | Can be used in git hooks to verify if we are running inside a pkgdev call. Resolves: https://github.com/pkgcore/pkgdev/issues/133 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev bugs: Fix spelling of agent noun for 'file'Arsen Arsenović2023-04-201-1/+1
| | | | | | | The agent noun of the verb '(to) file' is 'filer'. Signed-off-by: Arsen Arsenović <arsen@gentoo.org> Closes: https://github.com/pkgcore/pkgdev/pull/135 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: query for existing open bugsArthur Zamarin2023-03-271-1/+58
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: handle correctly merge on new keywords of starting pointArthur Zamarin2023-03-181-7/+8
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.2.6Arthur Zamarin2023-03-171-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.5v0.2.5Arthur Zamarin2023-03-111-0/+22
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bugs: improve assert for unkeyworded packagesArthur Zamarin2023-03-111-1/+3
| | | | | Bug: https://github.com/pkgcore/pkgdev/issues/123 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* commit: compute commit title for commit related files onlyArthur Zamarin2023-03-051-0/+4
| | | | | | | | | | In cases were multiples files are staged for commit across packages, but we run `pkgdev commit .` in one of them, it was adding and committing only the current package, but computing the message based on both of them. Resolves: https://github.com/pkgcore/pkgdev/issues/122 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* commit: use removeprefixArthur Zamarin2023-03-041-4/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: add black format checkArthur Zamarin2023-03-041-0/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Suppress the black reformat commit from git blameArthur Zamarin2023-03-041-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* format using blackArthur Zamarin2023-03-0432-1804/+2050
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev bugs: new tool for filing stable bugsArthur Zamarin2023-03-013-0/+541
| | | | | | | | | This new tool isn't complete, and any usage should be manually monitored for failures or incorrect results. This tool will be improved in the future, but for now it's a good start. Resolves: https://github.com/pkgcore/pkgdev/issues/113 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* commit: update help text for `--edit`Arthur Zamarin2023-01-131-3/+2
| | | | | Suggested-by: Jonas Stein <jstein@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* commit: use same summary for multiple ebuildsArthur Zamarin2023-01-132-12/+16
| | | | | | | | | If 2 or more ebuilds are being modified, and same summary is generated for both of them, use it for both ebuilds instead of giving up. Reported-by: Joonas Niilola <juippis@gentoo.org> Resolves: https://github.com/pkgcore/pkgdev/issues/116 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add __main__.py fileArthur Zamarin2023-01-131-0/+4
| | | | | | I'm adding this file, so you can call pkgdev using `python -m pkgdev`. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* commit: enable -e usage with -M or -mArthur Zamarin2023-01-131-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* docs: reorganize main tocArthur Zamarin2023-01-051-0/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgdev tatt: new tool for package testingArthur Zamarin2023-01-055-1/+531
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.2.5Arthur Zamarin2022-12-021-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.2.4v0.2.4Arthur Zamarin2022-11-261-0/+19
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* push: add option `--pull`Arthur Zamarin2022-11-213-0/+8
| | | | | | | | | | | | | Add a new option `--pull` to `pkgdev push` to pull all changes before starting the scan & push. This is very useful for most normal usage for developers. This can be also set in config, but adding the line: push.pull = Resolves: https://github.com/pkgcore/pkgdev/issues/102 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* tests/scripts/test_pkgdev_showkw.py: fix NOCOLOR testArthur Zamarin2022-11-191-1/+2
| | | | | | | | Fix the test for systems which predefine NOCOLOR, like in case of ebuild test environment (by epytest). Follows: 9714e4785e1ffc56a08f042011b5a966c7520a1f Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* cli: add support for NOCOLOR to disable colorsArthur Zamarin2022-11-192-18/+45
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* showkw: use color 90 instead of 30Arthur Zamarin2022-11-191-1/+1
| | | | | | | | More terminals are showing it as gray, instead of 30, which some where showing as black fg over black bg. Requested by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* build backend: use custom wrapper around flitArthur Zamarin2022-11-1627-370/+152
| | | | | | | | | | | For pkgcore we need to run multiple preparations of generating files before creating sdist or wheel. Flit is a very simple and nice build backend, much more than setuptools. Also migrate to use snakeoil.dist sphinx extension for generating man and html, to remove various logic from `doc/conf.py`. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>