-
Notifications
You must be signed in to change notification settings - Fork 5
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
Committed patches should be removed from plaid #69
Comments
The patchwork script requires to run on a tree and it is just working on patches (scm-agnostic), but has an high ratio of false-negatives so would be good to look at it and see why. The way it works require to support some kind of rpc, an initial version can just share the plaid configuration, use a local tree and directly use the database. Makes also easier to check if a patch applies. |
rpc? |
xml-rpc to be specific. I won't mimic it. |
Does this make sense?
|
Perhaps we could use the date: we look at the files involved and their history. If we find a commit by the same author at the same time it means the patch was committed |
This help if the only change in the commit patch is in the message. If we want to go this route we should keep a list of sha1 per-hunk and use it to decide if a patch is an update or not. All depends on the control of the users and if for minor changes (e.g. bumping the version file when rebasing a set over another just merged) it is worthy to spam the mailing list or not. Are you willing to play with the concept I'd make it a stand-alone library. For now probably it is a good initial approximation using the patch-id. |
I guess we can use any of those heuristic, implement one see how many false positives we can get and the how many false negatives and let the user improve it. If we manage to make a better job in figuring out what is an update to what probably the |
We have figure out how to determine if a patch has been committed.
The text was updated successfully, but these errors were encountered: