Skip to content
Snippets Groups Projects

Iss #86 - Add support for enabling strictmode on GL ECA checks

Merged Iss #86 - Add support for enabling strictmode on GL ECA checks
Merged Martin Lowe requested to merge (removed):malowe/master/84 into master

Add ability to define root groups that will be validated against ECA using strict mode which forces the commits to be validated as if it were a project

Resolves #86 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Martin Lowe added 1 commit

    added 1 commit

    Compare with previous version

  • Author Maintainer

    Tested the following cases locally:

    Standard non-project repo:

    remote: Commit: f1b664cb4c99826be79df18e0767f4fcac7387ef		~
    remote: 
    remote: 	Reviewing commit: f1b664cb4c99826be79df18e0767f4fcac7387ef
    remote: 	Authored by: Martin Lowe <author@eclipse.org>
    remote: 	Could not find an Eclipse user with mail 'author@eclipse.org' for author of commit f1b664cb4c99826be79df18e0767f4fcac7387ef
    remote: 
    remote: Warnings:
    remote: 	Author must have an Eclipse Account
    remote: Any warnings or errors noted above may indicate compliance issues with committer ECA requirements. More information may be found on https://www.eclipse.org/legal/ECA.php
    remote: 
    remote: 
    remote: GL-HOOK-ERR: More information is available at https://api.eclipse.org/git/eca/status/7f547a5f3ba3fa00e23562a5b8d51b69/ui
    remote: Errors or warnings were encountered while validating sign-off in current request for non-project repository.
    remote: 
    remote: Validation is currently not required for non-project repositories, continuing.
    To http://gitlab.eclipse.dev.docker:8929/test1/test1.git
       19037d8..f1b664c  main -> main
    

    Project repository:

    remote: Commit: f75cb2f8a4d87658dae266a2ef456deb4805f70d		X
    remote: 
    remote: 	Reviewing commit: f75cb2f8a4d87658dae266a2ef456deb4805f70d
    remote: 	Authored by: Martin Lowe <author@eclipse.org>
    remote: 	Could not find an Eclipse user with mail 'author@eclipse.org' for author of commit f75cb2f8a4d87658dae266a2ef456deb4805f70d
    remote: 
    remote: Errors:
    remote: Author must have an Eclipse Account
    remote: Any warnings or errors noted above may indicate compliance issues with committer ECA requirements. More information may be found on https://www.eclipse.org/legal/ECA.php
    remote: 
    remote: 
    remote: GL-HOOK-ERR: More information is available at https://api.eclipse.org/git/eca/status/038d39ac502bb390ada94dd501dadcf0/ui
    To http://gitlab.eclipse.dev.docker:8929/eclipse/app4mc/test2.git
     ! [remote rejected] main -> main (pre-receive hook declined)

    Newly tracked root group (eclipse-research-labs):

    remote: Commit: a7fe2f9b36b3a81f9632833d911837f25d1bf1c4		X
    remote: 
    remote: 	Reviewing commit: a7fe2f9b36b3a81f9632833d911837f25d1bf1c4
    remote: 	Authored by: Martin Lowe <author@eclipse.org>
    remote: 	Could not find an Eclipse user with mail 'author@eclipse.org' for author of commit a7fe2f9b36b3a81f9632833d911837f25d1bf1c4
    remote: 
    remote: Errors:
    remote: Author must have an Eclipse Account
    remote: Any warnings or errors noted above may indicate compliance issues with committer ECA requirements. More information may be found on https://www.eclipse.org/legal/ECA.php
    remote: 
    remote: 
    remote: GL-HOOK-ERR: More information is available at https://api.eclipse.org/git/eca/status/a27e48a08227947961a3fb97db20bfac/ui
    To http://gitlab.eclipse.dev.docker:8929/eclipse-research-labs/test.git
     ! [remote rejected] main -> main (pre-receive hook declined)
  • merged

  • Martin Lowe mentioned in commit afb992eb

    mentioned in commit afb992eb

Please register or sign in to reply
Loading