ci: upgrade rbmt and migrate api files to packages#5914
ci: upgrade rbmt and migrate api files to packages#5914apoelstra merged 5 commits intorust-bitcoin:masterfrom
Conversation
|
In draft while I tinker on this and Andrew upgrades his CI to no longer rely on the toolchain files. |
|
71d60dd needs rebase |
8981349 to
3e287b6
Compare
3e287b6 to
fa20bf5
Compare
|
Undrafted because I figured I don't actually have to remove the legacy files yet, just removed all usage here. |
|
LOL, the line count of changes for your account just got a bump up the ladder. |
|
Do the API files need to move? I find it really convenient to have them in their own directory. Makes grepping and git add/remove etc really easy. |
It definitely doesn't have to and I appreciate the feedback. Beyond the line diff number pumping, the move simplifies things on the rbmt side, described in rust-bitcoin/rust-bitcoin-maintainer-tools#86. If it makes actually using the files more difficult though, could flip it back. I think my workflow has all been to generate the files and just eyeball the diff, so I may have missed something. |
|
fa20bf5 needs rebase |
|
Good points. I usually grep by crate. Restoring changes is definitely going to be worse. A quick shell alias' will fix that though. |
|
@tcharding @mpbagot is there a justfile recipe or some functionality I can bake into cargo-rbmt to bridge the gap? |
|
Nothing required from my end. If I find I need a funky shell alias I'll share it with y'all. |
Allows the prerelease job to be run post-merge on master branch.
The legacy toolchain version pins have been migrated to the root manifest Cargo.toml. Clean up any tooling using the old locations.
API files have been moved into the package directories themselves instead of the shared root level api/ directory.
This locks in the compiler version for the format job.
fa20bf5 to
ccf2e22
Compare
|
ccf2e22: rebased to pick up API updates and added commit at end to flip fmt job to cargo-rbmt. |
|
This is going to cause merge conflict havoc. @apoelstra maybe you could just merge this now while the API files are broken on master anyways? |
Some more CI cleanup.
prereleasetask, making sure it works running post-merge on master as well.cargo rbmt fmt. This locks in the toolchain used, no more floating+nightly.