Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jan 13, 2020

Adds validation of AIRFLOW* jira issue id to all commits.

Note that it requires kaxil/boring-cyborg#2 to be merged in @kaxil 's boring-cyborg and it requires to grant new permissions to the boring-cyborg: Commit status: read&write.


Issue link: AIRFLOW-6545

  • Description above provides context of the change
  • Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
  • Unit tests coverage for changes (not needed for documentation changes)
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@potiuk potiuk requested a review from kaxil January 13, 2020 06:08
@potiuk potiuk force-pushed the AIRFLOW-6545-validate-all-commit-messages branch from bebe2f5 to 1919cb9 Compare January 13, 2020 06:09
@potiuk potiuk changed the title Add commit message validation [AIRFLOW-6545] Add commit message validation Jan 13, 2020
@potiuk
Copy link
Member Author

potiuk commented Jan 13, 2020

Hey @kaxil - do not merge it yet as I want to make some small update after talking to @nuclearpinguin and @mik-laj

@potiuk potiuk changed the title [AIRFLOW-6545] Add commit message validation [AIRFLOW-6545] Add commit message validation [WIP] Jan 13, 2020
@potiuk potiuk force-pushed the AIRFLOW-6545-validate-all-commit-messages branch from 76eb751 to 74dffcb Compare January 13, 2020 12:14
@potiuk potiuk changed the title [AIRFLOW-6545] Add commit message validation [WIP] [AIRFLOW-6545] Add commit message validation Jan 13, 2020
@potiuk
Copy link
Member Author

potiuk commented Jan 13, 2020

OK. Ready to merge. I improved the kaxil/boring-cyborg#2 to better handle multiple/single commit cases and updated regexps :)

@kaxil kaxil merged commit 26b8c58 into apache:master Jan 13, 2020
@kaxil
Copy link
Member

kaxil commented Jan 13, 2020

Awesome, @potiuk

galuszkak pushed a commit to FlyrInc/apache-airflow that referenced this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants