Giter Club home page Giter Club logo

Comments (5)

favoyang avatar favoyang commented on June 18, 2024

Hi @sdcinglis,

OpenUPM isn't designed to be a self-hosting solution or to act as a private Git-to-registry bridge. I made some decisions to leverage public services to make it functional.

I'm unsure why GitHub Package Registry lacks list/search support. As long as it supports either the old /-/all search endpoint or the new /v1/search endpoint, the Unity editor should list your packages after setting up the related scopes. To verify, try npm --registry https://github-registry-hostname --verbose search your-keyword on your GitHub registry.

Publishing to a private registry can be straightforward if you automate the process with semantic-release-action. Check out the @semantic-release/npm docs for instructions on configuring a custom registry (publishConfig/NPM_CONFIG_REGISTRY and NPM_TOKEN).

If maintaining a self-hosted verdaccio is challenging, any other private registry, such as Azure Artifacts or npmjs, should work. I haven't tried any of them, so I don't have a preference.

from openupm.

sdcinglis avatar sdcinglis commented on June 18, 2024

Understood, but yeah GitHub Package Registry doesn't support either of the search APIs which is a very strange decision on their part IMO.

from openupm.

joaocc avatar joaocc commented on June 18, 2024

Hi. I have read somewhere that Azure Artifacts cannot be used directly as it doesn't support some required spec (https://developercommunity.visualstudio.com/t/Azure-Feed-NPM-Registry-not-aligned-with/1388626?space=21&entry=suggestion&q=NPM+Registry+API).
It seems it would need to be accessed behind something like this https://github.com/codebrewery/UPM-Proxy-GitHub.
So, having a direct private hosting would prob be an easier solution.
Thanks

from openupm.

favoyang avatar favoyang commented on June 18, 2024

The referenced article didn't mention if the Azure Artifacts support the old /-/all endpoint which can also be used for UPM search.

Anyway, creating a private verdaccio seems the most viable solution for now.

from openupm.

favoyang avatar favoyang commented on June 18, 2024

Closed the issue, because the service is not designed as an application for private usage.

from openupm.

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.