airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-427) Automatically set airflow git location in PR tool
Date Sun, 14 Aug 2016 02:40:21 GMT


ASF subversion and git services commented on AIRFLOW-427:

Commit 3767e69dd0ed6d6ea245da87b2b6297e5140cd76 in incubator-airflow's branch refs/heads/master
from jlowin
[;h=3767e69 ]

[AIRFLOW-423][AIRFLOW-424][AIRFLOW-426] UX updates for PR Tool

Some big UX improvements to the PR tool:

AIRFLOW-423: commit messages are automatically wrapped at 50 characters. Paragraph breaks
and tab indents are preserved. The first line of the commit is NOT forced to be 72 characters
because handling this on subsequent lines is challenging. This is also deployed throughout
the PR tool to make long status messages prettier.

AIRFLOW-424: this commit fixes a number of whitespace and formatting issues. It’s only contribution
to functionality is that the JIRA resolution process is a little clearer.

AIRFLOW-426: I think this one is pretty cool. If the PR author mentions a JIRA issue anywhere
in their PR (including on GitHub or buried in a commit), then the PR tool will automatically
add it to the PR title. It even catches misformatted ones. So if the 20th commit mentions
“AIRFLOW   - -426” somewhere in its body, you’ll still get “[AIRFLOW-426]” in the
squash commit subject.

AIRFLOW-427: You can now run the PR tool from anywhere (previously you had to be `cd`'d to
the Airflow git repo or set an env var)

[AIRFLOW-423] Add reflow function to PR tool

The reflow function takes a string and wraps
it to a specified width. It preserves
paragraph breaks and 4+ space indentation.

[AIRFLOW-424] Make JIRA process more clear

Small improvements to UX around
closing JIRA issues.

Also a number of whitespace edits
to clean up the PR tool code.

[AIRFLOW-426] Automatically add JIRA references in PR Tool

When squashing commits, the PR tool will automatically add a reference
to any JIRA issue found in the PR body or commits.

[AIRFLOW-427] Automatically set AIRFLOW_GIT_LOCATION

Previously, you had to run this file from the airflow git
directory unless you set an AIRFLOW_GIT env var.

Closes #1728 from jlowin/pr-tool

> Automatically set airflow git location in PR tool
> -------------------------------------------------
>                 Key: AIRFLOW-427
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: PR tool
>            Reporter: Jeremiah Lowin
>            Assignee: Jeremiah Lowin
>            Priority: Minor

This message was sent by Atlassian JIRA

View raw message