Comments (6)
hi!
i just started using panamax and it works perfectly well! thanks a lot!
but the issue about self-updates of rustup... are there any plans to mirror the necessary files as well? or is there tool that would do just that?
thanks anyway and best regards!
from panamax.
So I would like to mirror these files, but I'm not sure what all needs to be grabbed from the crates.io mirrors, how to discover said files, etc.
I'll try to ask on the Rust discord to see if anyone else knows, unless someone from @rust-lang can chime in who knows the architecture of crates.io better than I do.
For the time being, you should be able to re-download and run the rustup-init, and it'll act the same (it'll update the existing rustup, rather than replacing anything).
from panamax.
thanks a lot for your reply!
the error message i get (i.e. the file rustup
wants to access first) is:
$ rustup update
...
info: downloading self-update
error: could not download file from 'http://panamax.internal/rustup/archive/1.20.2/x86_64-unknown-linux-gnu/rustup-init' to '/home/rust_user/.cargo/rustup-init'
(where i changed my internal server back to your http://panamax.internal/rustup/
to make it correspond to your example setting).
so it seems rustup/archive
needs to be mirrored as well (it is not with my current settings).
from panamax.
Right, makes sense. Unfortunately I'm not sure how exactly to mirror the rustup/archive directory, as there's no listing.
from panamax.
https://github.com/rust-lang/rustup/blob/245b5885febcfa3106f531bef87fea529bacada3/src/cli/self_update.rs#L1025 Source code reference to this URL, as a note to myself
from panamax.
I've added code to create and update the archive directory whenever rustup is updated, so hopefully this won't be a problem anymore.
from panamax.
Related Issues (20)
- wrong paths / urls HOT 7
- Adjust the vendor directories being tracked (over time) HOT 2
- A way to serve the documentation for crates.io?
- Please add selective syncing HOT 4
- Unable to complete downloading crates HOT 3
- Crate whitelisting HOT 1
- Cargo vendor failed using mirror repository
- could not resolve host:panamax.internal HOT 6
- [feature request] panamax publish my-mirror
- on Docker - error creating server listener: Address family not supported by protocol HOT 1
- not a git repository error
- how to masquerade as crates.io
- [Enquiry] How big the full mirror is? HOT 3
- [Question] Can I start sync while the panamax is serving? HOT 1
- How do I download WASI and WASM targets ?
- [BUG] inconsistent state may occur HOT 4
- Mirroring Vendored Crates
- No config.json HOT 2
- Unable to `cargo search` against panamax mirror HOT 2
- [Question] Use S3/minio to host /mirror? HOT 3
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 panamax.