aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* README: fix outdated test instructionsBrian Harring2023-11-241-3/+3
| | | | | Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* github: limit doc deploy to just pkgcore/pkgcore repositoryBrian Harring2023-11-241-0/+1
| | | | | | | | | For a proper fork/PR it's best to show things building properly, and a deploy will never succeed. Confirm docs build and skip the deploy for folks who've got forks. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pmaint eclass: add better invocation with output filename formatArthur Zamarin2023-10-231-3/+23
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pmaint eclass: improve rst outputArthur Zamarin2023-10-233-32/+50
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pmaint eclass: add devbook output formatArthur Zamarin2023-10-233-1/+252
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* eclassdoc: parse default and initial valuesArthur Zamarin2023-10-231-5/+18
| | | | | | | A little bit ugly, but does the job. Resolves: https://github.com/pkgcore/pkgcore/issues/297 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* eclassdoc: output exported phasesArthur Zamarin2023-10-232-1/+12
| | | | | Closes: https://bugs.gentoo.org/846503 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* eclassdoc: remove @BUGREPORTS tagArthur Zamarin2023-10-232-8/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* examples/verify_at_done: add new helper tool to collect done AT bugsArthur Zamarin2023-10-061-0/+122
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* data/xml-schema/metadata.xsd: add codeberg remote-idThomas Bracht Laumann Jespersen2023-09-141-0/+1
| | | | | | Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/pkgcore/pkgcore/pull/414 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* operations.format.fetch_base: try to use proxy values from domainArthur Zamarin2023-08-302-4/+9
| | | | | | | https://github.com/pkgcore/pkgcore/commit/b1053683ecb8e17ed69e5797c32b83dd48452f59#r125093286 Follows: 8d1a2095e9e3d5892d5eef39725d8bd2bcf74cbe Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.12.24Arthur Zamarin2023-08-301-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.12.23v0.12.23Arthur Zamarin2023-08-291-0/+11
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ebuild.repository: require .group extension for stabilization groupsArthur Zamarin2023-08-292-25/+31
| | | | | | | | | | | | After further consideration, it seems that the requiring .group extension will make our life easier, with exact format, and save us from backup files, readme or similar. https://github.com/pkgcore/pkgcore/pull/412#discussion_r1307738865 Suggested-by: Michał Górny <mgorny@gentoo.org> Follows: d00711f2d6cbae14a57088ef78caa3daf72069aa Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ebuild.repository: add support for stabilization groupsArthur Zamarin2023-08-282-0/+49
| | | | | | | | This is a special metadata files that can be used to group packages for stabilization bugs. Resolves: https://github.com/pkgcore/pkgcore/issues/411 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* operations.format.fetch_base: fix for when no proxyArthur Zamarin2023-08-211-2/+2
| | | | | | Follows: b1053683ecb8e17ed69e5797c32b83dd48452f59 Resolves: https://github.com/pkgcore/pkgdev/issues/151 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* operations.format.fetch_base: support proxy configurationArthur Zamarin2023-08-202-11/+10
| | | | | | | | | | | Add support for proxy configuration to the fetch_base operation, through the environment variables ``http_proxy`` and ``https_proxy``. I see no security concern from passing those variables to the fetcher, as they are run with the same permissions as the rest of pkgcore, under user level. https://github.com/pkgcore/pkgdev/issues/103 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* CI: add Python 3.12Sam James2023-08-051-4/+4
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/pkgcore/pull/402 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.12.23Arthur Zamarin2023-08-051-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.12.22v0.12.22Arthur Zamarin2023-08-051-0/+16
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bash-completion: --pkgset for pqueryArthur Zamarin2023-08-051-1/+10
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: verify pkgcheck with pkgcore masterArthur Zamarin2023-08-051-0/+37
| | | | | Resolves: https://github.com/pkgcore/pkgcore/issues/408 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pass PATH variable to calls of FETCHCOMMANDArthur Zamarin2023-07-261-1/+5
| | | | | Resolves: https://github.com/pkgcore/pkgdev/issues/145 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pkgsets.glsa: exclude metadata files from warning + cleanupArthur Zamarin2023-07-151-32/+27
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* multiplex.tree: fix config name and typeArthur Zamarin2023-07-152-12/+6
| | | | | Resolves: https://github.com/pkgcore/pkgcheck/issues/602 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Revert "multiplex.tree: fix config name and type"Sam James2023-07-158-31/+35
| | | | | | | | | This reverts commit ef79d4dcc640658b335fd80cd69bc743d566010a. As discussed on IRC, temporary fix for live users. Bug: https://github.com/pkgcore/pkgcheck/issues/602 Signed-off-by: Sam James <sam@gentoo.org>
* multiplex.tree: fix config name and typeArthur Zamarin2023-07-148-35/+31
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* manifest: fix missing errors when all ebuilds for package are masked badEric Huber2023-06-301-0/+12
| | | | | | | | | | | | | If all of a package's ebuild files have been masked bad, that package gets filtered out of the iterator for the previous loop in this function, so a followup loop over the masked bad packages can help to emit the unreported errors. Resolves: https://github.com/pkgcore/pkgdev/issues/55 Co-authored-by: YiFei Zhu <zhuyifei1999@gmail.com> Authored-by: Eric Huber <echuber2@illinois.edu> Closes: https://github.com/pkgcore/pkgcore/pull/406 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>
* examples/set_maintainers: small tool to set bug maintainersArthur Zamarin2023-06-231-0/+111
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: more improvements for release workflowArthur Zamarin2023-04-211-0/+3
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.12.22Arthur Zamarin2023-04-211-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.12.21v0.12.21Arthur Zamarin2023-04-211-0/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: use new PyPI OIDC publishArthur Zamarin2023-04-211-12/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* econf matches configure --help output betterUlrich Müller2023-04-203-3/+3
| | | | | | | | | | | | | | Check for proper end of string for all option names beginning with "with-", "disable-" or "enable-". This mainly affects --with-sysroot, where false positives have been observed. This follows this retroactive change in PMS: https://gitweb.gentoo.org/proj/pms.git/commit/?id=0e311ca4ac75be6ebea2a0b3c1b46f4daac75190 which was approved by the Gentoo Council in its 2023-04-09 meeting. Signed-off-by: Ulrich Müller <ulm@gentoo.org> Closes: https://github.com/pkgcore/pkgcore/pull/403 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pytest.plugin: blank line after EAPI declare in create_ebuildArthur Zamarin2023-04-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.12.21Arthur Zamarin2023-04-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.12.20v0.12.20Arthur Zamarin2023-03-011-0/+18
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* data/xml-schema/metadata.xsd: Add kde-invent remote-id typeSam James2023-02-251-0/+1
| | | | | | | | | | | This follows an earlier update of the DTD, commit bb286dbef6af03bd7d063cf693f9860419796c3d in data/dtd.git. Taken from proj/xml-schema.git commit 84d4fe3e11bc21c3d5742be1a04ba0df33c7bd0c.. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/pkgcore/pull/399 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix(config): cleanup deprecated access of central.*, using central.objects.* ↵Brian Harring2023-02-055-11/+13
| | | | | | | | | | | | instead See the last commit for particulars, or fa90aff05306fb4935604e64645f2d1d2049233e . This just completes the migration for what I can find. Signed-off-by: Brian Harring <ferringb@gmail.com> Closes: https://github.com/pkgcore/pkgcore/pull/398 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix(config): Add deprecation warnings for very old config shimsBrian Harring2023-02-051-0/+11
| | | | | | | | | | | | | | | | | | | The context of this is fa90aff05306fb4935604e64645f2d1d2049233e; the original 'central' manager exposed objecst in the same attr namespace as it's own internals. Whilst no conflicts occured, it was possible, so the configuration objects were moved to .objects to remove the potential. A compatibility shim was added (CompatConfigManager), but no warnings were added at the time due to presumably the module not existing. Either way, it exists, thus add a warning. There are multiple users in pkgcore's code (fixed in followup commit). Pkgcheck and pkgdev are clean, but it may be wise to wait a release or two before removing the compatibility shim. It's been in place 11 years, not like it's going to kill us to wait another month... Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* refactor(config): remove prepend/append incremental return signature fully.Brian Harring2023-02-055-184/+32
| | | | | | | | | | | | | The previous commit disabled the logic to generate prepend/val/append- nothing used it- this commit realigns the client consumers to expect a single value unless they're invoked arg_type="repr". Essentially, now if you ask the config layer for a value, you don't have to know if it's a value that is considered 'incremental'- you just get back a python object for what you asked, ready for usage. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* refactor(config): remove the notion of config layer incremental prepend/append.Brian Harring2023-02-055-249/+24
| | | | | | | | | | | | | | | | Many moons gone past the original config system tried to support the idea of incrementally stacked values (x y -x z -y == z). This commit removes the fundamental core of that functionality; the incremental logic is now implemented in domain specific layers, rather than being a capability of the config layer. Note: this just removes the logic. The signature of [before, mid, after] return is still in place, and will be removed as the API is normalized. In particular, pconfig still reports on .prepend/.apend, there just no longer is content there. That behaviour (and signature) change will be a followon commit. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* refactor(config): remove indirection of multiplex.config_tree for multiplex.treeBrian Harring2023-02-052-7/+4
| | | | | | | | config_tree was added before config hints were a thing; instead just annotate the class directly. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* refactor(config): drop duplicated add_config_source methods.Brian Harring2023-02-052-11/+10
| | | | | | | | Previously we had .update() and .add_config_source; rename (and internalize) accordingly so we have just one. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ebuild.repository: fix traversal from root of overlaysArthur Zamarin2023-02-041-2/+4
| | | | | Resolves: https://github.com/pkgcore/pkgcheck/issues/418 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Suppress the black reformat commit from git blameArthur Zamarin2023-02-021-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* reblackify the codeArthur Zamarin2023-02-02106-266/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ebuild/test_eapi: fix tests artifacts in EBD_PATHArthur Zamarin2023-02-021-2/+5
| | | | | Bug: https://bugs.gentoo.org/888685 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* refactor(config): first pass of typing annotations for pkgcore.config.*Brian Harring2023-02-024-74/+123
| | | | | | | | | | | | | | | | | In a few spots (optionxform for example), I'm realigning variable names w/ the class we're overriding. No changes visible for consuming code for that. For the rest, I'm annotating the types, but this is the first step. Specifically: 1) arg_type needs to be an enum (api change) to constrict the allowed values 2) multiple protocols need to be created to enumerate the expected interfaces for what's being passed in (central/config manager for example) 3) this first pass of type annotations is already flushing out code impedence. See pkgcore/ferringb#41 for an example. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>