diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-22 09:06:12 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-22 09:06:12 -0700 |
commit | 3e09b5d5080619b959f6b56f7f288cdcb39b77ab (patch) | |
tree | e9dba9baa9eba83ecc3cfd685ea8641b9f4b8cac /.bashrc | |
parent | f51bc46d624373e919fd1a5de81ec80f175521e0 (diff) | |
download | dotfiles-3e09b5d5080619b959f6b56f7f288cdcb39b77ab.tar.gz |
make sbuild-preupload and package-plan-unpack available to Eshell
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -90,36 +90,6 @@ alias spin-this-host-now='(cd /usr/local/propellor && sudo ./propellor)' # --- more powerful aliases built with shell functions -# run a package build and the full suite of checks that I can do -# locally before an upload. Generally I use this on an UNRELEASED -# package and then use `dgit push-source` for the actual upload -sbuild-preupload() { - local dgit="" - local sbuild="" - for key in "$@"; do - case $key in - --gbp|--dpm|--quilt=*) - dgit="$dgit $key" - shift - ;; - *) - sbuild="$sbuild $key" - shift - ;; - esac - done - case $(pwd) in - *src/DHG_packages/p*) - sbuild $sbuild \ - --no-run-lintian --run-piuparts --run-autopkgtest - ;; - *) - eval dgit $dgit sbuild $sbuild \ - --no-run-lintian --run-piuparts --run-autopkgtest - esac - lintian -} - package-plan-unpack () { package="$1" patches="$HOME/src/package-plan/patches/${package%-*}/${package##*-}" |