chiark / gitweb /
badcommit-fixup: more wip
[dgit-junk.git] / README.update
1 #### infrastructure upgrade process
2  # get right tree in git on zealot and make it pass all tests
3  # push to inbound branches
4      git push gideon +HEAD:t
5      git push cgi +HEAD:t
6  # prepare upload of dgit-test-dummy
7      XX dch -v1.12 -Dexperimental 'For testing infrastructure'
8      debcommit -a
9      dgit -wgf build
10  # actually update infra on gideon and dgit-cgi
11      cd /srv/dgit.debian.org/dgit-live
12      git merge --ff-only t
13  # do test push
14      dgit --deliberately-include-questionable-history push experimental
15  # check that tree is visible with
16      curl https://git.dgit.debian.org/dgit-test-dummy/info/refs
17      dgit fetch experimental
18  # fetch into zealot
19      git fetch -p gideon
20      git fetch -p cgi
21
22 #### package upload
23  # get right tree in git on zealot and make it pass all tests
24  # push to chiark master
25  # finalise changelog (including suite and urgency) and commit
26  # build
27      PERLLIB=. ./dgit -wgf sbuild -c build
28  # install
29      XX dpkg -i ../dgit_BLAH_all.deb
30  # push
31      dgit -wgf push
32  # push to chiark master
33
34 #### new DM key
35
36   save mail message to folder T
37   rsync -vP ijackson@chiark:mail/T .
38
39   cd ~/things/Dgit/dm-user-keys
40   ../play/get-new-dm-keys
41   cp ~/junk/debian-maintainers.gpg .gnupg/pubring.gpg 
42
43   HOME=`pwd` emacs -nw
44   M-x load-lib vm-pgg RET
45   M-x set-va RET pgg-gpg-use-agent RET nil RET
46   M-x vm-visit-folder T
47
48   check signature comes up as VALIDSIG
49   we expect TRUST_UNDEFINED
50
51   Use emacs to write-region the pubkey as <firstname>-<surname>.keys
52
53   git-add HWATEVER
54   git-commit -m "Add a key`echo; echo; cat T`"
55
56   git push
57
58 On gideon as dgit
59
60  /srv/dgit.debian.org/config/update-dm-keys 
61
62 Write email reply:
63 -8<-
64 Done.
65
66 Please check that it works, with something like
67   dgit -cdgit-distro.debian.readonly=false clone dgit
68
69 Regards,
70 Ian.
71 -8<-