Skip to content

Commit d21bb60

Browse files
committed
Remove mentions about index-co
1 parent 47e65bb commit d21bb60

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

docs/ARCHITECTURE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ These files and directories have to do with the backend:
3434
* `src/` - The backend's source code
3535
* `target/` - Compiled output, including dependencies and final binary artifacts - (ignored in
3636
`.gitignore`)
37-
* `tmp/index-co` - The registry repository; in production this is cloned from Github and in
37+
* `tmp/index-bare` - The registry repository; in production this is cloned from Github and in
3838
development from `tmp/index-bare` - (ignored in `.gitignore`)
3939

4040
The backend stores information in a Postgres database.
@@ -98,8 +98,7 @@ local development environment
9898
* `script/init-local-index.sh` - Creates registry repositories used during development
9999
* `tmp/` - Temporary files created during development; when deployed on Heroku this is the only
100100
writable directory - (ignored in `.gitignore`)
101-
* `tmp/index-bare` - A bare git repository, used as the origin for `tmp/index-co` during
102-
development - (ignored in `.gitignore`)
101+
* `tmp/index-bare` - A bare git repository during development - (ignored in `.gitignore`)
103102
* `.github/workflows/*` - Configuration for continuous integration at [GitHub Actions]
104103
* `.watchmanconfig` - Use by Ember CLI to efficiently watch for file changes if you install watchman
105104

docs/CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,13 +450,13 @@ live crates.io, you won't be able to publish that crate locally.
450450
In your crate directory, run:
451451
452452
```
453-
cargo publish --index file:///path/to/your/crates.io/checkout/tmp/index-co
453+
cargo publish --index file:///path/to/your/crates.io/tmp/index-bare --token $YOUR_TOKEN
454454
```
455455
456456
> If you're using an older version of cargo you should use `--host` instead of `--index`.
457457
458458
where `file:///path/to/your/crates.io/checkout` is the directory that you have
459-
crates.io's code in, and `tmp/index-co` is the directory with the git index
459+
crates.io's code in, and `tmp/index-bare` is the directory with the git index
460460
that `./script/init-local-index.sh` set up.
461461
462462
Note that when you're running crates.io in development mode without the S3
@@ -478,7 +478,7 @@ content:
478478
[source]
479479

480480
[source.mirror]
481-
registry = "file:///path/to/your/crates.io/checkout/tmp/index-co"
481+
registry = "file:///path/to/your/crates.io/tmp/index-bare"
482482

483483
[source.crates-io]
484484
replace-with = "mirror"
@@ -488,8 +488,8 @@ Then add the crate you published to your local crates.io as a dependency in
488488
this crate's `Cargo.toml`, and `cargo build` should display output like this:
489489
490490
```
491-
Updating registry `file:///path/to/your/crates.io/checkout/tmp/index-co`
492-
Downloading yourcrate v0.1.0 (registry file:///path/to/your/crates.io/checkout/tmp/index-co)
491+
Updating registry `file:///path/to/your/crates.io/tmp/index-bare`
492+
Downloading yourcrate v0.1.0 (registry file:///path/to/your/crates.io/tmp/index-bare)
493493
Compiling yourcrate v0.1.0
494494
Compiling thiscrate v0.1.0 (file:///path/to/thiscrate)
495495
Finished dev [unoptimized + debuginfo] target(s) in 0.56 secs

script/init-local-index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ touch tmp/index-bare/git-daemon-export-ok
3737
cat - <<-EOF
3838
Your local git index is ready to go!
3939
40-
Please refer to https://github.com/rust-lang/crates.io/blob/master/README.md for more info!
40+
Please refer to https://github.com/rust-lang/crates.io/blob/master/docs/CONTRIBUTING.md for more info!
4141
EOF

0 commit comments

Comments
 (0)