hi oy all!
the yunohost team is glad to announce that we improved the packaging process [OMG it’s way to corporate lol sorry ]
i start again…
in the last few weeks we’ve unexpectedly improved our internal tools and we’re just proud of it, so we’re talking about it, that’s all
it will just be a nerdism post, feel free to stop reading here if that doesn’t interest you, it’s okay, i won’t be sad, promise!
so… [OMG there’s still someone, am shy]
in the beginning, there was packaging v1. it was a mess.
then packaging v2 came and saved us (almost)
packaging v1 had github actions scripts to automatically update the package when a new version of the app was released by it’s devs
unfortunately, too few packages implemented it, due to a lack of standardization
when packaging v2 (our saviour) brought standardization and saved us (almost), many more apps used a new auto-update mechanism, but that wasn’t enough, because only github upstream was supported
one day one of our regular contributors modified our current auto-updater scripts to support gitlab
it was nice, but not enough!
using this great work and the energy I didn’t have (i’m tired), I added support for gitea and forgejo, on a whim in a single night (as all my work lmao)
yes, gitea and forgejo are using the exact same API, but now as forgejo is a hard fork, this may change in the future
so now the auto-updater script is able to handle most of app’s upstream, as we will see just below
we also worked to better show what the script has done, by clearly displaying updates that have just been pushed, those that have been pending (so who needs attention), as well as those that have failed and why
this greatly simplify a significant part of package maintenance work, allowing us to rest (many people in the team are exhausted) or work on something else
for you, apps will simply updated quickly! which is nice too, eh ^w^
huge nerdism time!
today, we have :
- 558 yunohost packages
- but 22 packages tagged as
deprecated
(so no longer maintained by their devs) - so
558 - 22 = 536
- 515 packages are tagged “working”
and more precisely, in those 558 packages (sorry it’s a pain to filter deprecated
ones so I just won’t do it ):
- 86 packages v1 (so incompatible with the new auto-updater)
- 472 packages v2
- so only less than 15% packaging v1 remaining after one year
apps using auto-update (not the github action shit):
- 321 apps in total
- 281 apps using github as upstream
- 27 apps using gitlab as upstream
- 5 among them on the flagship gitlab.com instance
- 15 among them on framagit.org
- so 7 among them who are on other gitlab instances
- 2 apps using gitea as upstream
- 11 apps using forgejo as upstream
- 8 among them on codeberg.org
- so 3 among them who are on other forgejo instances
so the auto-updater script is covering nearly 70% ((321 * 100) / 472 = 68,00
) of packages v2!!
how cool is that?!
the remaining are mostly edge-case (devs doing weird stuff, basically) or sources provided on a custom website (but we’re working on that)
so, yeah, the team is proud and we wanted to share this to you ^w^
you’re still there? woaw nice!
so i can tell you a secret, only you and me will know:
we also improved the app store recently, you noticed?
- we put it on the weblate to allow translation
- deprecated apps are now in a seperate list (at the bottom) instead of mingled with all the others
- there are now a link to the package license in app pages
- we’ve improved eloquence of error messages when sending a wishlist request, because not everyone is a huge nerd like us!
- oh and we’re now supporting non-free (and more specifically: post-free) licenses for apps and yunohost packages ! a proper warning will be show to let people know if an app that interests them is concerned
PS: am sorry, i don’t have energy for a french-speaking translation, please forgive me