-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Disable AOSC for permanent HTTP/500" #1418
Conversation
|
What is the "upstream download URLs"? Do you mean the upstream source of the package (e.g. "github.com/xxxx/xxx-software") or the URL on packages.aosc.io (e.g. "https://packages.aosc.io/packages/xxxx")? |
That. E.g., the contents of
Repology constructs these links itself using |
We have some packages with |
Hi, the empty I will try to fill out the metadata as soon as possible. |
Since our Is there a way Repology can extract these source URLs? Or should we provide the fully-expanded URLs via the package site? |
If you mean support for custom schemas like Upstream URLs are required to tell equally named projects from each other, and there are a lot (about a hundred) of these in AOSC.
I expect these URLs in the json dump. Just my 2¢, if you generate json by processing each package individually, you could probably just do e.g. |
Hi,
Yes, you don't have to do that. It is too complex to parse it yourself, and some of the source specifications have extra options in them. But I think that:
we do have links to the source tarball in our API: curl https://packages.aosc.io/packages/firefox?type=json | jq ".srcurl"
"https://archive.mozilla.org/pub/firefox/releases/128.0.3/source/firefox-128.0.3.source.tar.xz" And for Git repositories: curl https://packages.aosc.io/packages/pipewire?type=json | jq ".srcurl"
"https://gitlab.freedesktop.org/pipewire/pipewire" |
And we have packages with dummy sources for 1) metapackages, 2) transitional packages and 3) some applications that we do use daily but they are not redistributable so we have to add a dummy package to inform the user about that, and the actual package will be downloaded during postinst - one of these packages is |
Repology uses https://packages.aosc.io/list.json and only that, it lacks these urls.
That's ok, but it would also be nice to have metapackages and transitional packages marked in some way in json so repology could exclude these. |
I made AOSC-Dev/packages-site-rs#10 to include the source URLs in the list.json. However, because some packages have different source URLs for different architectures, like |
a689568
to
dac789a
Compare
|
This reverts commit 024146e. The issue should be fixed by AOSC-Dev/packages-site-rs#9.
dac789a
to
1b65b8d
Compare
Hi, I have just committed the database backing our package site, packages with empty category and section are filled. Please check. |
There are still 42 with emmpty category/section:
|
They are considered "out-of-tree" (not part of AOSC OS ABBS), and some of them are dropped from the tree such as MSBuild (it will get revived). I can clear them out, but I would like to ask for other maintainers. @MingcongBai Can we remove these entries (except MSBuild)? |
Fair enough, |
This reverts commit 024146e.
The issue should be fixed by AOSC-Dev/packages-site-rs#9.