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

60 Коммитов

Автор SHA1 Сообщение Дата
Kaxil Naik e681d3a4f3
[AIRFLOW-6727] Fix minor bugs in Release Management scripts (#7355) 2020-02-04 15:06:42 +05:30
Kaxil Naik 2028a93ae0
[AIRFLOW-6374] Automate sending emails for Release management (#6932) 2019-12-27 20:45:27 +00:00
Ash Berlin-Taylor 2a157e32d0 [AIRFLOW-6272] Switch from npm to yarnpkg for managing front-end dependencies (#6844)
It is:

- quicker to install
- easier to get repeatable results
- Takes up less space (130MB/15k files vs 190MB/23k files)
- nicer to user (has better help)
2019-12-19 22:21:41 +01:00
Kaxil Naik b5d0b9d306 [AIRFLOW-XXX] Bump Jira version to fix issue with async (#6813) 2019-12-13 23:17:49 +01:00
Ash Berlin-Taylor 999d704d64 [AIRFLOW-XXX] Update airflow-jira release management script (#6772) 2019-12-11 14:37:28 +00:00
Jarek Potiuk 10d39eff25
[AIRFLOW-XXXX] Google Season of Docs updates to CONTRIBUTING doc (#6283)
Co-authored-by: Elena Fedotova <lavel@mail.ru>
Co-Authored-By: Kamil Breguła <mik-laj@users.noreply.github.com>
Co-Authored-By: Kaxil Naik <kaxilnaik@gmail.com>
Co-Authored-By: Ash Berlin-Taylor <ash_github@firemirror.com>
2019-10-13 22:20:31 +02:00
Kevin Yang d719e1fd67 [AIRFLOW-5362] Reorder imports (#5944) 2019-10-02 16:30:03 +01:00
Jarek Potiuk 4780105798 [AIRFLOW-5256] Related pylint changes for common licences in python files (#5786) 2019-09-17 13:16:32 +02:00
Jarek Potiuk e090744787
[AIRFLOW-5206] Common licence in all .md files, TOC + removed TODO.md (#5809) 2019-08-21 23:27:54 -04:00
Jarek Potiuk 64207120fd
[AIRFLOW-5204] Shellcheck + common licences + executable shebangs in shell files (#5807)
* [AIRFLOW-5204] Shellcheck + common licence in shell files
2019-08-20 00:07:39 -04:00
Jarek Potiuk 5cfe9c29a0
[AIRFLOW-5233] Fixed consistency in whitespace (tabs/eols) + common problems (#5835)
* [AIRFLOW-5233] Fixed consistency in whitespace (tabs/eols) + common problems
2019-08-16 10:35:34 -04:00
Bas Harenslak 7f4d09276a [AIRFLOW-4198] Remove all try/import compatibility imports (#5091) 2019-05-05 22:27:26 +02:00
Jiajie Zhong 1e74a94ace [AIRFLOW-4201] Replace unicode strings by normal strings (#5026) 2019-04-30 11:13:33 +02:00
Jiajie Zhong 8b38478313 [AIRFLOW-4199] Remove all sys.version_info[0] == 3 (#5019) 2019-04-22 13:19:28 +01:00
Jiajie Zhong d2a2e2cbff [AIRFLOW-4200] Remove all __future__ imports (#5020) 2019-04-22 11:26:11 +02:00
Ash Berlin-Taylor 8b7ff43f1f
[AIRFLOW-XXX] Improve airflow-jira script to make RelManager's life easier (#4857)
These changes do a number of things:

- Add colours to the output so  I can easily see which issues against a
  release are still open
- Order the Jira issues by update date (so oldest updated are at the
  bottom) - the older issuer will likely cherry-pick better if done in
  the bottom to top order
- Add an `--unmerged` flag to only show un-merged issues in the output
- Attempt to find the PR# and merge commit from master branch for a
  given jira issue. This won't cope with the case where we have multiple
  PRs targeting one issue.
2019-03-08 14:14:24 +00:00
Ryan Yuan 5c170f0594 [AIRFLOW-3933] Fix various typos (#4747)
Fix typos
2019-02-21 11:50:05 +01:00
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