flatpak.github.io icon indicating copy to clipboard operation
flatpak.github.io copied to clipboard

Inverting source of truth for setup instructions

Open razzeee opened this issue 1 year ago • 4 comments

Status quo:

This repo holds the data for setup instructions.

We sync it over to flathub.org with a script.

Proposal:

Invert this flow and get the data from flathub.org

Benefit:

We want to start having setup instructions translated, see https://github.com/flathub-infra/website/issues/3118

razzeee avatar Jul 07 '24 12:07 razzeee

Interesting idea, however I am not sure whether such auto-sync would be possible on Flatpak.org with the current deploy setup.

@barthalion What do you think? :)

AsciiWolf avatar Jul 07 '24 13:07 AsciiWolf

I'm not sure if I said auto sync, but just some script, that somebody runs from time to time, basically the same as we have on flathub right now.

https://github.com/flathub-infra/website/blob/main/frontend/setup-instructions.sh

razzeee avatar Jul 07 '24 14:07 razzeee

Yeah, we could be cloning this in the other direction, although I would rather not learn how to re-use translations with Jekyll. As long as file structure stays the same, I think it's alright.

barthalion avatar Jul 08 '24 05:07 barthalion

Yeah, my expectation is to only use english here for now.

razzeee avatar Jul 08 '24 07:07 razzeee