-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
Is this an acceptable way to do this? Still todo
|
cc @apoelstra |
As a strategy for moving Did we agree though to move |
Yeah I believe we did, remember it was the idea put together all the stuff that we feel "obligated by honour" to provide and maintain. |
Ah, yeah, that makes sense. I remember that conversation but I guess it didn't occur to me that it'd mean moving Let's do it! |
We can move this repo to |
Sure -- ACked in the discussion you opened about it. But you need to do the transfer since it's coming from your org. |
07dddfd
to
5877e80
Compare
Hey @apoelstra I'm not sure what to do about fuzzing |
Is there any harm in running it for an hour? If we're running it on a GA runner that's probably more like 5-10 minutes on a normal computer. But if you want to change it we could add a variable to our fuzz runner to make this configurable. |
Lets run it for an hour then. |
Import the `rust-jsonrpc` crate from https://github.com/apoelstra/rust-jsonrpc using current tip of master `59646e6 Merge apoelstra/rust-jsonrpc#119: Use rust-bitcoin-maintainer-tools and re-write CI` Full commit hash: 59646e6e6ac95f07998133b1709e4a1fa2dbc7bd Do so using the following commands: mkdir jsonrpc mkdir jsonrpc/contrib rsync -avz ../../rust-jsonrpc/master/README.md jsonrpc rsync -avz ../../rust-jsonrpc/master/src jsonrpc rsync -avz ../../rust-jsonrpc/master/contrib/test_vars.sh jsonrpc/contrib Then: - Update `contrib/crates.sh` to include `jsonrpc`. - Remove workspaces from `jsonrpc/Cargo.toml`. - Add `jsonrpc` to repository workspace (and add patch section). Note, this PR does not bring over the `fuzz` directory, that will be done separately. Also we do not copy the integration testing because we get sufficient coverage from the current integration tests.
5877e80
to
53812e6
Compare
fuzz/README.md
Outdated
|
||
Currently we only fuzz `jsonrpc`, the fuzz code was imported along | ||
with the `jsonrpc` import from `github.com/apoelstra/rust-jsonrpc` | ||
commit hash: `59646e6e6ac95f07998133b1709e4a1fa2dbc7bd` which is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In 53812e6:
Trailing whitespace, and run-on sentence.
But I don't think any part of this README is necessary other than maybe the "Note to devs". People reading the code don't care what archived repo it came from, don't know who "I" is, and would probably like to know how to run the fuzzer (this information is not in the README as written).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair, will re-spin.
Import the fuzzing from `jsonrpc` source: https://github.com/apoelstra/rust-jsonrpc commit hash: `59646e6e6ac95f07998133b1709e4a1fa2dbc7bd` commit: `59646e6 Merge apoelstra/rust-jsonrpc#119: Use rust-bitcoin-maintainer-tools and re-write CI` Then I update the `generate-files.sh` script to mimic a recent one from `rust-bitcoin`. Add a README explaining how we got to the current state.
53812e6
to
7238857
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 7238857 successfully ran local tests
Import the
rust-jsonrpc
crate fromhttps://github.com/apoelstra/rust-jsonrpc using current tip of master
59646e6 Merge apoelstra/rust-jsonrpc#119: Use rust-bitcoin-maintainer-tools and re-write CI
Full commit hash: 59646e6e6ac95f07998133b1709e4a1fa2dbc7bd
Do so using the following commands:
mkdir jsonrpc
mkdir jsonrpc/contrib
rsync -avz ../../rust-jsonrpc/master/README.md jsonrpc rsync -avz ../../rust-jsonrpc/master/src jsonrpc
rsync -avz ../../rust-jsonrpc/master/contrib/test_vars.sh jsonrpc/contrib
Then:
contrib/crates.sh
to includejsonrpc
.jsonrpc/Cargo.toml
.jsonrpc
to repository workspace.Finally import fuzzing, and fix up to mimic current
rust-bitcoin
setup.