GithubHelp home page GithubHelp logo

Comments (5)

heartsucker avatar heartsucker commented on August 26, 2024

Based off the two issues I just linked above, it should be noted that the URLs field should be altered to not be a URL but also a path. This would allow simple relative paths on the all servers/mirrors. That is, every mirror might have the same directory structure and be identical, and in one line it could be noted that the root.json is under meta/root.json.

from taps.

JustinCappos avatar JustinCappos commented on August 26, 2024

from taps.

heartsucker avatar heartsucker commented on August 26, 2024

Let's say I have repo tuf.example.com and it mirrors to tuf.foo.com and tuf.bar.com, but on all 3, I have the metadata served from meta/*.json and the targets are still from /. I want to be able to express that more simply. That is, all mirrors always have the metadata served from /meta. Doing it with the URLs notation would require each mirror to have separate roots that all point to $self/meta for the different pieces. This is more related to theupdateframework/python-tuf#463 than this issue itself, but I guess I wanted to express a perceived shortcoming here.

from taps.

vladimir-v-diaz avatar vladimir-v-diaz commented on August 26, 2024

@heartsucker Can you give us an example of the notation you'd like for TAP 5 to support?

Are you saying that the following is unwieldy, for example?

"root": {
         // Fix the root role to keys controlled by the group of enterprise
         // users instead of PyPI administrators.
        "keyids": [...],
        // And update the root metadata file from a privately controlled server.
        "URLs": ["http://tuf.example.com/metadata/root.json",
            "tuf.foo.com/metadata/root.json, "tuf.bar.com/metadata/root.json"],
        ...
      },

from taps.

mnm678 avatar mnm678 commented on August 26, 2024

Closing discussion for rejected TAP.

from taps.

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.