Skip to content

Add real name checking for Signoff and some enhancements#19

Merged
ibennetch merged 13 commits intophpmyadmin:masterfrom
williamdes:master
Jun 17, 2019
Merged

Add real name checking for Signoff and some enhancements#19
ibennetch merged 13 commits intophpmyadmin:masterfrom
williamdes:master

Conversation

@williamdes
Copy link
Member

@williamdes williamdes commented Jun 4, 2019

  • Check that Signed-off-by is a real name
  • Update README.md (document events and payload types)
  • Removed hard coded repository name
  • Moved the secret to the config file
  • Improved code (True > true)
  • More changes

  • Tested against all our signoff lines found on the main repo.
  • Supports weird accents

Have a look at the comment below !

williamdes added 10 commits June 4, 2019 22:45
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
- Update docs
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member Author

⚠️ ⛑️ Before you pull any changes, go to hooks/github.php and copy the value of hook_secret into a safe place.
Then pull the changes and add define('GITHUB_HOOK_SECRET', 'secretHere!!'); to hooks/config.php with the value of the previously copied secret

Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member Author

williamdes commented Jun 4, 2019

A preview of the message

preview

@williamdes williamdes requested review from ibennetch and nijel June 4, 2019 21:19
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member Author

Hello @ibennetch @nijel can you please review my changes?

Btw I tested the changes on my personal test repo.

Copy link
Contributor

@nijel nijel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look okay to me.

BTW: There is also https://github.com/apps/dco which might be used out of the box instead of implementing own code (not sure how it compares, I use this one for @WeblateOrg).

@williamdes
Copy link
Member Author

BTW: There is also https://github.com/apps/dco which might be used out of the box instead of implementing own code (not sure how it compares, I use this one for @WeblateOrg).

@nijel I did not find a way to add a pattern to dco bot and it generates false positives when checking the email for users using a different email or using the privacy email settings.

@nijel
Copy link
Contributor

nijel commented Jun 17, 2019

Okay, I just wanted to mention alternative :-).

Copy link
Member

@ibennetch ibennetch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, I added one note about the link to the DCO but otherwise it's great. Thanks for this work.

Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member Author

@ibennetch Can you please install the PR on the server ?
or @nijel ?

PS: dot not forget to read the instructions #19 (comment)

@ibennetch ibennetch merged commit 23993f4 into phpmyadmin:master Jun 17, 2019
@williamdes williamdes self-assigned this Jun 17, 2019
@ibennetch
Copy link
Member

I have completed the installation on the server.

I've even tested it with phpmyadmin/phpmyadmin#15340 and it looks great. Thanks.

@williamdes
Copy link
Member Author

Thanks for installing the PR :)
You will new see checked green on webhooks list on each repo since I implemented 🏓 ping requests (github zen) instead of red cross for 500 errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants