Skip to content
  1. Sep 22, 2014
    • Dave Reisner's avatar
      common: remove unreachable statement · 98841eb6
      Dave Reisner authored
      We run from a non-interactive shell, so the exec which is inevitably
      called will replace the current process and 'die' will never run under
      any circumstances.
      
      This also fixes a bug with the su fallback which would cause multiple
      arguments to be concatenated without any whitespace between them.
      98841eb6
    • Dave Reisner's avatar
      common.sh: propagate error through trap_exit · af6c0a0f
      Dave Reisner authored
      Fixes a breakage introduced in 6db31cc1 which leads to errors
      being masked from makechrootpkg.
      af6c0a0f
  2. May 10, 2014
  3. Nov 04, 2013
  4. Nov 01, 2013
    • Dave Reisner's avatar
      common: implement find_cached_package · 27441f20
      Dave Reisner authored
      
      
      This function (currently) searches through $PWD and $PKGDEST looking
      for a tarball matching the requested package name, architecture, and
      pkgver. If found, it writes the full path to the located package to
      stdout and returns 0, else 1. If more than 1 match is found, it's
      treated as an error and the user will need to figure out what to do.
      
      Use this in checkpkg and commitpkg, which previously implemented their
      own less complete logic, to locate the build artifacts they rely on.
      
      Signed-off-by: default avatarDave Reisner <dreisner@archlinux.org>
      Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
      27441f20
  5. Aug 08, 2013
  6. May 03, 2013
  7. Oct 27, 2012
  8. Oct 03, 2012
  9. Jun 16, 2012
  10. Feb 12, 2012
    • Lukas Fleischer's avatar
      archrelease: Validate tags before releasing · 9ab0d945
      Lukas Fleischer authored
      
      
      Compare every single tag with a list of valid tags. This prevents broken
      releases which occurred whenever someone made a typo on the command
      line:
      
          $ ./archrelease community i686
          ==> ERROR: archrelease: Invalid tag: "community" (use -f to force release)
      
      Since the list is used in the ZSH completion as well, break it out to a
      separate file and move it to "lib/". Also, add a command line parameter
      to allow for releasing to an unknown repository when necessary.
      
      Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
      9ab0d945
  11. Nov 04, 2011
  12. Nov 01, 2011