- 10 Jan, 2023 1 commit
-
-
- 19 Dec, 2022 8 commits
-
-
David Runge authored
docs/repod/changelog.rst: Add info about artwork, its creator and license to changelog.
-
David Runge authored
docs/conf.py: Add favicon to HTML documentation.
-
David Runge authored
docs/artwork/logo.ico: Add favicon icon for HTML documentation, derived from SVG artwork.
-
David Runge authored
docs/conf.py: Add 200x200px project logo to rendered HTML documentation
-
David Runge authored
docs/artwork/logo.png: Add a 200x200px logo for the HTML documentation, rendered from the SVG based artwork.
-
David Runge authored
README.md: Add link to Safi @ http://betriebsbuero.com for the project artwork and specify its license as CC-BY-SA-4.0.
-
David Runge authored
docs/artwork/repod.svg: Logo artwork provided by Safi (http://betriebsbuero.com) under the terms of the CC-BY-SA-4.0.
-
David Runge authored
docs/artwork/LICENSE: Add CC-BY-SA-4.0 license file for artwork.
-
- 18 Dec, 2022 10 commits
-
-
David Runge authored
tox.ini: Run bandit in tox linter target.
-
David Runge authored
pyproject.toml: Add configuration section for bandit.
-
David Runge authored
pdm.lock: Update lock file after adding bandit.
-
David Runge authored
pyproject.toml: Add bandit to development dependencies for common security checks.
-
David Runge authored
docs/repod/changelog.rst: Add changelog entry for adding pydocstyle and improving documentation for tests.
-
David Runge authored
tox.ini: Add running pycodestyle to linter tox target.
-
David Runge authored
Change all documentation to align with pydocstyle. Add missing documentation. Change code to comply with bandit. Change code to comply with flake8-return.
-
David Runge authored
pdm.lock: Update PDM lock file after adding pydocstyle
-
David Runge authored
pyproject.toml: Add pydocstyle to development dependencies
-
David Runge authored
dbscripts/*: Remove PoC dbscripts code, as it no longer serves a purpose.
-
- 10 Dec, 2022 1 commit
-
-
David Runge authored
.gitlab-ci.yml: Remove artifacts after two weeks to conserve space. Make all jobs interruptible, to not run jobs that would be superseded by newer ones (in follow-up commits or when force-pushing).
-
- 07 Dec, 2022 4 commits
-
-
David Runge authored
docs/repod/changelog.rst: Add changelog entry for .SRCINFO parser
-
David Runge authored
docs/repositories/source_repository.rst: Explain .SRCINFO files in the context of the source repository and add the JSON schema, which can be used to validate it.
-
David Runge authored
repod/files/__init__.py: Expose srcinfo components `SrcInfo`, `PkgBaseSection` and `PkgNameSection` in `repod.files`. Change `export_schemas()` to also export srcinfo schemas.
-
David Runge authored
repod/files/srcinfo.py: Add parser for .SRCINFO files. tests/files/test_srcinfo.py: Add tests for .SRCINFO file parser components.
-
- 05 Dec, 2022 9 commits
-
-
David Runge authored
tests/conftest.py: Add fixtures for creating the contents and files using the .SRCINFO file format.
-
David Runge authored
repod/common/models.py: Simplify attribute documentation on the common models `PkgBase`, `PkgName`, `Epoch`, `PkgRel` and `PkgVer`.
-
David Runge authored
repod/common/regex.py: Add regular expression `PGP_KEY_ID` to match PGP key ID strings.
-
David Runge authored
repod/errors.py: Add `FileParserError` for errors occuring when parsing files.
-
David Runge authored
repod/common/models.py: Add a `PkgDesc` model to track package description using a `pkgdesc` attribute.
-
David Runge authored
repod/common/models.py: Add `Options`, `PkgBase` and `PkgName` models from `repod.files.buildinfo`. Change the `Options` model to track an optional `options` attribute, as also in BUILDINFO files, the options list can be optional. repod/files/buildinfo.py: Remove `Options`, `PkgBase` and `PkgName` models and rely on those from `repod.common.models`.
-
David Runge authored
repod/common/models.py: Remove unnecessary and unused `vercmp()` and `as_list()` methods from Epoch, PkgRel and PkgVer. tests/common/test_models.py: Remove tests for unused `as_list()` methods. Adapt `vercmp()` tests to rely on `repod.version.alpm.vercmp` instead.
-
David Runge authored
repod/common/regex.py: Add regular expressions to allow matching the data of blake2, crc-32, sha1, sha224, sha384 and sha512 checksum algorithms.
-
David Runge authored
repod/files/common.py: Add `read_text_from_file()` to allow reading text from a file and return it in a StringIO. tests/files/test_common.py: Add parametrized tests for `read_text_from_file()`.
-
- 03 Dec, 2022 1 commit
-
-
David Runge authored
docs/repod/man/repod_conf.rst: Make repod.conf manpage more readable by using subsections for options and fixing a few typos.
-
- 01 Dec, 2022 6 commits
-
-
David Runge authored
docs/repod/changelog.rst: Add changelog entry explaining the new repository grouping feature and its implications.
-
David Runge authored
docs/repod/man/repod_conf.rst: Add documentation on how the group feature for repositories works to the `repod.conf` man page. Add example for two grouped repositories.
-
David Runge authored
repod/action/workflow.py: Change `add_packages()` to also consider grouped repositories, using `RepoGroupTask`. Simplify `add_packages()` by retrieving the target repository once and using the needed attributes directly instead of retrieving it multiple times. tests/action/test_workflow.py: Change tests for `add_packages()` to also consider cases where repositories are in a group.
-
David Runge authored
repod/action/task.py: Add `RepoGroupTask` to gather data (names and management repository directories) on grouped repositories, as well as pkgbases and packages of `OutputPackageBase` instances. tests/action/test_task.py: Add tests for `RepoGroupTask`.
-
David Runge authored
repod/action/check.py: Add `UniqueInRepoGroupCheck` to allow checking that lists of pkgbase and package names are unique in the management repository directories of repositories (in a group). tests/action/test_check.py: Add tests for `UniqueInRepoGroupCheck`.
-
David Runge authored
repod/config/settings.py: * Add an optional group attribute to PackageRepo, which can be used to group PackageRepos together, which effectively implies that pkgbases and packages within a group have to be unique. * Add `PackageRepo.get_all_management_repo_dirs()` to retrieve all management repository directories, that a PackageRepo instance uses. * Add `PackageRepo.get_all_package_repo_dirs()` to allow retrieving all package repository directories, that a `PackageRepo` uses. * Add `Settings.get_repos_by_group()` to retrieve all PackageRepo instances of the same group, while allowing to exclude specific repositories. * Add `Settings.check_repository_groups_dirs()` to check that repositories in the same group use the same parent directory for their management repository directories, the same grandparent directory for their package repository directories, the same parent directory for their package pool directories and the same parent directory for their source pool directories. tests/config/test_settings.py: Add tests for `PackageRepo.get_all_management_repo_dirs()`, `PackageRepo.get_all_package_repo_dirs()`, `Settings.check_repository_groups_dirs()` and `Settings.get_repos_by_group()`.
-