Revert "FIXME: this can be rather slow and blocks until the size is known"
[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 ./build
20 meson compile geeqie-pot
21 meson compile geeqie-update-po
22 ```
23
24 * Update the desktop template if menus have changed
25
26 ```sh
27 ./scripts/template-desktop.sh
28 ```
29
30 ### After compiling the sources, carry out the following actions when necessary
31
32 * Update the man page and Command Line Options section in Help if the command line options have changed
33
34 ```sh
35 ./scripts/generate-man-page.sh
36 ```
37
38 * Update the keyboard shortcuts page in Help if any keyboard shortcuts have changed
39
40 ```sh
41 ./doc/create-shortcuts-xml.sh
42 ```
43
44 * Commit the changes and push to the .repo
45
46 * Generate a new AppImage (note that this should be run on a **20.04 system**)
47
48 ```sh
49 ./scripts/generate-appimage.sh <location of local appimages folder>
50 ```
51
52 * Upload AppImage to web AppImages location
53 * Edit `<location of local geeqie.github.io>/AppImage/appimages.txt` to include latest AppImage at the *top* of the list
54 * Update the web-page Help files if they have changed
55     * commit and push if necessary
56
57 ```sh
58 ./scripts/web-help.sh
59 ```
60
61 * Copy `geeqie.desktop` to `<location of local geeqie.github.io>/`
62 * Copy `org.geeqie.Geeqie.appdata.xml` to `<location of local geeqie.github.io>/`
63 * Push changes to `geeqie.github.io`
64
65 ## New release
66
67 Carry out the above actions to ensure the master branch is up to date, and then the following actions for new version \<n.m\>.
68
69 Edit `org.geeqie.Geeqie.appdata.xml.in` - Change date and version \
70 Edit `NEWS` - The usual information. Ensure the first line is of the form `Geeqie <n.m[.p]>`
71
72 ```sh
73 ./scripts/new-release.sh <-h for list of options>
74 ```
75
76 Go to `https://github.com/BestImageViewer/geeqie/releases` and click on `Draft a new release`.
77
78 Under `Release title` insert "Geeqie \<n.m\>"
79
80 Under `Choose a tag` select `v<n.m>`
81
82 In `Describe this release` copy-paste the relevant section of `NEWS`.
83
84 Upload the `/tmp/geeqie-<n.m>.tar.xz` and `/tmp/geeqie-<n.m>.tar.xz.asc` files created above
85
86 Click `Publish release`
87
88 Update the [Wikipedia entry](https://en.wikipedia.org/wiki/Geeqie)