Aleksey Khoroshilov
34ac7295c9
Fix update_release_changelog.py.
2024-01-18 18:04:24 +07:00
bridiver
2943d698d2
add missing copyright
2024-01-12 14:24:57 +07:00
bridiver
b1140716ff
remove more usages of requests lib
2024-01-12 14:24:57 +07:00
Ahmed Kamal
be50933b3e
Fix formatting of python scripts ( #19623 )
...
* temp
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* trivial change to trigger lint
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Apply fixes
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Revert "temp"
This reverts commit 9724d3bc66cdf8082cb62f7ee79923507fdbba47.
* Revert "trivial change to trigger lint"
This reverts commit 5417ce862b7a0f381b9dd3ed81c8a44b06f36b54.
* The big fmt
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Improve regex, please sonarcloud
Group parts of the regex together to make
the operator precedence explicit
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
---------
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2023-08-09 12:40:12 +01:00
Mihai PLESA
1ccc9522a6
remove brave github token ( #19536 )
2023-08-07 08:36:41 -04: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
Anton Lazarev
2ffc9bdc96
support building on both python 2 and 3
2021-04-08 14:00:06 -07:00
Matt Bacchi
73f5afcbd0
Correct query parameter opening character
...
Originally the query string was started with
the access_token, when I removed that the
ampersand remained at the beginning of the page
parameter.
2020-05-05 11:35:24 -06:00
Matt Bacchi
2b03c56593
Replace URL query parameter authentication with Authentication header
...
Github is deprecating the query parameter authentication style.
Resolves: https://github.com/brave/devops/issues/2507
2020-05-01 15:32:20 -06:00
Brian Clifton
908616711a
Updates which should remove dev as a channel for the uplift script
2020-03-10 09:45:28 -07: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
d2d21c283a
Provide two ways to select platforms to upload to omaha_server
...
Replacement for bad rebase on PR https://github.com/brave/brave-core/pull/2168
Fixes https://github.com/brave/devops/issues/744
2019-04-17 09:27:36 -04: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
Mihai Plesa
7c4dad6ae5
added nightly channel
2019-03-14 12:26:40 +00: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
Ryan Gerstenkorn
066f7a1a62
Move releases to brave/brave-browser
...
* This depends on access being set up in github and on the jenkins instances
(https://github.com/brave/internal/issues/396 ).
2018-07-18 22:32:47 -05:00
Matt Bacchi
6e13075dc1
Handle new linux/osx package names better; add method to return raw version string
2018-07-09 15:57:19 -06:00
Matt Bacchi
f87fb42635
Use brave-browser/package.json for canonical version
2018-07-09 12:49:53 -06:00
Matt Bacchi
97f21c9e65
fix publish_release which wasn't tested in previous commit
2018-06-26 09:55:13 -04: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