-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Josh preparations #12759
base: master
Are you sure you want to change the base?
Josh preparations #12759
Conversation
ef84791
to
5276923
Compare
7dcb022
to
3f6693b
Compare
3957dad
to
c9f2c44
Compare
b916a64
to
f3af02d
Compare
First sync has over 10k commit 😮 See josh-project/josh#1328 |
Pro/Con list for Josh: Pros:
Cons:
The only big con is the number of commits. All things considered, the pros outweigh the cons IMO. Footnotes
|
I guess it is trading off a few huge commits against a huge number of small merge commits. On the plus side, the josh merge commits do not pollute git blame.
|
josh-project/josh#1329 landed, so a josh patch shouldn't be required any more (but it'd be good to re-test this with the latest josh master to make sure that the final PR that landed still works as intended). |
Thanks, I will re-test this after the next sync on Thursday. |
From the meeting: The move to Josh got accepted. It would be nice to reduce the number of commits though. I will follow up on this and the move once I'm back from my business trip. |
This comment was marked as resolved.
This comment was marked as resolved.
fd562d8
to
01904b0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
7808dbc
to
9a8881f
Compare
This comment was marked as resolved.
This comment was marked as resolved.
9a8881f
to
fc1b821
Compare
It seems like you have been keeping this very up to date - is this just waiting on a final decision? Or is josh-project/josh#1328 considered a blocker. |
We want to move to Josh, that's already decided. I didn't have the time to follow up with josh-project/josh#1328. But IIUC if that should get implemented, we'd need to force push over the Clippy master, if we want to switch to it later. |
It's unclear, maybe there are ways to avoid that, e.g. using the |
☔ The latest upstream changes (presumably #13157) made this pull request unmergeable. Please resolve the merge conflicts. |
There was some dependence between the different subcommands of clippy_dev. And this dependence will increased with the introduction of the sync and release subcommands. This moves the common functions to a `utils` module, to decouple the other modules.
Now that JOSH is used to sync, it is much easier to script the sync process. This introduces the two commands `sync pull` and `sync push`. The first one will pull changes from the Rust repo, the second one will push the changes to the Rust repo. For details, see the documentation in the book.
This is a QoL improvement for doing releases. The `release bump_version` subcommand increments the version in all relevant `Cargo.toml` files. The `release commit` command will only work with the new Josh syncs. Until then the old way, using `git log` has to be used.
fc1b821
to
3ec2859
Compare
☔ The latest upstream changes (presumably 0712689) made this pull request unmergeable. Please resolve the merge conflicts. |
Based on #13693 Adds 2 subcommands to `cargo dev`: - `cargo dev sync update_nightly`: Which updates the nightly versions in `rust-toolchain` and `clippy_utils/README.md` - `cargo dev release bump_version`: Bumps the version in all relevant `Cargo.toml` files Those are pulled out of #12759, which I'll rebase on this. Next step is to update the documentation, which I'll partly pull out of #12762 r? @blyxyas (as you reviewed the first PR in the chain and were assigned to the second one) cc #13556 changelog: none
Introduce utils mod in clippy_dev
There was some dependence between the different subcommands of clippy_dev. And
this dependence will increased with the introduction of the sync and release
subcommands. This moves the common functions to a
utils
module, to decouplethe other modules.
Implement sync subcommand in clippy_dev
Now that JOSH is used to sync, it is much easier to script the sync process.
This introduces the two commands
sync pull
andsync push
. The first one willpull changes from the Rust repo, the second one will push the changes to the
Rust repo. For details, see the documentation in the book.
Implement release subcommand in clippy_dev
This is a QoL improvement for doing releases. The
release bump_version
subcommand increments the version in all relevant
Cargo.toml
files. Therelease commit
command will only work with the new Josh syncs. Until then theold way, using
git log
has to be used.changelog: none