Commit Graph
437 Commits
Author SHA1 Message Date
Pranjal Jumde 66243fdaaf Merge pull request #6963 from brave/fix_lint
Fix #12347: Fix lint error + rust deps for CI
2020-10-27 14:47:47 -07:00
justnom f3d3138370 Removing explicit passphrase option 2020-10-27 16:17:11 -04:00
justnom ff4f26e455 Adding GPG passphrase and detached tty flag for aptly publishing 2020-10-27 15:06:35 -04:00
Pranjal Jumde 0e34de04c3 updating RUST_DEPS_PACKAGE_VERSION to 0.1.5 2020-10-27 11:53:25 -07:00
Mihai PLESA 15b093588a moved rtd content to our website 2020-10-08 17:05:47 +01:00
mkarolin 502b572121 Fixes bad formatting in transifex.py.
Fixes brave/brave-browser#11972
2020-10-02 12:35:46 -04:00
mkarolin 9793213305 Modified Transifex and Chromium strings rebase scripts.
Changed the rebase script to automatically fix <a> links with
target="_blank" to also have rel="noopener noreferrer".

Modified transifex script to:

* Fix <a> links when pulling translations from local Chromium .xtb
files.

* Validate embedded HTML tags in strings against an allow list
  when uploading .grd(p) files to transifex.

* Do the same when downloading strings from Transifex.

* Completely strip all content from <ph> tags in .xtb files like
  Chromium does when pulling from Transifex.
2020-10-01 20:14:40 -04:00
Mihai PLESA 1c9182196b fixed omaha delta installer signing 2020-09-28 13:13:43 +01:00
yan 6898964c55 Fix most npm audit errors, exclude advisory 1556
Resolves 23 out of 33 npm audit errors using npm audit fix.
https://www.npmjs.com/advisories/1556 is ignored because there is no fix
in some of our dependencies, and it's a low-impact DoS vulnerability.

Fix https://github.com/brave/brave-browser/issues/11732

Run audit_dev_deps in test-security script

Needed for https://github.com/brave/brave-browser/issues/11748
2020-09-17 13:29:12 -07:00
Pranjal Jumde 1b9380db69 Fix #11378: Sign setup.exe 2020-08-25 23:13:00 -07:00
bridiver a156cb5e94 use python instead of cargo to clear the build dir 2020-08-19 10:55:48 -07:00
bridiver 13c3e02ad8 lint fix 2020-08-14 12:12:27 -07:00
bridiver 63877ca285 remove debug 2020-08-14 12:12:27 -07:00
bridiver ca2dfe1a56 leave out toolchain changes for now because of build issues on android/linux 2020-08-14 12:12:27 -07:00
bridiver 7f43d9bfa7 combine all rust libs so we don't have multiple copies of the core rust libs 2020-08-14 12:12:26 -07:00
Matt Bacchi 04203ba6b6 Revert "Merge pull request #6191 from brave/devops_1246"
This reverts commit d2d2e4885b, reversing
changes made to 276660500f.
2020-08-05 10:45:47 -06:00
Matt Bacchi d2d2e4885b Merge pull request #6191 from brave/devops_1246
Use GNUPGHOME for release channel signing
2020-08-05 10:29:59 -06:00
Terry Mancey 58668b77f1 Move Confirmations into ads process 2020-08-05 03:00:47 +01:00
Simon Hong d2e08cb8b7 Merge pull request #6317 from brave/fix_brave_account_strings
Use Brave sync chain instead of Brave Account
2020-08-05 10:17:07 +09:00
ryanml 8e0a1fbfbf Fixes brave/brave-browser#11072 - Better handling for audit result 2020-08-03 23:57:44 -07:00
Simon Hong 279728357e Use Brave sync chain instead of Brave Account 2020-08-04 10:30:32 +09:00
bridiver 7a67f9322b update comment 2020-07-31 18:19:02 -07:00
bridiver 27de008174 add license exception for tools in vendor 2020-07-31 11:49:39 -07:00
Matt Bacchi 40e13e5d9d Fix pep8 tests 2020-07-29 10:19:40 -06:00
Matt Bacchi 06561b4302 Use passphrase in aptly publishing 2020-07-28 16:41:32 -06:00
Matt Bacchi 4682d2877d Use gpg2 for aptly provider 2020-07-27 16:34:54 -06:00
Matt Bacchi d21b77b16d Use -batch to avoid requiring a tty 2020-07-27 15:28:37 -06:00
Matt Bacchi 52e006735b Use -batch to avoid requiring a tty 2020-07-27 15:23:18 -06:00
Matt Bacchi 0aa2fdf299 Unlock GPG key by signing a temp file 2020-07-27 15:09:04 -06:00
mkarolin ddaad640b6 Added a utility script to check for chromium_src problems.
Fixes brave/brave-browser#10947

This script is NOT a production quality code, it's just a helper that
needs a place to live.

This script checks that:

1. The target of the chromium_src override exists under src
2. That they symbols defined in the override exist in the target
  -Note: false positives when the #defines are used in the override
  itself.
3. That the #inlcude of the target has the correct number of ".."s in
the path.
2020-07-27 16:39:41 -04:00
Francois Marier 145dd24b29 Use the vendored-openssl feature in cargo-audit (fixes brave/brave-browser#10918) 2020-07-24 11:35:58 -07:00
Francois Marier 81d61e71a2 Merge pull request #5755 from brave/francois-cargo-audit-10116
Extend script/audit_deps script to cover cargo dependencies too
2020-07-23 16:45:34 -07:00
Matt Bacchi cba95a746b Use full home directory vs. $HOME env variable 2020-07-23 10:45:44 -06:00
Brian R. Bondy db0e526ee1 Fix fingerprints for changed meaning and desc attributes too 2020-07-22 15:05:49 -04:00
Matt Bacchi 6afa703563 Set GNUPGHOME in subprocess environment 2020-07-22 12:07:20 -06:00
Matt Bacchi 91993eed99 Use GNUPGHOME for release channel signing
To separate nightly/dev/beta and release channel GPG
keys, we are using a different directory now. This will
allow us to run these jobs simultaneously now and will
prevent errors if the release key is mounted from the
signer server at the time another channel is signing.

Resolves: https://github.com/brave/devops/issues/1246
2020-07-22 11:52:59 -06:00
Brian R. Bondy 246ab2a9b1 Be more lenient with localized strings from Transifex 2020-07-21 13:37:40 -04:00
Francois Marier 53883f5eb9 Rename whitelist to emphasize it's specific to npm 2020-07-21 10:30:26 -07:00
Francois Marier 01910c4a54 Always install the latest version of cargo-audit 2020-07-21 10:30:26 -07:00
Francois Marier b3e3ce45dd Get the SOURCE_ROOT from gn 2020-07-21 10:30:25 -07:00
Francois Marier 167025ac3f Add cargo-audit to audit_deps (fixes brave/brave-browser#10116) 2020-07-21 10:30:25 -07:00
Francois Marier f64b23469f Automatically recurse through all of src/brave
This will make this step of the brave-browser PR checklist
unnecessary:

  [ ] If adding a new directory with NPM packages, ensure this directory is
added to scripts/audit.js.
2020-07-21 10:30:24 -07:00
Francois Marier 8867dd9609 Move all audit_deps logic to brave/script/audit_deps.py
This also converts the script to Python 3.
2020-07-21 10:30:24 -07:00
Brian R. Bondy 2f081f8061 Make npm run pull_l10n idempotent 2020-07-20 13:16:06 -04:00
Brian Clifton 4b08d4a3e1 Removing exception as lodash was updated
https://github.com/brave/brave-browser/issues/10584 was fixed with https://github.com/brave/brave-browser/pull/10762
2020-07-15 23:14:24 -07:00
Mihai PLESA 661aa389a7 Merge pull request #6017 from brave/mplesa-omaha-upload-delta
added upload for delta installers
2020-07-08 18:34:59 +01:00
Mihai PLESA 8df08b33a5 added upload for delta installers 2020-07-07 22:12:24 +01:00
Brian R. Bondy b2d970a76f Replace localizer double escaping
This is a common mistake that some but not all localizers make
since Transifex displays our source string files double escaped
2020-07-07 16:47:57 -04:00
Brian R. Bondy 11d3f306ce Avoid trying to remove a node twice 2020-07-07 16:47:57 -04:00
Pranjal Jumde f72bb043c3 Merge pull request #6014 from brave/npm_audit_whitelist
Fix 10574: Add a whitelist of advisories for audit_deps
2020-07-07 12:48:16 -07:00