Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
Tao Feng 67572025cc [AIRFLOW-3612] Remove incubation/incubator mention (#4419) 2019-01-05 14:05:25 +00:00
Ash Berlin-Taylor 9a94f0d4d0 [AIRFLOW-3521] Fetch more than 50 items in `airflow-jira compare` script (#4300) 2018-12-15 11:50:22 +00:00
Ash Berlin-Taylor 55853c3c23 [AIRFLOW-XXX] Don't publish md5 sigs as part of release (#4210)
Apache recommend against publishing MD5 files now as they are relatively
easy to collide and shouldn't be trusted anymore
2018-11-19 10:26:18 -08:00
Ash Berlin-Taylor b9fc03ea1a [AIRFLOW-2779] Add license headers to doc files (#4178)
This adds ASF license headers to all the .rst and .md files with the
exception of the Pull Request template (as that is included verbatim
when opening a Pull Request on Github which would be messy)
2018-11-13 15:01:44 +01:00
Kaxil Naik 5e9c9b54f6
[AIRFLOW-2238] Update PR tool to remove outdated info (#3978) 2018-09-29 11:35:26 +01:00
Ash Berlin-Taylor 47894f28eb [AIRFLOW-XXX] Fix python3 and flake8 errors in dev/airflow-jira
This is a script that checks if the Jira's marked as fixed in a release
are actually merged in - getting this working is helpful to me in
preparing 1.10.1
2018-09-05 10:06:32 -07:00
Kazuhiro Sera b78c7fb851 [AIRFLOW-2889] Fix typos detected by github.com/client9/misspell (#3732) 2018-08-11 21:11:19 -07:00
Kaxil Naik 120f4856cd [AIRFLOW-2867] Refactor Code to conform standards (#3714)
- Dictionary creation should be written by dictionary literal
- Python’s default arguments are evaluated once when the function is defined, not each time the function is called (like it is in say, Ruby). This means that if you use a mutable default argument and mutate it, you will and have mutated that object for all future calls to the function as well.
- Functions calling sets which can be replaced by set literal are now replaced by set literal
- Replace list literals
- Some of the static methods haven't been set static
- Remove redundant parentheses
2018-08-07 16:18:42 -07:00
Ash Berlin-Taylor d843f65af2 [AIRFLOW-2238] Use SSH protocol for pushing to Github (#3680)
Since we have MFA enforced we won't be able to use passwords to push and
will have to use SSH keypairs.
2018-08-02 20:43:13 +01:00
Taylor D. Edmiston 6d31c9e416 [AIRFLOW-2832] Lint and resolve inconsistencies in Markdown files (#3670)
Clean up the Markdown files and make the formatting consistent
2018-08-01 09:50:23 +02:00
Ash Berlin-Taylor d3793c0a50 [AIRFLOW-2238] Update PR tool to push directly to Github 2018-07-30 20:31:39 +02:00
Ash Berlin-Taylor 4484286e49 [AIRFLOW-2238] Flake8 fixes on dev/airflow-pr 2018-07-30 20:31:39 +02:00
Verdan Mahmood 5a7f0b2e53 [AIRFLOW-2691] Manage JS dependencies via npm
Closes #3572 from verdan/AIRFLOW-2691-npm-webpack
2018-07-22 09:24:11 +02:00
Bolke de Bruin a54f74821e [AIRFLOW-XXX] Use .sha512 for signature
As requested by the IPMC
2018-07-13 11:42:41 +02:00
Bolke de Bruin a30f009aeb [AIRFLOW-2287] Update license notices
Closes #3195 from bolkedebruin/AIRFLOW-2287
2018-04-09 00:32:09 -07:00
Bolke de Bruin f9dcc7d6e0 [AIRFLOW-XXX] Save username and password in airflow-pr 2017-09-11 15:19:58 +02:00
Bolke de Bruin bfae4284d6 [AIRFLOW-1091] Add script that can compare jira target against merges
When working towards a release it is convenient to
be able to compare
what has been merged into the current branch and
what has not.

Closes #2231 from bolkedebruin/AIRFLOW-1091
2017-04-17 11:24:54 +02:00
Bolke de Bruin a2b65a1023 [AIRFLOW-1010] Add convenience script for signing releases
Closes #2169 from bolkedebruin/AIRFLOW-1010
2017-03-19 09:46:30 -04:00
Bolke de Bruin 8c16956333 [AIRFLOW-725] Use keyring to store credentials for JIRA
Now allows to store the credentials in the keyring
of the OS. Retains backwards compatibility.

Closes #1966 from bolkedebruin/DEV_KEYRING
2017-02-26 17:41:00 -05:00
jlowin fa977b60ad [AIRFLOW-616][AIRFLOW-617] Minor fixes to PR tool UX
[AIRFLOW-616] Store credentials for life of script

[AIRFLOW-617] Fix redundant prompt text in PR tool

Closes #1868 from jlowin/pr-tool-fixes
2016-11-04 15:43:19 -07:00
Li Xuanji 43a41b6ec1 [AIRFLOW-606] Add requirements.txt for airflow-pr
Closes #1859 from zodiac/dev_pr_requirements
2016-11-02 23:41:26 -07:00
jlowin 8fba0acab6 [AIRFLOW-505] Support unicode characters in authors' names
Closes #1792 from jlowin/pr-tool-ascii
2016-09-14 08:32:22 -04:00
jlowin 3767e69dd0 [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.

https://issues.apache.org/jira/browse/AIRFLOW-423

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.

https://issues.apache.org/jira/browse/AIRFLOW-424

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.

https://issues.apache.org/jira/browse/AIRFLOW-426

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)

https://issues.apache.org/jira/browse/AIRFLOW-427

[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
2016-08-13 19:38:53 -07:00
jlowin 0953f27a50 Merge pull request #1642 from jlowin/pr-tool-1 2016-07-12 10:55:29 -04:00
jlowin 8e0ac53c9c [AIRFLOW-260] More graceful exit when issues can't be closed
Previously, the “fail” function was called, which exited the entire
program. By returning from this function, we allow the JIRA loop to
resume and users can continue closing other issues.
2016-06-30 20:40:42 -04:00
jlowin 7774c39219 [AIRFLOW-260] Handle case when no version is found
If no version is found, the “.name” attribute can’t be accessed,
causing a crash.
2016-06-30 20:40:42 -04:00
jlowin 8f863d7ea7 [AIRFLOW-228] Handle empty version list in PR tool
If the filter matched no version names, it would return an empty list
and the [0] index would fail.
2016-06-30 20:40:42 -04:00
jlowin f3a05d4733 [AIRFLOW-302] Improve default squash commit message
Previously, we always used the PR title as the squash commit subject.
Now, if the squash contains only one commit, then we use the commit
message for the squash commit message. If the squash contains more than
one commit, we default to the old behavior (using the PR title). We
still ask if the user wants to include the PR body, but we only ask if
they want to include the individual commits if there was more than one.
2016-06-30 20:40:37 -04:00
jlowin bfd2cfc295 [AIRFLOW-187] Improve prompt styling 2016-06-30 19:55:02 -04:00
jlowin 656f3c6001 [AIRFLOW-187] Fix typo in argument name 2016-06-30 19:54:48 -04:00
jlowin 659f9a0839 [AIRFLOW-187] Move "Close XXX" message to end of squash commit 2016-06-30 19:54:27 -04:00
jlowin 0965648480 [AIRFLOW-282] Remove PR Tool logic that depends on version formatting
Closes #1625 from jlowin/pr-tool
2016-06-30 18:14:55 -04:00
jlowin cfd502e260 [AIRFLOW-213] Add "Closes #X" phrase to commit messages 2016-06-07 09:07:20 -04:00
jlowin c78101eaa1 [AIRFLOW-211] Fix JIRA "resolve" vs "close" behavior
Closes #1571 from jlowin/pr-tool-8.
2016-06-04 13:09:06 -04:00
jlowin 2ce8ff5650 [AIRFLOW-187] Improve PR Tool UX
Improved styling for PR tool prompts
2016-06-03 16:44:34 -04:00
jlowin 5ccf2242f5 [AIRFLOW-207] Improve JIRA auth workflow 2016-06-02 12:57:26 -04:00
jlowin d0d54e8aea [AIRFLOW-187] Improve PR tool UX
- Add command to setup_git_remotes
- Add guard for running PR tool in a branch with uncommitted changes
- Add option to edit squash commit message
- Message styling for clarity
- Improved error messages for PR Tool problems
2016-06-02 10:03:32 -04:00
jlowin c6ae582f83 [AIRFLOW-185] Handle empty versions list 2016-06-01 15:00:04 -04:00
jlowin ff7e03bc6b [AIRFLOW-176] remove unused formatting key 2016-05-26 10:40:07 -04:00
jlowin beb95a5c67 [AIRFLOW-176] Improve PR Tool JIRA workflow
- Fix crash when non-integer IDs are passed
- Improve workflow by always asking user if they
  want to resolve another issue before exiting
2016-05-25 18:11:16 -04:00
jlowin 6d87679a56 [AIRFLOW-175] Run git-reset before checkout in PR tool
If the user made any changes, git checkout will fail because the
changes would be overwritten. Running git reset blows the changes away.
2016-05-25 10:53:22 -04:00
jlowin 805944b747 [AIRFLOW-157] Make PR tool Py3-compat; add JIRA command
- Adds Python3 compatibility (filter objects can't be indexed)
- Adds JIRA command to close issues without merging a PR
- Adds general usability fixes and starts cleaning up code
2016-05-25 10:52:13 -04:00
jlowin 7e56bd4f94 [AIRFLOW-134] Add PR merge script 2016-05-20 14:39:49 -04:00