- 26 Apr, 2021 2 commits
-
-
Jakub Ružička authored
Aside from having annoying defaults, pylint also periodically adds new warnings and recommendations which may break CI for perfectly working code at any time when latest version from PyPI is used. Allowing pylint job failure. Python static analysers are still a joke.
-
Tomas Krizek authored
upstream-version: get latest version from PyPI See merge request !42
-
- 23 Apr, 2021 12 commits
-
-
Jakub Ružička authored
Replace dummy scripts/upstream-version.py with actual code to get latest apkg version from PyPI. This enables upstream version detection and use of apkg get-archive without `--version` parameter. This also concludes integration of apkg with itself and after next PyPI release apkg build --upstream should start working allowing fully upstream builds from archive only.
-
Jakub Ružička authored
docs: fix file_link on Read the Docs See merge request !41
-
Jakub Ružička authored
In RtD mkdocs build absolute path is supplied - make it relative when that happens.
-
Jakub Ružička authored
docs: fix minor doc issues See merge request !40
-
Jakub Ružička authored
-
Tomas Krizek authored
packaging: refactor and drop pbr Closes #41 See merge request !38
-
Jakub Ružička authored
Drop problematic pbr in favor of recommended modern python packaging setup: https://packaging.python.org/tutorials/packaging-projects/ Versioning is now handled by miniver without introducing external dep: https://github.com/jbweston/miniver I've also updated and extended setup.cfg with more metadata for better integration on PyPI and elsewhere. Fixes: #41
-
Jakub Ružička authored
CI: disable python 3.5 CI Closes #45 See merge request !39
-
Jakub Ružička authored
Correctly marking apkg sub-packages with __init__.py revealed tons of new and mostly irrelevant pylint warnings. Silence pylint cries.
-
Jakub Ružička authored
Fixes: #45
-
Tomas Krizek authored
build: use direct host build by default Closes #44 See merge request !37
-
Tomas Krizek authored
archive: drop atool requirement Closes #42 See merge request !36
-
- 22 Apr, 2021 2 commits
-
-
Jakub Ružička authored
After some experimentation in the wild, original direct host build proved to be a better default after all. Fixes: #44
-
Jakub Ružička authored
Use standard shutil.unpack_archive which has a limited archive support but can be extended to support arbitrary archive formats as needed. Fixes: #42
-
- 14 Apr, 2021 5 commits
-
-
Jakub Ružička authored
various fixes for issues encountered during BIRD packaging See merge request !35
-
Jakub Ružička authored
apkg can now be easily started without script: python3 -m apkg build
-
Jakub Ružička authored
-
Jakub Ružička authored
-
Jakub Ružička authored
-
- 13 Apr, 2021 1 commit
-
-
Jakub Ružička authored
-
- 07 Apr, 2021 1 commit
-
-
Tomas Krizek authored
small fixes found during BIRD packaging See merge request !34
-
- 06 Apr, 2021 3 commits
-
-
Jakub Ružička authored
Use default_render_filter() function to select which files to render and which to copy only. This should eventually evolve into full-featured filters through config but for now keep it simple.
-
Jakub Ružička authored
Building packages from archives should work again: apkg build -a path/to/archive.tgz Also make input parsing helper more resiliant.
-
Jakub Ružička authored
distro module was removed from python standard library in Ubuntu Xenial but standalone python3-distro package isn't available. Install from PyPI instead.
-
- 23 Mar, 2021 6 commits
-
-
Jakub Ružička authored
refactor exceptions Closes #35 See merge request !32
-
Jakub Ružička authored
Fixes: #35
-
Jakub Ružička authored
This results in raise ex.ErrorName(args) instead of needlessly long raise exception.ErrorName(args)
-
Jakub Ružička authored
Group similar exceptions and reassign exit codes while leaving space for potential future additions.
-
Jakub Ružička authored
-
Jakub Ružička authored
refactor: get rid of compat.py35path Closes #36 See merge request !33
-
- 22 Mar, 2021 2 commits
-
-
Jakub Ružička authored
shutil and os modules in python 3.5 doesn't accept pathlib.Path (yet). compat.py35path() wrapper was used to mark code which requires extra str() conversion on Python <= 3.5. Introduce new apkg.util.shutil35 wrapper module for selected shutil and os functions in order to address this without polluting code with redundant py35path/str conversions. apkg.compat was removed in favor of new shutil35 which can be easily removed in the future once Python 3.5 support is dropped. Fixes: #36
-
Jakub Ružička authored
get rid of py35path and "import os" in the process.
-
- 19 Mar, 2021 4 commits
-
-
Jakub Ružička authored
Red the Docs integration See merge request !31
-
Jakub Ružička authored
-
Jakub Ružička authored
A subset of requirements is needed because command help texts are parsed from python docstrings.
-
Tomas Krizek authored
refactor: unified input files handling Closes #31 and #30 See merge request !30
-
- 18 Mar, 2021 1 commit
-
-
Jakub Ružička authored
All commands's CLI was refactored to use new consistent handling of input files which allows selecting multiple input files as opposed to single archive/srcpkg: input files as arguments: apkg srcpkg -a foo.1.2.tgz foo.1.2.tgz.asc input files listed in file(s) including stdin which allows piping: apkg make-archive | apkg srcpkg -aF - | apkg build -sF - Fixes: #30 Fixes: #31
-
- 15 Mar, 2021 1 commit
-
-
Tomas Krizek authored
pkgstyle.rpm: support openSUSE See merge request !29
-