Giter Club home page Giter Club logo

Comments (12)

saenai255 avatar saenai255 commented on September 24, 2024 1

@D-Brox this is not true. We can offer our own API for personal servers that serves the cached bulk export.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 24, 2024 1

@saenai255 yes, as long as you do no more than 1 rps and set an unique user-agent header

from repology-updater.

D-Brox avatar D-Brox commented on September 24, 2024

I think this would only work with the official server. Personal servers would still need to use the old method.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 24, 2024

Doable (via https://github.com/repology/repology-exports), no ETA though. Please give me a hint on what export format would be most convenient for this task.

from repology-updater.

saenai255 avatar saenai255 commented on September 24, 2024

JSON would be the easiest format for us to implement. Regarding Repology Exports, it seems to only parse a data file and doesn't actually download or connect to any API.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 24, 2024

JSON indeed, I'd like to know which fields you need there.

Regarding Repology Exports, it seems to only parse a data file and doesn't actually download or connect to any API.

That's not intended to be run by you, it's intended to be setup on the Repology side to produce static bulk json exports on a regular basis.

from repology-updater.

saenai255 avatar saenai255 commented on September 24, 2024

Ideally, the more data we have, the better.

However, the essential fields are: repo, subrepo, srcname, binname, visiblename, version, origversion, status, and projectname. Here, projectname would be the path variable used when searching for a particular package. As an example, in the following endpoint /api/v1/project/firefox the projectname would be firefox

Our users rely on these fields to filter packages and find the correct one.

from repology-updater.

saenai255 avatar saenai255 commented on September 24, 2024

Would it be fine if we used this export script until you finish yours? It fetches all the Repology project pages sequentially and aggregates them in an SQLite database. We plan to run this script about twice a day.

from repology-updater.

Elsie19 avatar Elsie19 commented on September 24, 2024

On our server, we're getting the error:

2023/08/19 10:35:53 ERROR: Failed to export Repology projects: failed to fetch repology project page
Get "https://repology.org/api/v1/projects/": dial tcp 185.185.68.145:443: i/o timeout

but not on any of my personal computers, so I believe that our server is being blocked for some reason.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 24, 2024

so I believe that our server is being blocked for some reason

These are listed one message above. If these are fixed, I need your IP to unblock.

from repology-updater.

Elsie19 avatar Elsie19 commented on September 24, 2024

Our IP is 104.238.165.50.

from repology-updater.

AMDmi3 avatar AMDmi3 commented on September 24, 2024

Our IP is 104.238.165.50.

Unblocked, please make sure you follow terms of use.

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.