Giter VIP home page Giter VIP logo

Comments (11)

serratedserenade avatar serratedserenade commented on June 2, 2024 1

Yeah, tested it with our own Google Cloud project, the duplication no longer occurs on the following cases:

  • Unpublishing a version and republishing it
  • Publishing a new version

Just to note, using npm publish

from verdaccio-google-cloud.

MichielDeMey avatar MichielDeMey commented on June 2, 2024 1

Just tested this and confirmed working using [email protected]. 👍

from verdaccio-google-cloud.

juanpicado avatar juanpicado commented on June 2, 2024

It might be, still experimental. I haven't had enough time to test it deeply.

from verdaccio-google-cloud.

serratedserenade avatar serratedserenade commented on June 2, 2024

Getting this issue as well, I'd love to work on this but I don't know where to begin

from verdaccio-google-cloud.

juanpicado avatar juanpicado commented on June 2, 2024

Hi @serratedserenade , I'd start reviewing the unit tests. I think the issue is within this plugin. Let me know if you need help.

from verdaccio-google-cloud.

juanpicado avatar juanpicado commented on June 2, 2024

I think the problem might be, the way I'm checking whether some entity exist is not well developed

from verdaccio-google-cloud.

serratedserenade avatar serratedserenade commented on June 2, 2024

Yeah I saw, I'm just randomly brute forcing the issue here haha, I do notice add is called without checking if the package exists yet so I think that's maybe that is it (?). The key/value pair just gets added with a new ID under Datastore.

I'm not 100% familiar with the working of the storage plugin or how verdaccio works internally yet but where would be the best place to write the fix or should I just modify add?

from verdaccio-google-cloud.

serratedserenade avatar serratedserenade commented on June 2, 2024

My attempt at the fix #8

from verdaccio-google-cloud.

juanpicado avatar juanpicado commented on June 2, 2024

Have you tried already this fix on live? @serratedserenade

from verdaccio-google-cloud.

juanpicado avatar juanpicado commented on June 2, 2024

published on [email protected]

from verdaccio-google-cloud.

juanpicado avatar juanpicado commented on June 2, 2024

Thanks for you help :)

from verdaccio-google-cloud.

Related Issues (7)

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.