News for hackers. Stuff that matters.
Re:Ask HN: Would more apps build with Git back-end if there’... by PaulWaldman on Wednesday October 26, 2022 @07:52AM (#33342335)
Can you provide a few examples of apps you have in mind?

Are you indicating a service would fetch files from git based on user requests?

Re:Ask HN: Would more apps build with Git back-end if there’... by hannes_paul on Wednesday October 26, 2022 @08:35AM (#33342728)
Oh I see how that was unclear. I don't mean using git as a database for user requests, but git as a back-end for collaborative applications. For example, in our case, translators and devs have to collaborate to achieve localization. Normally translators would work in some isolated cloud application and then data pipelines between said application and the git repo are built. But why doesn't the translator facing app just build directly on git? Then editing the translation strings would happen on the git repo and there would be no synching between two sources of truth (git-repo and cloud solution)
Re:Ask HN: Would more apps build with Git back-end if there’... by billconan on Wednesday October 26, 2022 @09:20AM (#33343256)
I think asking translators to use git is a hard sell.
Re:Ask HN: Would more apps build with Git back-end if there’... by intelVISA on Wednesday October 26, 2022 @09:56AM (#33343772)
Its dirty core could be hidden behind some pastel colored buttons perhaps
Re:Ask HN: Would more apps build with Git back-end if there’... by karmakaze on Wednesday October 26, 2022 @12:28PM (#33346043)
I think this is a pattern that does get used. The method I've seen is that the English language text is saved in files in particular directories with text keys. Translators add similar files with different text for the same keys and commit to the repo. Whether this is done manually or automated isn't a big deal. The app could even run the `git` commands and operate on the output of those commands and filesystem--there's nothing particularly hard to parse.