-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation on setup #40
Comments
Hi @MarcoStb1993, This application should be run on a server with access to your GitLab instance, in a place which can be accessed by your clients. Using the registry locally is as simple as the README makes it out to be, you just need to the reference to the server hosting gitlab-cargo-shim to your .cargo/config.toml and you can start declaring dependencies against it. Let me know how you get on Thanks |
The README is indeed quite unclear, and the Dockerfile won't work due to file permission issues. (is "nobody" user broken?) Say, in .cargo/config.toml, the actual registry index string would be: Besides, it would be helpful to showcase the "config.json" file provided by the index within the shim server. The contents of this file may explain how cargo APIs are actually invoked, or where to find actual ".crate" files. |
Another question about "admin token" configuration in the shim config.toml file. Unfortunately, I was using a Gitlab-like platform, which could only grant "project token read/write" and "package registry r/w" privileges to a user token, not "sudo". I could only use a personal CI token instead. |
First of all, thanks for making this publicly available!
Unfortunately, I have very limited experience with the GitLab package registry but would like to use gitlab-cargo-shim to deploy multiple Rust crates to a repository to serve as a private crates.io replacement.
I have the following questions which would probably be helpful for newcomers like me to use this project:
The text was updated successfully, but these errors were encountered: