1. 23 Apr, 2021 10 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
      878ef8f6
    • 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.
      b6dd5863
  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
      1065779e
  11. 15 Mar, 2021 1 commit
  12. 10 Mar, 2021 4 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 (╯°□°)╯︵ ┻━┻
      ff742744
    • 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
      0a7c9550
    • 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
      should.
      
      Fixes: #27
      636a88fc
    • 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
      a07b28aa