Skip to content

Release analyzeme, decodeme, and measureme to crates.io #229

Closed
@weihanglo

Description

@weihanglo

During the course of vendoring rustc-perf in rust-lang/rust. There were a couple of issues found:

  • analyzeme and decodeme haven't yet published to crates.io.
  • analyzeme depends on old versions of measureme 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

  1. Create a v9 branch from tag 9.2.0
  2. @weihanglo will create PR and changelog for the release 9.2.0...weihanglo:measureme:prepare-9.2.1
  3. Review and merge the PR.
  4. Publish measureme@9.2.1 and analyzeme@9.2.1 to crates.io (in this order).

Version 10.1.3

  1. Create a v10 branch from tag 10.1.2
  2. @weihanglo will create PR and changelog for the release 10.1.2...weihanglo:measureme:prepare-10.1.3
  3. Review and merge the PR.
  4. Publish measureme@10.1.3, decodeme@10.1.3, and analyzeme@10.1.3 to crates.io (in this order).

Version 11.0.2

  1. @weihanglo will create PR and changelog for the release 11.0.1...weihanglo:measureme:prepare-11.0.2
  2. Review and merge the PR.
  3. Publish measureme@11.0.2, decodeme@11.0.2, and analyzeme@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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions