1. 07 May, 2020 1 commit
  2. 06 May, 2020 2 commits
    • Timo Teräs's avatar
      rewrite option descriptors to be single string · 1d7123d8
      Timo Teräs authored
      This reduces the number of relocations on PIE binaries, and also
      reduces the executable size. Parsing of the options is slightly
      sped up as only the exact matching option group parser is called.
      1d7123d8
    • Timo Teräs's avatar
      add script to autogenerate help from man pages · 5258b484
      Timo Teräs authored
      This creates main help like:
      --
      usage: apk [<OPTIONS>...] COMMAND [<ARGUMENTS>...]
      
      Package installation and removal:
        add        Add packages to WORLD and commit changes
        del        Remove packages from WORLD and commit changes
      
      System maintenance:
        fix        Check WORLD against the system and ensure consistency
        update     Update repository indexes
        upgrade    Install upgrades available from repositories
        cache      Commands related to the management of an offline package cache
      
      Querying package information:
        info       Give detailed information about packages or repositories
        list       List packages matching a pattern or other criteria
        dot        Generate graphviz graphs
        policy     Show repository policy for packages
      
      Repository maintenance:
        index      Create repository index file from packages
        fetch      Download packages from global repositories to a local directory
        manifest   Show checksums of package contents
        verify     Verify pac...
      5258b484
  3. 14 Feb, 2020 1 commit
  4. 26 Jan, 2020 1 commit
  5. 05 Jan, 2020 2 commits
    • Matthew McGill's avatar
      info: Remove short options for --install-if, --rinstall-if · e4aae45f
      Matthew McGill authored
      The "apk info" option --install-if, which had the short option -i,
      was being shadowed by the apk global option --interactive, which
      has the same short option. To fix this issue the short option for
      --install-if was removed, as has been done in other cases where an
      applet short option would be shadowed by a global short option. The
      short option for --rinstall-if was also removed for consistency,
      since it is the complement of --install-if.
      e4aae45f
    • Sören Tempel's avatar
      Humanize size output of `apk info` · a6039e38
      Sören Tempel authored
      This commits adds a function for receiving the closet byte unit and the
      size in that unit for a given size_t. The function doesn't return a
      string since dynamic memory allocation (or a static buffer) would be
      required to implement this properly.
      
      Discussion: It might be useful to add a command line flag for disabling
      this behaviour in order to retain compatibility with the previous apk
      info output format.
      a6039e38
  6. 05 Jun, 2019 1 commit
  7. 09 Jan, 2018 1 commit
  8. 27 Sep, 2017 1 commit
  9. 23 Jun, 2017 1 commit
  10. 13 Jun, 2016 1 commit
  11. 31 May, 2016 1 commit
  12. 12 Nov, 2015 1 commit
  13. 10 Mar, 2015 1 commit
  14. 08 Dec, 2014 1 commit
  15. 08 Oct, 2014 1 commit
  16. 06 Oct, 2014 1 commit
  17. 07 Mar, 2014 1 commit
  18. 28 Jun, 2013 1 commit
  19. 19 Jun, 2013 2 commits
  20. 18 Jun, 2013 3 commits
  21. 17 Jun, 2013 1 commit
  22. 29 May, 2013 1 commit
  23. 28 Sep, 2012 1 commit
  24. 30 Mar, 2012 1 commit
  25. 29 Feb, 2012 2 commits
  26. 24 Feb, 2012 1 commit
  27. 12 Jan, 2012 1 commit
  28. 06 Jan, 2012 1 commit
  29. 24 Dec, 2011 1 commit
  30. 29 Oct, 2011 1 commit
  31. 18 Oct, 2011 1 commit
    • Timo Teräs's avatar
      pkg, info: remember installed packages "replaces" · a787038d
      Timo Teräs authored
      "replaces" is now turned to a full dependency type list, so you can
      make package overwrite files only certain versions of the package
      (though, we should probably take this into account already at solution
      calculation phase).
      
      Also make 'info --replaces' print the "replaces" of the package.
      
      This is in preparation for the policy package support, which still
      requires "replacement priority" field to decide which packages' files
      get the preference.
      a787038d
  32. 13 Sep, 2011 1 commit
  33. 09 Sep, 2011 1 commit
  34. 29 Mar, 2011 1 commit