Giter Site home page Giter Site logo

Comments (3)

quba42 avatar quba42 commented on August 22, 2024

I guess I never replied to this.

I believe you are correct, pulp_deb will always use its own naming scheme for packages in the pool folder published via the APT publisher. I believe it stores the original package name in relative_path for the benefit of verbatim publications.

My question is if this design is really an issue? Even if some package is renamed during publish, so long as the generated metadata is consistent this should not matter to any clients that consume the repo. Or am I missing something?

from pulp_deb.

daviddavis avatar daviddavis commented on August 22, 2024

I think the main issue that we ran into is that we migrated (or synced) our packages into Pulp and then pointed our hostname from the old server to Pulp. So we had to use relative_path in order to prevent clients from getting 404s. We have patched pulp_deb so we could continue using the package names (ie relative_path) from the old system to solve this problem of 404s.

We'd like to at some point ditch our fork/patches of pulp_deb (probably after the source package PR is merged and released) but I am guessing if we try to ditch our patch and use pulp_deb's naming scheme (instead of relative_path), clients that have the metadata cached will get 404s?

from pulp_deb.

daviddavis avatar daviddavis commented on August 22, 2024

I guess we could test out to see if apt is smart enough to re-fetch the metadata if it receives a 404 when trying to fetch a package that has been renamed.

from pulp_deb.

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.