Skip to content
Snippets Groups Projects
  1. Jan 09, 2025
  2. Oct 08, 2024
  3. Jun 20, 2024
  4. Mar 26, 2024
  5. Jun 21, 2023
  6. Jun 20, 2023
  7. Mar 16, 2023
  8. Mar 13, 2023
    • Jakub Ružička's avatar
      Improve python packaging: setuptools, poetry · bf58556c
      Jakub Ružička authored
      Drop problematic minver support.
      
      Use single-source __version__ from apkg/__init__.py.
      
      Use more robust method of reading __version__ from setup.py when using
      setuptools.
      
      Make scripts/make-archive.sh update __version__ using Dunamai tool from
      git - PEP 440 compatible.
      
      Add poetry support with poetry-dynamic-versioning plugin providing
      dynamic versioning using Dunamai including __version__ updates.
      bf58556c
  9. Jul 20, 2022
    • Jakub Ružička's avatar
      CI: add AlmaLinux 9 image and jobs · 0d903212
      Jakub Ružička authored
      Move EL (centos, rocky, alma) jobs bellow fedora for better file
      structure.
      
      Remove hard dep on python3-blessings in RPM because it's not
      available from EPEL 9. apkg can run fine without it, just no colors.
      0d903212
  10. Jul 14, 2022
  11. Jul 13, 2022
  12. Oct 06, 2021
    • Jakub Ružička's avatar
      templates: add pkgstyle-specific template env · 058044f0
      Jakub Ružička authored
      pkgstyles can now define TEMPLATE_ENV dict containing variables and
      functions available during templating when using that particular style
      as well as TEMPLATE_ENV_DYNAMIC dict containing functionas to be
      evaluated on template render to fill in dynamic template variables.
      
      New {{ now }} dynamic variable containing current date in suitable
      changelog format is now available in templates using deb or rpm
      pkgstyles through this new mechanism.
      058044f0
  13. Jul 27, 2021
    • Vladimír Čunát's avatar
      CI: add nix for knotd · 343d977c
      Vladimír Čunát authored
      The extraDepsFor thing takes dependencies from current NixPkgs,
      but that doesn't work now due to knot-dns adding libmnl since 3.1.0,
      so I extraDeps is added to supply libmnl explicitly in CI 🤷
      
      Generally it's a chicken-egg situation between make-archive
      (the scripts needs dependencies) and finding the dependencies,
      e.g. from a srcpkg.
      343d977c
  14. Jul 14, 2021
  15. Jul 08, 2021
  16. Jul 01, 2021
  17. May 25, 2021
    • Jakub Ružička's avatar
      refactor: use click instead of docopt for CLI · bd9bbfea
      Jakub Ružička authored
      In order to have command code and CLI in one place while preserving
      history of apkg.lib:
      
      * add new click CLI directly into apkg.lib.* modules
      * remove old docopt CLI modules apkg.commands.* (for the transition)
      
      Follow-up patch moves apkg.lib to apkg.commands finishing the merge
      of apkg.lib (code) and apkg.commands (CLI) in a transparent manner.
      
      This patch preserves the original CLI with minor enhancements.
      
      The only incompatible CLI change is the new handling of log level:
      
          apkg -L verbose build
      
      -L/--log-level choice option needs to be supplied before apkg (sub-)command.
      
      Commands are now non-interactive by default with legacy -y/--yes option
      being still supported but officially replaced by --ask/--no-ask which
      allows change of default in the future without impacting CLI.
      
      Fixes: #54
      bd9bbfea
  18. May 13, 2021
    • Jakub Ružička's avatar
      make-dev-archive: mimic gitlab releases · 3663fa82
      Jakub Ružička authored
      GitLab is using $NAME-$TAG.tar.gz archive names which includes "v"
      prefix in archive name, for example:
      
          apkg-v0.0.4.tar.gz
      
      Change scripts/make-dev-archive.sh to:
      
      * include "v" prefix in archive name
      * use internal apkg version generated by miniver (nicer `git describe`)
      * create archive using `git archive` - include all source files
      
      Adapt packaging accordingly.
      3663fa82
  19. Apr 23, 2021
  20. Apr 22, 2021
  21. Mar 08, 2021
  22. Jan 15, 2021
    • Jakub Ružička's avatar
      build: add new command to build packages · ce1a44c0
      Jakub Ružička authored
      Newly introduced
      
          apkg build
      
      command is able to build packages from source packages
      and use `apkg srcpkg` to create them if needed.
      
      Following pkstyles support build_packages():
      
      * arch: using makepkg
      * deb: using dpkg-buildpackage
      
      pkgstyle.deb.build_package() also contains preliminary support of
      isolated build using pbuilder which isn't enabled yet but it I tested it
      successfully.
      
      This patch also includes some polish and refactoring all over the place
      as archive -> srcpkg -> build commands are connected.
      
      Simple self test with apkg calling `apkg build` on itself is included.
      ce1a44c0
  23. Oct 28, 2020
  24. Oct 27, 2020
Loading