diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-03-28 12:26:34 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-03-28 12:33:50 +0100 |
commit | 61f4aa2818605eb8f9977684e2197a8079fdbc58 (patch) | |
tree | 0c8567e25a4f8ed49d1ace62135f11c2af10a5b6 | |
parent | 6b14de9ff884a5ffcc5d6dbf2279e9a5f4ff057f (diff) | |
download | shared-mime-info-61f4aa2818605eb8f9977684e2197a8079fdbc58.tar.gz |
HACKING: Rename and update
For meson and gitlab changes.
-rw-r--r-- | HACKING.md (renamed from HACKING) | 27 |
1 files changed, 12 insertions, 15 deletions
@@ -1,5 +1,5 @@ Note: latest version of this file is at: -http://cgit.freedesktop.org/xdg/shared-mime-info/tree/HACKING +https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/HACKING.md A few ground rules for people interested in adding new mime-types. @@ -37,21 +37,21 @@ Test suite You need to have xdgmime checked out [1] and compiled. By default, the build system will expect the source directory to be at the same level as -shared-mime-info. ../xdgmime/src/test-mime-data will be run against -tests/list. An alternate path to xdgmime can be passed by setting the -XDGMIME_PATH environment variable to the appropriate path. +shared-mime-info. `../xdgmime/src/test-mime-data` will be run against +`tests/mime-detection/list`. An alternate path to xdgmime can be passed by +using the `xdgmime-path` meson option such as `-Dxdgmime-path=/path/to/xdgmime`. The format of the file is: -<testcase filename> <expected mime-type> <expected failures> +`<testcase filename> <expected mime-type> <expected failures>` The expected failures is whether matching the file with the mime-type would fail when matched by file, data or name. "x" indicates expected failure, "o" indicates expected success. Trailing "o"s can be omitted. -See the top of the tests/list file for syntax details. +See the top of the `tests/mime-detection/list` file for syntax details. -You can also temporarily print the results of test-mime-data by putting your -test files in the staging-tests/ sub-directory. +You can also temporarily print the results of `test-mime-data` by putting your +test files in the `staging-tests/` sub-directory. [1]: Repository details at: https://gitlab.freedesktop.org/xdg/xdgmime @@ -59,14 +59,11 @@ https://gitlab.freedesktop.org/xdg/xdgmime Releasing --------- -- Run "make update-translations" and "make check-translations" before release -- Copy the file to ~hadess/public_html on gabe.freedesktop.org -- Update http://www.freedesktop.org/wiki/Software/shared-mime-info +- Run `ninja shared-mime-info-pot`, `./po/check_translations.sh` and + `./po/update_translations.sh` before release +- Upload to shared-mime-info gitlab Updating the spec on the website -------------------------------- -- update http://cgit.freedesktop.org/xdg/xdg-specs/tree/web-export/specs.idx -- go to /srv/specifications.freedesktop.org/www on gabe -- run ../update.py - +- update https://gitlab.freedesktop.org/xdg/xdg-specs/blob/master/web-export/specs.idx |