-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
oca-cla-bot fails with old commits and old emails #209
Comments
@yajo I think this is tied to how we do migrations. IMHO (I'll try to open a discussion soon), migrations should include only migration commits. It's becoming more and more difficult to review migrations. We should create new main branches from preceding one. |
That procedure was a total pain, as there can be extra commits since the branch creation, and doing a periodical synchronization is also very tedious, provoking at the end also non pure migration PRs. But you can review a PR with several commits in the current procedure, including the migration commit, very easily clicking on such commit, and GitHub shows the diff related to the migration. What is the problem with it? What is becoming more and more difficult? This procedure also serves for squashing useless administrative commits. |
Well, it truly has a security problem, but outside of that I agree that the old process was even worse. In any case, all of that is outside of the scope. The problem is that the bot complains about email addresses that were CLA-signed back then. It should compare the email and date of the commit, and then complain about those that have no CLA approval within that specific date. |
Yes, I also put the same on #170. @sbidoul @gurneyalex maybe you can check it. |
I don't think there is anything reasonable we can do to fix the current CLA bot. Long term we may want to move to a paperless and more robust process with, e.g., https://github.com/cla-assistant/cla-assistant. |
@sbidoul we just need to include in the bot |
I just added the context key in the legacy clabot. Let's see if it helps. |
Has #209 (comment) fixed the issue? Can this be closed? |
Describe the bug
oca-cla-bot fails when somebody migrates a module that includes commits from an email that had CLA signed back then, but not anymore.
To Reproduce
See:
Expected behavior
My old job email should still pass ✔️ because when I pushed those commits back then, I had the CLA signed with that email.
The text was updated successfully, but these errors were encountered: