Code Monkey home page Code Monkey logo

Comments (5)

albertmink avatar albertmink commented on June 11, 2024 1

Once we have published the repo, urls like
https://raw.githubusercontent.com/SAP/abap-file-formats/main/file-formats/clas/clas.json
would work and open the file as it is. Tagging by release/tag is preserved.
To me, this seams like the natural choice.

from abap-file-formats.

schneidermic0 avatar schneidermic0 commented on June 11, 2024

Now, I have got your point. This is a good question. I guess we should start with the second one. Any further opinions?

from abap-file-formats.

Christopher-Hermann avatar Christopher-Hermann commented on June 11, 2024

I also prefer the second approach.

from abap-file-formats.

xtough avatar xtough commented on June 11, 2024

Neither the 1st, nor the 2nd approach.
1st is obviously not a valid URL, it will always yield 404.
2nd is a moving target, because blob/main may change from one minute to the next.
At least for instances of these JSON Schemas, I would prefer a stable URL like https://github.com/SAP/abap-file-formats/release/1.2.3/file-formats/clas/clas.json and for the schema ID itself something like https://github.com/SAP/abap-file-formats/release/latest/file-formats/clas/clas.json
We should look into GitHub Tags and Releases at https://docs.github.com/en/github/administering-a-repository/linking-to-releases

from abap-file-formats.

albertmink avatar albertmink commented on June 11, 2024

Good input and yes, we should avoid using moving targets 😅

So, once there is a release/tag release_v.1, we can use
https://github.com/SAP/abap-file-formats/blob/release_v.1/file-formats/clas/clas.json
instead the blob/main.

from abap-file-formats.

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.