Comments (4)
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.
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.
I don't understand why https is an issue. Kellnr works with and without https. Can you elaborate what the issue is?
from kellnr.
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)
- statusCode=404 in Cargo.toml in Visual Studio Code HOT 2
- Permission to push and pull HOT 2
- Switch to static.crates.io
- Updating helm values and upgrading, does not change default.toml HOT 1
- Spurious network error HOT 1
- [feature request] list dependees in addition to dependencies
- UI bug in search view HOT 3
- Doc build in kellnr docker container fails with: Invalid cross-device link HOT 3
- Kellnr's docker image doubled in size in last release HOT 4
- Public crates registry HOT 3
- Feature Improvement Request: Simplifying Documentation URL Format and Adding Latest Version Link HOT 4
- Cannot upload doc HOT 7
- ldap support HOT 1
- Disabaling the crates.io proxy will not disable the sparse index HOT 1
- private registry hosting cratesio setup HOT 2
- Kellnr calculates wrong checksum [CRITICAL] HOT 17
- Doc build in kellnr docker container fails with: Invalid cross-device link HOT 5
- Can't autogenerate docs when using docker image HOT 2
- Failed to verify checksum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kellnr.