Setting "version" field in own repository
Wojciech Fred
wojciech.fred at gmail.com
Mon Oct 11 08:49:37 UTC 2021
Hello,
I am trying to set up (for my own needs) a flatpack repository. Thanks to
the project documentation and description of the flat-manager, I was able
to get everything up and running. I am able to build a package, commit and
publish it. After adding my own repository as a remote repository on the
client machine and executing the command:
$ flatpack remote-ls | grep my-repo
I get the result (I use the sample application from the description on
Alexander Larsson blog):
App com.example.App stable x86_64 my-repo app/com.example.App/x86_64/stable
8dd62fc37b01 org.freedesktop.Platform/x86_64/21.08 1,0 kB 202 bytes
but when I asking for app in flathub:
$ flatpak remote-ls -d | grep digikam
digiKam Photo management org.kde.digikam 7.1.0 stable x86_64 flathub
app/org.kde.digikam/x86_64/stable 3c6b22716fd8 org.kde.Platform/x86_64/5.15
350,7 MB 143,8 MB
The difference is in displaying the: version field. The package I have
built does not have the "version" field. This is my question: at what point
the building/commiting/publishing process im able to add this field. I'm
new to ostree (I understand the analogies with the git repository and
commit storing).
I tried:
* adding metadata field "version" with command: ostree summary --repo=repo
-u -m version = "'0.0.1'" before pushing to remote repository
* adding information about the release in the appdata.xml file
* searched the file
https://github.com/flathub/org.kde.digikam/blob/master/org.kde.digikam.json
for any clues
Nothing works.
Thanks in advance for your help.
---
Wojciech F
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20211011/e6a81008/attachment.htm>
More information about the Flatpak
mailing list