Code Monkey home page Code Monkey logo

Comments (5)

z3ntu avatar z3ntu commented on June 18, 2024 3

I've integrated the release-monitoring.org API into the postmarketOS pmbootstrap tool. Here are some thoughts on it:

Advantages:

  • Many projects are registered on that site.
  • Custom package name mapping support (for when a package has a different name upstream compared to the package name)
  • Relatively nice API - terminology is a bit confusing at first ("projects" vs "packages") - but it's actually relatively simple

Disadvantages:

  • Bug fix rollouts on the website are really slow; edit 2020-07-24: there have been cases of projects getting "randomly" deleted because of a bug, I'm not convinced the admins of release-monitoring.org care particularly much about the data :/
  • Some projects have invalid versions shown as "latest", for example qmltermwidget: https://github.com/Swordfish90/qmltermwidget/tags (the 0.6.0 tag comes from the "qtermwidget" project where qmltermwidget was forked from)
  • Projects API doesn't have a case insensitive search (while the website does), see fedora-infra/anitya#807 , requiring custom mapping to be created merged now
  • Some projects are registered multiple times e.g. once with PyPI source, once with GitHub source

from archweb.

jelly avatar jelly commented on June 18, 2024

release-monitoring doesn't seem to provide a nice API, but only a fedmsg which has a package in the AUR.

https://fedmsg.readthedocs.io/en/stable/subscribing/ subscribe to it and check for the "anitya.project.version.update" topic.

from archweb.

jelly avatar jelly commented on June 18, 2024

A different controversial thought is defining the source watch url in our git repo or as part of the PKGBUILD similiar to debian's watch file. Since nvchecker/urlwatch require specific tweaks per upstream url which makes it very hard.

from archweb.

jelly avatar jelly commented on June 18, 2024

One option is repology for now:

r = requests.get('https://repology.org/api/v1/projects/?inrepo=arch&outdated=1')
print(r.json().keys())

from archweb.

jelly avatar jelly commented on June 18, 2024

Or use https://wiki.debian.org/debian/watch

from archweb.

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.