summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-07-22 09:06:12 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-07-22 09:06:12 -0700
commit3e09b5d5080619b959f6b56f7f288cdcb39b77ab (patch)
treee9dba9baa9eba83ecc3cfd685ea8641b9f4b8cac /.bashrc
parentf51bc46d624373e919fd1a5de81ec80f175521e0 (diff)
downloaddotfiles-3e09b5d5080619b959f6b56f7f288cdcb39b77ab.tar.gz
make sbuild-preupload and package-plan-unpack available to Eshell
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc30
1 files changed, 0 insertions, 30 deletions
diff --git a/.bashrc b/.bashrc
index 4986470a..10b264ba 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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##*-}"