Hello,
I would like to list changes to the application in the MyApp configuration for my own F-Droid application repository.
I have the following directory structure, where the changelogs directory contains a default.txt file:
./metadata
├── com.company.myapp
│ └── fastlane
│ └── metadata
│ └── android
│ ├── en-US
│ │ ├── changelogs
│ │ │ └── default.txt
│ │ ├── full_description.txt
│ │ ├── images
│ │ │ ├── featureGraphic.png
│ │ │ ├── icon.png
│ │ │ └── phoneScreenshots
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpg
│ │ │ └── 4.jpg
│ │ ├── short_description.txt
│ │ └── title.txt
│ └── de-DE
│ ├── full_description.txt
│ ├── short_description.txt
│ └── title.txt
└── com.company.myapp.yml
The problem is that changelogs is supported in newer versions of fdroidserver (I am currently using ver. 2.3.3-1).
If I generate the repository with the commands:
fdroid update -c --pretty
fdroid rewritemeta
fdroid update --pretty
so, as a result I have, among other files, the following files:
entry.jar
entry.json
index-v1.jar
index-v1.json
index-v2.json
There is a section in the entry.json file that indicates that index-v2.json will be used:
"index": {
"name": "/index-v2.json",
"sha256": "f9b108bb50dcb27879cda145d110afed4ccca6be9b38f8d58d8bfed6f416732e",
"size": 8237,
"numPackages": 2
},
However, the index-v2.json file does not contain changelogs information.
The index-v1.json file contains a localized section in which information from the changelogs is listed in the whatsNew section:
"localized": {
"en-US": {
"description": "en-US (full description) new\n",
"featureGraphic": "featureGraphic_tQ3ySLQigcuc8gHI49OxV5mHU99LUOENE-1yv0jUcbQ=.png",
"icon": "icon_rDzDM2RcuKAzC67LfCP7TOshAKHFm75A0K_R4Ue9f4Y=.png",
"name": "MyApp",
"phoneScreenshots": [
"1.jpg",
"2.jpg",
"3.jpg",
"4.jpg"
],
"summary": "en-US (short description) new",
"whatsNew": "- change 1\n- change 2\n"
},
"de-DE": {
"description": "de-De\n",
"name": "MyApp-DE",
"summary": "de-DE"
}
}
In the F-Droid client application, I want to display what is listed in the changelogs.
What am I doing wrong, or what should I do to make the MyApp application details in the F-Droid client display what is listed in the changelogs?
Thank you very much for your answer.