20180805 15:00 Asia/Taipei Share our Scripts ================= Agenda ------ Introductions & script samples Discussion Places to send scripts Script transfer Scripts ------- Sean -> 13 git subcommands git-unshallow: turn shallow clone into a “proper” one git-pull-safe: fast-forward all branches it can https://git.spwhitton.name/dotfiles & https://git.spwhitton.name/propellor insinuate-dotfiles (secure dotfile transfer to porterboxen) myrepos wrappers find any unregistered repo find stuff that isn't pushed git push-all: does what is on the tin (pre)offcaff: offline caff rebuild-rdeps -> ratt Balint - automatic package update preparation script (build/test/etc) - packages the collection of scripts in debian-dad - ubuntu-dev-tools: mk-sbuild nicoo - installs everything via ansible -> sbuild + lintian/QA/... + repositories integration setup https://github.com/nbraud/ansible/tree/master/roles/dev/debian https://github.com/nbraud/vagrant-sbuild is just that slapped in a VM - dotfile deployment scripts with git and gpg sig verification https://github.com/nbraud/ansible.dotfiles based on GNU Stow, but planning on switching to emanate: https://github.com/duckinator/emanate/ (disclaimer: My partner wrote it and I sent patches and love poems) - wemux - tmux session sharing - acaff - offline mode enrico - file transfer script: pokes router+DDNS, serves file over HTTP - ncdu support for git-annex - debug-on-porterbox sarnold - Ubuntu security scanning scripts pabs - filter unattended-upgrades output -> unattended-upgrades bug git-review (but not the git-review in the archive) (review incoming and outgoing commits) list hosting things? things-to-do: extracts and shuffles TODO lists from source repositories check-all-the-things https://github.com/osamuaoki/git-cvs norbert - automatic mail sync script - complex subversion to git mirroring script Diziet - git rebase-interdiff #!/bin/bash set -e gitdir=`git-rev-parse --git-dir` read <"$gitdir"/rebase-merge/stopped-sha stopped diff -u "$@" <(git show --oneline -p $stopped) <(git diff HEAD) \ | tail +3 \ | less +/'^[-+][-+]' # ^ MIT chiark-scripts - git-cache-proxy (read-only) - cvs-repomove: moves CVS repos around - git branch-move - hexterm: interactive binary protocol terminal - xduplic-copier -> cluster-ssh, tmux multiplexing 822-date -> date -r /usr/local/bin/init -> mollyguard fakedaemon -> nc Ben - salsa.d.o/kernel-team/kernel-team - git format-patch-for-debian: add bug/origin fields (DEP-3 metadata) - currently quite specific to Linux kernel git - d-k-prerelease: consistency checks on the working tree, finalise changelogs - d-k-tag: Tag based on changelog data binview, a hexdump wrapper, obsoleted by hd (hexdump -C) Places to put scripts ---------------------- git-extras devscripts ubuntu-dev-tools pkg-perl-tools moreutils mailscripts -scripts stuff them into related packages publish on github/gitlab/etc not every script needs full documentation etc what about https://salsa.debian.org/debian/misc-scripts ?? Obsoleted scripts ----------------- Workarounds for lack of features that appear later. Breakage in scripts due to changes.