Then let me refine the question. You continued by 'I can only describe the architecture that I implementing'. This is good. On top of that I am interested at the current state. What you are implementing is not yet done or active, right?
Sounds great. I'd like to hook in there. Would it be possible for me to provide code that reads from the DB and generates the plist?timer wrote: ↑Tue Aug 08, 2023 6:34 amI can only describe the architecture that I implementing as a base/starting option now. CloudFlare D1 is used as a data store for OXP manifests, CloudFlare Worker implements an API available at api.oolite.space for authentication and updating the database, this API used by our site. When the data changes, the Worker generates a plist "on the fly" and uploads the new file via the GitHub API to the repository to the only-static branch, and then it will be available at the same address http://addons.oolite.space/api/1.0/overview.
I guess some command line application, maybe a docker container would be suitable?
Actually this is the automation that I'd like to go for. The manifest files are in public locations as part of the OXZ anyway. So the overall plist can be generated based on the OXZs.timer wrote: ↑Tue Aug 08, 2023 6:34 amSome automation options can be offered, for example, the developer can place the manifest file in the public access (GitHub or another place), and by one click on the our site - Worker can fetch the manifest file, parse it, and update the data in the database. IMHO, it is possible to fully automate the update process through the mechanics of GitHub hooks, which will react to updating the manifest file in the repo and send signal to Worker.
To some degree I would like to cancel this out. My intention is to have the master information inside the OXZ, which means authors would be pointed to keeping that file up to date. Since that data is retrieved automatically, it will pop up in the plist and a lot of discrepancies are solved, while at the same time the OXZ's manifest.plist can be placed in version control if some author so wishes.