Code Monkey home page Code Monkey logo

Comments (4)

dlangille avatar dlangille commented on July 21, 2024

Are you happy to do the coding?

from freshports.

dlangille avatar dlangille commented on July 21, 2024

That was just a question, not a requirement.

Can you help with some of the examples etc?

I looked at my own feed: https://portscout.freebsd.org/rss/[email protected]

I see port:portnamepy-hared</port:portname> but not the category for that port in a distinct field.

Parsing the XML shouldn't be too difficult.

from freshports.

jethron avatar jethron commented on July 21, 2024

Possibly even easier than the RSS feeds; Portscout generates a dump.json file that is a large array of objects representing the ports with potential updates. Should be simpler to integrate since it's just a single file that doesn't need to be kept in sync with a list of maintainers.

Each object looks like:

    {
        "ver": "4.1.2",
        "name": "py-cbor2",
        "checked": "2021-05-17 04:18 GMT",
        "maintainer": "[email protected]",
        "newurl": "https://pypi.org/packages/source/c/cbor2/cbor2-5.2.0.tar.gz",
        "discovered": "2020-10-01 06:11:43.490839",
        "cat": "devel",
        "method": "G",
        "newver": "5.2.0",
        "updated": "2021-05-17 02:13 GMT"
    }

from freshports.

dlangille avatar dlangille commented on July 21, 2024

I'm happy for anyone to take this over. Write it in the scripting language you prefer (we're already using perl, /bin/sh, and python in the backend). When you need to check or store a database value, I'll help you code that part.

from freshports.

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.