[gimp] build: add a bit more info about using the Anitya db (for flatpak deps).



commit 12aae56ede71420bbdb5cec8713385a666995c2a
Author: Jehan <jehan girinstud io>
Date:   Wed Oct 20 13:12:39 2021 +0200

    build: add a bit more info about using the Anitya db (for flatpak deps).

 build/flatpak/flatpak-howto.txt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/build/flatpak/flatpak-howto.txt b/build/flatpak/flatpak-howto.txt
index ffb718b128..668d264cc3 100644
--- a/build/flatpak/flatpak-howto.txt
+++ b/build/flatpak/flatpak-howto.txt
@@ -147,6 +147,20 @@ Or if you already have a build:
   $ cd <path-to-gimp-repo>/flatpak/build
   $ podman run --rm --privileged -v "$(pwd):/run/host:rw" 
ghcr.io/flathub/flatpak-external-data-checker:latest /run/host/org.gimp.GIMP-nightly.json
 
+  Our prefered backend for the checker is Anitya, a database maintained
+  by the Fedora project. To set up a new dependency check by Anitya:
+
+  1. verify it is available in the database: https://release-monitoring.org/
+  2. then copy the project ID which is the number in the project URI
+     within the database.
+  3. Finally add a "x-checker-data" field within the "source" dictionary
+     in the manifest with type "anitya", the "project-id" and a
+     "url-template".
+  4. We usually want to depend on stable releases only, i.e. set
+     "stable-only to `true`. On exceptional cases, for very valid
+     reasons only, we might bypass this limitation, adding a comment
+     explaining why we use an unstable release.
+
 * For a stable release, remove the following line from the manifest:
 
 "desktop-file-name-prefix": "(Dev) ",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]