Update installation script for metadata spelling
[geeqie.git] / CHECKLIST.md
1 # Checklist for code updates and new releases of Geeqie
2
3 ## Code Updates
4
5 ### Before compiling the sources, carry out the following actions when necessary
6
7 * Update `org.geeqie.Geeqie.appdata.xml.in` with the latest released version and date
8
9 * If source files have been added or removed from `./src/` directory, resync `./po/POTFILES.in`
10
11 ```sh
12 cd ./po
13 ./regen_potfiles.sh | patch -p0
14 ```
15
16 * Keep translations in sync with the code
17
18 ```sh
19 cd ./po
20 make update-po
21 ```
22
23 * Update the desktop template if menus have changed
24
25 ```sh
26 ./scripts/template-desktop.sh
27 ```
28
29 ### After compiling the sources, carry out the following actions when necessary
30
31 * Update the man page and Command Line Options section in Help if the command line options have changed
32
33 ```sh
34 ./scripts/generate-man-page.sh
35 ```
36
37 * Update the keyboard shortcuts page in Help if any keyboard shortcuts have changed
38
39 ```sh
40 ./doc/create-shortcuts-xml.sh
41 ```
42
43 * Commit the changes and push to the .repo
44
45 * Generate a new AppImage (note that this should be run on a **20.04 system**)
46
47 ```sh
48 ./scripts/generate-appimage.sh <location of local appimages folder>
49 ```
50
51 * Upload AppImage to web AppImages location
52 * Edit `<location of local geeqie.github.io>/AppImage/appimages.txt` to include latest AppImage at the *top* of the list
53 * Update the web-page Help files if they have changed
54     * commit and push if necessary
55
56 ```sh
57 ./scripts/web-help.sh
58 ```
59
60 * Copy `geeqie.desktop` to `<location of local geeqie.github.io>/`
61 * Copy `org.geeqie.Geeqie.appdata.xml` to `<location of local geeqie.github.io>/`
62 * Push changes to `geeqie.github.io`
63
64 ## New release
65
66 Carry out the above actions to ensure the master branch is up to date, and then the following actions for new version \<n.m\>.
67
68 Edit `org.geeqie.Geeqie.appdata.xml.in` - Change date and version \
69 Edit `NEWS` - The usual information. Ensure the first line is of the form `Geeqie <n.m[.p]>`
70
71 ```sh
72 ./scripts/new-release.sh <-h for list of options>
73 ```
74
75 Go to `https://github.com/BestImageViewer/geeqie/releases` and click on `Draft a new release`.
76
77 Under `Release title` insert "Geeqie \<n.m\>"
78
79 Under `Choose a tag` select `v<n.m>`
80
81 In `Describe this release` copy-paste the relevant section of `NEWS`.
82
83 Upload the `/tmp/geeqie-<n.m>.tar.xz` and `/tmp/geeqie-<n.m>.tar.xz.asc` files created above
84
85 Click `Publish release`