Giter Club home page Giter Club logo

Comments (6)

AMDmi3 avatar AMDmi3 commented on September 25, 2024

For the record, we could use yaml files as a data source for this repository. However, neither index nor yaml files contain upstream homepage/download URLs which are required. In addition, yaml contains ${{}} substitutions repology will not process.

from repology-updater.

henrysachs avatar henrysachs commented on September 25, 2024

I thought it would be possible to just reuse what repology is doing for alpine. But I'm new to the project itself.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 25, 2024

I thought it would be possible to just reuse what repology is doing for alpine

It is possible, it's just that yamls contain more information. However unlike alpine, neither source for wolfi provides upstream urls which are required. For instance, U field:

AlpineWolfi
C:Q1hQXyr5dHRc7y3qyEYpt4ClTH908=
P:7zip
V:22.01-r5
A:x86_64
S:854251
I:1695744
T:File archiver with a high compression ratio
U:https://7-zip.org/
L:LGPL-2.0-only
o:7zip
m:Alex Xu (Hello71) 
t:1681951026
c:1e1218a01323cd9ff429e22ac0f8d62ae9088b78
k:100
D:so:libc.musl-x86_64.so.1 ...
p:7zip-virtual p7zip=22.01-r5 ...
C:Q1WmGnNqREp8L34t7rILbINU9sMts=
P:7zip
V:22.01-r0
A:x86_64
S:1212953
I:2621828
T:File archiver with a high compression ratio
L:LGPL-2.0-only
o:7zip
t:1686942850
c:3034d595991a3a7cabd72895c1a6a723e337e478
D:so:ld-linux-x86-64.so.2 so:libc.so.6 ...
p:cmd:7zz=22.01-r0

from repology-updater.

henrysachs avatar henrysachs commented on September 25, 2024

I will try to create an issue at wolfi where the packages are built.

from repology-updater.

kaniini avatar kaniini commented on September 25, 2024

Wolfi does not have a concept of a "package maintainer" (m field).

We can start recording the upstream websites for packages, but the U field is not a mapping to upstream source code. It is strictly informational.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 25, 2024

m field is not required, and there's no specific requirements for contents of U field - just any kind of URL related to upstream is needed as these are used to tell similarly named projects from each other.

However I do not suggest to change repository index format and/or introduce new data just for repologys sake. As far as I can see, upstream URLs (download locations) are present in yaml files. These contain ${{}} variable substitutions repology won't be able to expand, but if you provide compilation of these files (preferably as a single yaml or json file) with substitutions expanded that would be usable. Even preferable to APKINDEX, as these contain more useful data, such as patch files listing. On the downside, custom parser would have to be aware of uses parameters for e.g. fetch, git-checkout and patch, but these look pretty simple at the first glance. If there's no complex parsing logic hidden somewhere, it's not a problem.

from repology-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.