GithubHelp home page GithubHelp logo

Comments (2)

mbredel avatar mbredel commented on June 18, 2024 1

In General:
To me a duplicated package is one that has the same group-name-version attributes.

"Simple" Solution:
Yes, if a package with a given group-name-version exists already, there should be an error code. Maybe HTTP 409 - Conflict would be better. But returning an error code is quite simple.

Complex Solution:
The Gatekeeper has to check the package in detail: If it is the very same package, i.e. exactly the same content, then HTTP 200 - OK might also be ok. To this end, the user just gets access to the package. If the content differs, then there is an error on the SDK/developer side, as this should never happen. However, the Gatekeeper could inform the user about this conflict ... somehow.

For now:
Lets start with the simple solution! :-)

from son-gkeeper.

jbonnet avatar jbonnet commented on June 18, 2024

Answered by #229

from son-gkeeper.

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.