Re: Is there any new change in gitea repos structure?
Reply #9 –
But in order to get stable PKGBUILD it is required to checkout several commits until i find the one in which pkgbase.yaml doesn't contain testing/staging entries. Also, there is no protection from human mistake when repo migration occurs: at some point pkgbase.yaml may contain two entries for system+world, for example. It could be mitigated by parsing diff for each commit but this task is much harder compared to parsing yaml.
For example, if repo for package consists only of directories corresponding to repos to which package belongs, there is no need to checkout commits in search for stable version and a mistake i described can be mitigated by parsing list of files in diff which is rather trivial