Aleksey Khoroshilov
17d303e4cf
Fix Github uplift.
2024-01-12 19:17:56 +07:00
bridiver
a2d89db9f6
add re back to github.py
2024-01-12 14:24:57 +07:00
bridiver
b1140716ff
remove more usages of requests lib
2024-01-12 14:24:57 +07:00
bridiver
0b5d86a10b
cleanup
2024-01-12 14:24:56 +07:00
bridiver
991b937c0d
remove requests
2024-01-12 14:24:56 +07:00
Ahmed Kamal
aff9e8432c
Uplift scripts py2 and py3 compatibility ( #14182 )
...
* Initial port
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* cleanup unused imports and exception vars
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* some fixes for pylint
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* some pylint fixes
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2022-07-25 09:44:42 -05:00
Mihai PLESA
49874507d1
fixed line lengths to 80 and do autopep8
2021-10-29 17:54:41 -05:00
Matt Bacchi
5bec8c5c64
Revert "Add urllib3 retry logic for upload POST action"
...
This reverts commit 353b377358 .
2019-05-22 08:40:11 -06:00
brave-builds
353b377358
Add urllib3 retry logic for upload POST action
...
This should initiate 5 retries when we receive
502 Bad Gateway errors uploading to GitHub.
urllib3 is only installed on the sf-mac-pro build
worker, and we use sys.path.append to add the path
to the package because it doesn't find it by default.
We will use pip to install urllib3 on the linux
and windows AWS workers in the build job itself.
Fixes https://github.com/brave/devops/issues/943
2019-05-20 14:59:14 -06:00
Matt Bacchi
8dae618ad0
Revert "Add urllib3 retry logic for upload POST action"
...
This reverts commit 6acd7eab4d .
2019-05-16 16:56:46 -06:00
Matt Bacchi
6acd7eab4d
Add urllib3 retry logic for upload POST action
...
This should initiate 5 retries when we receive
502 Bad Gateway errors uploading to GitHub.
Fixes https://github.com/brave/devops/issues/943
2019-05-15 14:45:29 -06:00
Matt Bacchi
5097b734ce
Add script to update release body with changelog
...
Additional updates:
* multiple updates to support Python 3
* rename method get_draft
* remove duplicate method
* move method to helpers
2019-03-27 14:06:34 -06:00
Brian Clifton
bf57ac6a6e
Renamed script; Now requires a PR# to uplift. Reviewers are auto-assigned.
2019-02-25 13:23:48 -07:00
Brian Clifton
7e97d17a90
git push via https now works
2019-02-24 22:55:10 -07:00
Brian Clifton
9bca7110e5
Commits are now squashed when uplifting
...
- if available, a PR number is linked in commit msg
- otherwise, local branch is linked in commit msg
2019-02-24 22:53:54 -07:00
Brian Clifton
983ce6a2d3
Added new uplift_using_pr option
...
This does the following:
- fetches the PR in question
- creates a local branch with the content of the PR
- does the rest of the process normally
Handy since you don't need to actually have the code locally in order to uplift
2019-02-13 11:09:16 -07:00
Brian Clifton
15ddd25be0
Script now considers npm config when looking for GitHub token
...
Also, each PR created is opened in the default browser
2019-02-13 11:09:16 -07:00
Brian Clifton
445cde173d
Fixed bugs when using starts-from and added --labels, --title, and --force parameters
2019-02-13 11:09:16 -07:00
Brian Clifton
22d7adbd04
Create new npm run pr task
...
Only works for brave-core (Desktop). New script will create branches / PRs as needed to uplift to a given channel.
Also allows assignment of reviewers / assignees (including login validation)
Fixes https://github.com/brave/devops/issues/672
2019-02-13 11:09:04 -07:00
Brian R. Bondy
905114c58a
Format python files to PEP8
2018-11-13 13:05:29 -05:00
Matt Bacchi
8a13f2ff36
Update upload/publish tools to mimic browser-laptop PR #13781
...
* Add helpers
* Add extra logging to upload.py
* Add force upload option
* Add upload retry logic
* Add initial python tests
* Add channel name to release
* Move publish logic into publish_release.py
2018-06-22 14:22:45 -04:00
Brian R. Bondy
7c2aadf44a
Hello World!
2017-11-10 16:34:04 -05:00