-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate applications.json from software-boutique-curated-apps #77
Comments
Hi. I'm looking to help out if I can. Having looked over the related issues it seems like the ask is to build a python script to take the content of the Given that this is slightly coupled to the related issue 9 in the other repo and someone has been assigned for that, can I just check that this is still available? |
Hello, yes, there are two sides to this. This one is definitely up for grabs. We can already generate the new index into a single, compressed JSON file, but to use that data here, we'll need a "converter" script to translate the new data (+ icons/screenshot filenames) from This can be completed before ubuntu-mate/software-boutique-curated-apps-prototype#9, but bearing in mind the "new index" is outdated by a few years. The structure specification is up-to-date. Watch out for the The other task is the opposite direction - a one-time migration from this huge I had painstakingly performed this originally back in 2017 - going through apps and updating some metadata (e.g. developer URLs). Looking back, I found I did commit a script that could be used as a base, albeit for an earlier index revision. |
OK so I can just use the generated applications json from the dist directory instead of iterating through the folders. Easy enough. I've had a play around and I get get most of the data I need. However there seems to be missing information from the new format to the old one. I was wondering if you could advise on how to proceed. 😃
Hope all this makes sense. I feel like maybe this should wait until #9 has been finished. |
Ahh shoot! 🤦 That provides the "filter" drop-down in the upper-right. This was removed in the new index since the new 2.0 Boutique doesn't intend to have an equivalent. I guess we'll need to either bring that back in the new index temporarily, or the script could process the older
The new key is now called
Kinda, the data is more unified with the Where it use to be:
The new index is:
I suppose you're right that it would be a good idea for ubuntu-mate/software-boutique-curated-apps-prototype#9 to be completed first. 💡 Perhaps we'll need an issue/spreadsheet/script to keep track of the required data to be added afterwards, which will mainly be new applications from the older |
After the "new" dedicated index repository is updated with all the latest changes in ubuntu-mate/software-boutique-curated-apps-prototype#9, we will be ready to use the new format for this version of Software Boutique until our new 2.0 version is fully developed.
This could work in one of two ways:
ubuntu-mate-welcome
to read the new JSON data.The last option would be preferred, so it doesn't break the
tools
ortests
and we must keep theUnlisted
key which is not present in the new index.The text was updated successfully, but these errors were encountered: