Skip to content

Commit 36df596

Browse files
committed
Add helper for Editor processing
I've made no effort to make this work for people other than me, and limited effort on that.
1 parent 186c69b commit 36df596

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ Session.vim
7171
*~
7272

7373
*.pdf
74+
/tools/old-xeplist.xml
75+
/tools/xeps-email.conf
76+
/tmp/
77+
/pr-worktree/

tools/merge-helper.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
echo "Ensure you have ../xep-attic, then press enter"
4+
read
5+
echo "Generating pre-merge xeplist"
6+
make build/xeplist.xml
7+
cp build/xeplist.xml tools/old-xeplist.xml
8+
echo "Do your merges now and update the local checkout if you did that remotely (enter)"
9+
echo "(Follow https://github.com/xsf/xeps/blob/master/docs/PROCESSING.md )"
10+
read
11+
make build/xeplist.xml
12+
echo "Now archiving (enter)"
13+
read
14+
./tools/archive.py tools/old-xeplist.xml build/xeplist.xml
15+
pushd ../xep-attic
16+
git add content/xep-*
17+
git commit -a -m "Add latest changes"
18+
echo "Showing commit (enter)"
19+
read
20+
git show
21+
echo "If that looks good, push (enter)"
22+
read
23+
git push origin master
24+
popd
25+
echo "Now generate the docker image and upload it (enter)"
26+
read
27+
echo "Performing dry-run email using ./tools/xeps-email.conf (create if you don't have it) (enter)"
28+
read
29+
./tools/send-updates.py -c tools/xeps-email.conf --dry-run tools/old-xeplist.xml build/xeplist.xml [email protected]
30+
echo "Assuming that was right, running the real emails (enter)"
31+
read
32+
./tools/send-updates.py -c tools/xeps-email.conf tools/old-xeplist.xml build/xeplist.xml [email protected]

0 commit comments

Comments
 (0)