1. 23 Apr, 2021 2 commits
  2. 22 Apr, 2021 2 commits
  3. 14 Apr, 2021 5 commits
  4. 13 Apr, 2021 1 commit
  5. 07 Apr, 2021 1 commit
  6. 06 Apr, 2021 3 commits
  7. 23 Mar, 2021 6 commits
  8. 22 Mar, 2021 2 commits
    • Jakub Ružička's avatar
      refactor: get rid of compat.py35path · 878ef8f6
      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's avatar
      refactor: os.makedirs -> Path.mkdir · b6dd5863
      Jakub Ružička authored
      get rid of py35path and "import os" in the process.
  9. 19 Mar, 2021 4 commits
  10. 18 Mar, 2021 1 commit
    • Jakub Ružička's avatar
      refactor: unified input files handling · 1065779e
      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
  11. 15 Mar, 2021 1 commit
  12. 10 Mar, 2021 6 commits
    • Jakub Ružička's avatar
      pkgstyle.rpm: support openSUSE · ff742744
      Jakub Ružička authored
      * support openSUSE's zypper package manager
      * provide manual parsing of BuildRequires from .src.rpm
        because SUSE doesn't have builddep command (╯°□°)╯︵ ┻━┻
    • Tomas Krizek's avatar
      Merge branch 'qol' into 'master' · 0a7c9550
      Tomas Krizek authored
      Quality of Life changes for build, build-dep and cli
      Closes #29 and #27
      See merge request !28
    • Jakub Ružička's avatar
      build: use isolated build by default · 636a88fc
      Jakub Ružička authored
      It's dangerous for new users to use direct build by default as it
      modifies host system and requires build deps to be installed
      system-wide. This is useful especially in VMs and containers (CI).
      Isolated build is safer so make it a default with -H/--host-build
      option to enable direct host build replacing --isolated option.
      Adjust arch pkgstyle to work with new default CI invocation even though
      build deps installation and direct host build aren't supported on arch:
          apkg build -Hi
      apkg will print warnings for -H/--host-build (not supported on arch in
      general) and -i/--install-deps (not needed on arch) but it's going to
      work regardless.
          apkg build-dep
      on arch will result in DistroNotSupported error (exit code 44) as it
      Fixes: #27
    • Jakub Ružička's avatar
      build-dep: add builddep alias · a07b28aa
      Jakub Ružička authored
      apkg is using dash-separated-command-names for the sake of readability
      but both dnf and apt have builddep command without the dash.
      Add builddep alias for build-dep so that everyone's happy :)
      Related: #29
    • Jakub Ružička's avatar
      cli: handle invalid command · 10f85f92
      Jakub Ružička authored
      print nice warning instead of showing stack trace when invalid apkg
      command was supplied.
      Fixes: #29
    • Tomas Krizek's avatar
      Merge branch 'cleanup' into 'master' · c20b7fec
      Tomas Krizek authored
      code cleanup
      See merge request !27
  13. 09 Mar, 2021 4 commits
  14. 08 Mar, 2021 2 commits
    • Jakub Ružička's avatar
      install: new command to install packages · f834d3c9
      Jakub Ružička authored
      new `apkg install` command was added using two new pkgstyle interface
      functions for installing packages using native distro package manager:
      * install_custom_packages() to install native package files
      * install_distro_packages() to install packages from distro repos
        (enabled with -D/--distro-deps option)
      It's possible to override target distro using -d/--distro as usual.
      Packages to install can be passed as command arguments or using -f
      <file> including stdin support with -, i.e.:
          apkg build | apkg install -f -
      -y/--yes option enables non-interactive mode.
      Fixes: #26
    • Jakub Ružička's avatar