-
Notifications
You must be signed in to change notification settings - Fork 677
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
Signed-off-by checker in precommit testing script #15
Comments
Related issue: #15 (#15). JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
Related issue: #15 (#15). JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
I'm not sure that the merged solution is really good. The precommit should mean it is executed before the commit, but this just simply checks that last commit's signed-off-by line, which does not mean that it's your modification. IMHO: a better way would be to use git hooks. to check if the signed-off-by is present in the commit message. There is already an example related to this in all git repos, just see the .git/hooks/commit-msg.sample. Another one: why is this a "Core ECMA feature"? |
The precommit testing is just the testing that should pass successfully on every pushed commit. Precommit testing can be started by a commit's author to check it before push / creating pull request, by person who merges commit before merging if that is required by some rules, etc. By the way, can the git-hooks be committed / pushed / pulled as other changes?
This is name of milestone, and milestone means specific date. |
@ruben-ayrapetyan , in the case changes are not committed, the signed-off-by checker would check previous commit. In the case, this could be ignored. |
Support expression states in statements.
Hello.
We could add check for correctness of Signed-off-by tag into tools/precommit.sh.
For example, we could check, that the tag is placed at last line of commit message and is composed of exactly the following three parts, splitted by space character: common prefix, name and e-mail of the commit's author.
The text was updated successfully, but these errors were encountered: