-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add patching functionality #156
Comments
That sounds like an interesting feature. I few thoughts:
Are you interested to contribute pull requests for this feature idea? |
If vcs import < repos.yaml
vcs patch But even if we don't make it a separate verb to bypass that problem, it gets tricky when the user calls
Absolutely.
Some systems can implement that. However, not important, it might be a bad example.
I am. I might need to find some time for it... |
That yaml file can have a similar structure as the That allows you to:
Since inherently |
Some comments on this, on which I'm very interested:
So it would look like: repositories:
vcstool:
type: git
url: [email protected]:dirk-thomas/vcstool.git
version: 0.2.11
patches:
- ./000_add_patch_functionality.patch
- url: https://github.com/dirk-thomas/vcstool/issues/156.patch
sha256: asdf0978asdf0987asdf0978asdf0978 |
Are there any advances here? |
There's sometimes the need to apply proprietary changes to open-source repositories. One approach is to fork+commit+pull. Another approach is to pull+patch, where the patch(es) can be located either locally or remotely. Maybe this is a functionality that is worth pursuing?
I was thinking something like:
Sometimes maintaining a patch is easier than a fork.
The text was updated successfully, but these errors were encountered: