Closed
Description
During the course of vendoring rustc-perf in rust-lang/rust. There were a couple of issues found:
analyzeme
anddecodeme
haven't yet published to crates.io.analyzeme
depends on old versions ofmeasureme
via git branches. Those versions are not available on crates.io.
While it is possible to tweak rustc bootstrapping process to allow Git dependencies, it might be under the risk that a commit is missing or a branch points to a different commit.
Proposed solution
The current rust-lang/rustc-perf@892c681 depends on these packages:
└── analyzeme v11.0.0 (https://github.com/rust-lang/measureme?branch=stable#f2914503)
├── analyzeme v9.2.0 (https://github.com/rust-lang/measureme?tag=9.2.0#9f51cde2)
│ ├── measureme v9.2.0 (https://github.com/rust-lang/measureme?tag=9.2.0#9f51cde2)
├── decodeme v10.1.2 (https://github.com/rust-lang/measureme?tag=10.1.2#f9f84d1a)
│ ├── measureme v10.1.2 (https://github.com/rust-lang/measureme?tag=10.1.2#f9f84d1a)
├── decodeme v11.0.0 (https://github.com/rust-lang/measureme?branch=stable#f2914503)
│ ├── measureme v11.0.0 (https://github.com/rust-lang/measureme?branch=stable#f2914503)
├── measureme v10.1.2 (https://github.com/rust-lang/measureme?tag=10.1.2#f9f84d1a) (*)
└── measureme v11.0.0 (https://github.com/rust-lang/measureme?branch=stable#f2914503) (*)
I would suggest following these step and publishing theses packages if possible:
Version 9.2.1
- Create a v9 branch from tag 9.2.0
- @weihanglo will create PR and changelog for the release 9.2.0...weihanglo:measureme:prepare-9.2.1
- Review and merge the PR.
- Publish
measureme@9.2.1
andanalyzeme@9.2.1
to crates.io (in this order).
Version 10.1.3
- Create a v10 branch from tag 10.1.2
- @weihanglo will create PR and changelog for the release 10.1.2...weihanglo:measureme:prepare-10.1.3
- Review and merge the PR.
- Publish
measureme@10.1.3
,decodeme@10.1.3
, andanalyzeme@10.1.3
to crates.io (in this order).
Version 11.0.2
- @weihanglo will create PR and changelog for the release 11.0.1...weihanglo:measureme:prepare-11.0.2
- Review and merge the PR.
- Publish
measureme@11.0.2
,decodeme@11.0.2
, andanalyzeme@11.0.2
to crates.io (in this order).
Additional questions
I am aware of the existence of the stable
branch, though I am not sure about the semantic of it. Perhaps not really useful? I see that in rust-lang/rust we don't really use that branch except in rustc-perf
.
Metadata
Metadata
Assignees
Labels
No labels