You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally, I think most projects in the Rust space probably follow a similar procedure as we do when they want to fix a bug or add a feature to one of their dependencies, which is basically.
Fork the crate to your/your company's "organization" (organization in Github terminology, might be different for other providers)
Hack away locally, probably just patching your project(s) to use a path dependency to the cloned fork
Push changes to your fork, and once you're happy, change the path dependency to a git dependency and point it to your fork for others/CI to be able to use the same changes easily
Eventually (hopefully!) make a PR to the original repo with your changes
Hopefully get your changes merged to the original repo
Wait until a release is made that incorporates your changes, possibly changing the git source to point to the original repo
Remove the git source and instead point at the new version of the crate with your changes
Profit!
This process is generally great, but because of the sources check, it gets kind of tedious, for example, here is what our largest project looks like right now.
It seems like Gitlab and Bitbucket would also work with this, so those could be added as well, any other providers that followed the same <domain>/<org>/... scheme could be added in the future.
The text was updated successfully, but these errors were encountered:
Generally, I think most projects in the Rust space probably follow a similar procedure as we do when they want to fix a bug or add a feature to one of their dependencies, which is basically.
path
dependency to the cloned forkpath
dependency to agit
dependency and point it to your fork for others/CI to be able to use the same changes easilygit
source to point to the original repogit
source and instead point at the new version of the crate with your changesThis process is generally great, but because of the
sources
check, it gets kind of tedious, for example, here is what our largest project looks like right now.That's way too many duplicated characters!
Instead, we should just have something like
It seems like Gitlab and Bitbucket would also work with this, so those could be added as well, any other providers that followed the same
<domain>/<org>/...
scheme could be added in the future.The text was updated successfully, but these errors were encountered: