Giter Club home page Giter Club logo

Comments (4)

secana avatar secana commented on June 11, 2024

Hi! Try it with the config below.

[registries]
my-registry = { index = "sparse+https://test.bandola.cz/api/v1/crates/", token = " actual token " } # sparse is required

[source.crates-io]
replace-with = "kellnr-cratesio"

[source.kellnr-cratesio]
registry = "sparse+https://test.bandola.cz/api/v1/cratesio/" # cratesio NOT crates!

If you want to pull polars through kellnr, you do not have to specify the registry.

polars = { version = "0.38.1", features = ["csv", "http"] } is enough. You only need to specify the registry for your own packages. The proxy is transparent.

If something still doesn't work. Let me know.

from kellnr.

xNxExOx avatar xNxExOx commented on June 11, 2024

Well I was testing on my local PC, against my server, I must have missed the /cratesio/, because I was trying so many different options, that is my mistake....
But I already know, this would not work, because of the https, in my company environment. The working solution I find so far is an shared folder inside the nework acting a "directory registry", adding crates is quite an manual process, but considering that no git request to an external source will work, I am not sure, that there is even an better solution 😢

from kellnr.

secana avatar secana commented on June 11, 2024

I don't understand why https is an issue. Kellnr works with and without https. Can you elaborate what the issue is?

from kellnr.

xNxExOx avatar xNxExOx commented on June 11, 2024

I was trying to run it from my personal public domain, where I have canfigured everything to be https.
Neither cargo nor git cli are able to download anything from outside of company network, and few allowed sites.
To be honest I did not try any http only, because everything redirects to https by default I did not really even think about it.

from kellnr.

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.