Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update curated apps with old index #9

Open
lah7 opened this issue Mar 2, 2020 · 5 comments
Open

Update curated apps with old index #9

lah7 opened this issue Mar 2, 2020 · 5 comments
Labels
help wanted A good issue to contribute to index An issue or pull request change to the index

Comments

@lah7
Copy link
Member

lah7 commented Mar 2, 2020

The last of the initial migration took place on 24 Sep 2017. There's been many changes since.

A human (ideally accompanied by a script) needs to go through both indexes and bring this one up-to-date. There will be new apps, dropped apps and minor tweaks to existing apps.

@lah7 lah7 added help wanted A good issue to contribute to index An issue or pull request change to the index labels Mar 2, 2020
@knutecht
Copy link

knutecht commented Apr 8, 2020

I can try my hand at this.

Let me make sure I understand. You would like to update the folders and files in this repository with the updates that gone into the ubuntu-mate-welcome-legacy repository's applications.json file, right?

@lah7
Copy link
Member Author

lah7 commented Apr 9, 2020

Thank you for the offer! Yes, it probably would be a Python script that reads the old applications.json and conditionally loops through all the data.

The spec of the new format can be found in CONTRIBUTING.md - there are some differences and new keys (e.g. developer name) that didn't exist in the old humongous JSON file to be aware of.

Let us know how you get on. 👍


Our plan after this task is for things to work the other way round - so this becomes the new "source" and a script will generate the old applications.json - this is until we get the new Software Boutique up and running. I've noted this in ubuntu-mate/ubuntu-mate-welcome-legacy#77.

@lah7
Copy link
Member Author

lah7 commented Apr 17, 2020

@knutecht How's progress? Still happy to be assigned to this task?

@lah7
Copy link
Member Author

lah7 commented Apr 17, 2020

Blown off the dust in the history (June 2017) is actually the script I wrote when performing the initial migration that may be useful as a starting point to sync changes: c100241

Though, this is for an earlier revision, so there will be some differences to the latest index spec.

Also worth bearing in mind: there is new data present in this repository (notably, summary, developer-name, developer-urls keys, and updated mobile app URLs). So, the migration shouldn't be too destructive, and also an opportunity to note newly added apps that will need "new data".

A little messy, but that's the status 3 years later when Software Boutique 2.0 was intended to be released around 18.04 😊

@ymauray
Copy link
Contributor

ymauray commented Jun 3, 2021

Hi ! I'm going to get this. I need a fresh index for Boutique 2.0 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted A good issue to contribute to index An issue or pull request change to the index
Projects
None yet
Development

No branches or pull requests

3 participants