Giter Club home page Giter Club logo

Comments (7)

Conan-Kudo avatar Conan-Kudo commented on August 16, 2024

I would suggest supporting them as configuration files, so that repo release packages could install vendor classes to map related vendors together.

However, if this use-case isn't considered important, then going with a way to configure it at build time is fine.

Though I'd figure this would be a choice made at the package manager tool level, rather than the libhif level?

from libdnf.

cgwalters avatar cgwalters commented on August 16, 2024

Hmm...my intuition here is that the locking should be based on the origin repo (id). The RPM Vendor field isn't something users ordinarily interact with or see much (IME), but everyone knows about yum repos.

Worth noting rpm-ostree won't have the problem linked in the original bug because layered packages can't replace parts of the base system.

Also we should note the real problem is that whatever is generating those RPMs needs to also generate provides filters.

from libdnf.

Conan-Kudo avatar Conan-Kudo commented on August 16, 2024

@cgwalters Well, I think that's how libzypp implements it too.

That said, could a locking mechanism use multiple factors to judge a "vendor". Typically, you have GPG keys, the Vendor tag, and the repo ID from the *.repo file.

I would hazard a guess to say that the combination of these things could be used to constitute a vendor "class"?

from libdnf.

cgwalters avatar cgwalters commented on August 16, 2024

Also, another reason not to use the Vendor field is it's then something we're relying on the RPM authors to get right, but if they have other serious problems like not filtering provides...

Whereas .repo files are:

  • Under client side control (modulo RPMs which include them but that's another topic...)
  • Simple and harder to screw up

from libdnf.

j-mracek avatar j-mracek commented on August 16, 2024

I believe that Modularity provides an alternative. Please if you feel that the issue is still relevat, please open the bugzilla with detailed description of user-cases that the request will solve.

from libdnf.

Conan-Kudo avatar Conan-Kudo commented on August 16, 2024

Modularity definitely is not an alternative

from libdnf.

inknos avatar inknos commented on August 16, 2024

Closing this as dnf can now handle vendor locking
rpm-software-management/dnf#1602
#907

from libdnf.

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.