Coder Social home page Coder Social logo

Comments (4)

relrod avatar relrod commented on September 26, 2024

Just a note that this also affects the pkgwat CLI and Python lib:

$ pkgwat releases firefox
Starting new HTTPS connection (1): apps.fedoraproject.org
+---------------+----------------+---------------------+
| release       | stable_version | testing_version     |
+---------------+----------------+---------------------+
| Rawhide       | 24.0-1.fc21    | None                |
| Fedora 20     | 24.0-1.fc20    | 24.0-1.fc20 3 karma |  <--------
| Fedora 19     | 24.0-1.fc19    | None                |
| Fedora 18     | 24.0-1.fc18    | None                |
| Fedora EPEL 6 | None           | None                |
| Fedora EPEL 5 | None           | None                |
+---------------+----------------+---------------------+

As well as Fedora Mobile, and the pkgwat Scala port of the Python lib.

from fedora-packages.

relrod avatar relrod commented on September 26, 2024

This is also in other fields, not just just the releases.

λ> import Fedora.Packages.Lens
λ> head rows ^. name
"<span class=\"match\">firefox</span>"

Ideally the API should never return HTML, or only if given a special flag that tells it to.

from fedora-packages.

ralphbean avatar ralphbean commented on September 26, 2024

Ideally the API should never return HTML, or only if given a special flag that tells it to.

Agreed. pkgwat.api has a strip_tags function to try and workaround this: https://github.com/fedora-infra/pkgwat.api/blob/develop/pkgwat/api/utils.py

from fedora-packages.

relrod avatar relrod commented on September 26, 2024

Well it helps somewhat, but unless it has changed recently, it still has the issue in this comment.

from fedora-packages.

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.