summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-28 12:13:33 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-28 12:13:33 -0700
commit245118539aa39452c77ce3424fc771fc1157b23c (patch)
tree768d580a924233539da05659af4c9f1379ed83f2 /.bashrc
parent033e257201d6af55ddbe4277d86365abaa1cc551 (diff)
downloaddotfiles-245118539aa39452c77ce3424fc771fc1157b23c.tar.gz
sbuild-prerelease alias
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 4eacdf3b..b50a21d2 100644
--- a/.bashrc
+++ b/.bashrc
@@ -73,6 +73,11 @@ alias grepcopy="grep --color=always -Eir '(copyright|©)' * | less -R"
alias test-package-plan="cabal --no-require-sandbox update \
&& schroot -c haskell -d $HOME -- /bin/sh -c \
\"cd src/package-plan && perl test-packages.pl\""
+# from dgit-user(7), this pushes a non-native package through sbuild
+# without an orig.tar for the version in the first changelog entry.
+# Useful for sbuilding an unreleased version of a package I maintain
+# upstream
+alias sbuild-prerelease="sbuild --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn'"
# alias develacc='sudo machinectl shell spw@develacc \
# $(sudo enter-develacc /bin/sh -c "getent passwd spw | cut -d: -f7")'