1737 Commits

Author SHA1 Message Date
darangi
f6126547bf ⬆️ pr-changelog 2022-02-08 11:33:25 +01:00
Musa Ibrahim
dd4fae1eb9 Merge pull request #22979 from DeeDeeG/update-system-requirements-checker-node
bootstrap: Use legacy-compatible `catch` syntax (support older Node)
2021-09-20 16:47:01 +01:00
DeeDeeG
f35e51273d bootstrap: Update required Node to 10.12+
"Node 10.12 or newer" has been a hard requirement since this PR:
https://github.com/atom/atom/pull/20879,
due to newer versions of electron-chromedriver and electron-mksnapshot
relying on extract-zip@2 as an indirect dependency.

(extract-zip@2 requires Node 10.12 or newer for its recursive mkdir.
Using extract-zip@2 with Node older than 10.12 results in errors.

That leads to a lack of electron-vendored
chromedriver or mksnapshot binaries where they're supposed to be.
Which in turn causes startup blob creation (via mksnapshot) to fail
toward the end of the Atom build scripts.)
2021-09-18 16:28:13 -04:00
DeeDeeG
5339e5d528 bootstrap: Fix syntax error for Node older than 10
We don't actually support Node older than 10 for successfully
bootstrapping an Atom build, but we should support older Node in the
system requirements checker script so that we can print useful errors,
like ones to tell the user their system's copy of Node is too old!

(It was me that introduced this Node 10.0.0 or above-only syntax
about a year ago... My mistake. It's as good a time as any to fix it!)
2021-09-13 21:07:59 -04:00
dependabot[bot]
ec1ef580ea Bump normalize-url from 4.5.0 to 4.5.1 in /script
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 09:45:54 +00:00
darangi
66e671862b change authentication method again 2021-08-13 00:12:47 +01:00
darangi
62bab604c8 change authentication method 2021-08-12 19:04:50 +01:00
mfonville
ce27104239 For glibc compatibility use Ubuntu 18.04 as environment 2021-07-16 23:09:10 +02:00
sadick254
27ab77394f Ubuntu 16.04 LTS environment is deprecated
It will be removed on September 20, 2021. Migrate to ubuntu-latest instead.

https://github.com/actions/virtual-environments/issues/3287.

e
 On branch migrate-to-ubuntu-latest
2021-07-16 19:16:09 +03:00
icecream17
65716c967a Use old npm version to create lockfile 2021-07-01 13:14:20 -05:00
icecream17
4774c56d9e Bump async dependency to 3.2.0 in atom/script
Update lockfileVersion to *2*, but that's a side affect from npm

https://github.com/caolan/async/blob/master/CHANGELOG.md#v200
v2.0.0 allows importing functions modularily.
So I changed the code to only import the functions needed
instead of the whole thing.
2021-06-25 16:51:14 -05:00
darangi
3245160e99 fix error on master 2021-06-02 14:07:15 +01:00
darangi
929f603b47 remove pr trigger 2021-06-02 14:03:50 +01:00
darangi
8fb0761333 reset ci configs to default 2021-05-27 17:05:52 +01:00
darangi
483bdf86fe temporary enable release branch build
add migration branch to list of triggers

revert pr trigger

set isReleaseBranch and isSignedZipBranch to true, this is temporary

fix lint

alter config files

set release branch to false

add @azure/storage-blob
2021-05-27 17:00:18 +01:00
darangi
2f6f931720 init 2021-05-20 11:36:53 +01:00
Sadick
79d0a6de32 Merge pull request #22453 from atom/bump-minidump@0.22.0
⬆️  Bump minidump@0.22.0
2021-05-20 07:45:04 +03:00
sadick254
a1c939a468 ⬆️ Bump minidump@0.22.0 2021-05-19 22:44:50 +03:00
DeeDeeG
b042d2ded1 script: Let bootstrap install apm with npm ci
This commit enables faster, more-reproducible installs of `apm`,
when bootstrapping/building Atom in `ci` mode.
(with `--ci` or env var `CI` set).

This only affects bootstrapping/building Atom; This should
not make any difference to the built Atom app, or to `apm`'s behavior
as a command-line tool/as a component of Atom.

Details:

As of apm 2.6.2, apm respects a `NO_APM_DEDUPE` env var on Windows.
(It was already supported on Linux and macOS before then.)
When set, this env var disables the deduping
normally performed at the end of apm's postinstall script.

This deduping doesn't work properly when installing apm with `npm ci`,
for unknown reasons. (The deduping algorithm deletes many needed
dependencies, without reconstructing a valid tree.)

Now that `apm` supports `NO_APM_DEDUPE` on all platforms,
we can safely allow installing `apm` with `npm ci`
during the bootstrap script.

Now bootstrapping apm in `ci` mode is faster in two ways:
- `npm ci` is generally faster than `npm install` for clean installs.
  - Great for actual automated builds ("CI").
- The `npm dedupe` run is now skipped in `ci` mode.
  - The `npm dedupe` was of dubious value in any case
  - The `npm dedupe` command was also surprisingly slow

We also benefit from the stronger reproducibility of `npm ci`
compared to `npm install` (guaranteed, version-locked dependencies).
2021-05-19 10:47:41 -04:00
mfonville
0d05713957 fix typo 2021-05-16 07:35:06 +02:00
mfonville
a805226393 Revert "Use Ubuntu Extended Security Maintenance mirror instead of Azure for security"
This reverts commit 78cba2a6e8.
2021-05-15 23:54:39 +02:00
mfonville
78cba2a6e8 Use Ubuntu Extended Security Maintenance mirror instead of Azure for security 2021-05-15 23:49:39 +02:00
mfonville
74e57e71de Also add bionic security repo, some of the rpm dependencies got a security update 2021-05-15 23:41:36 +02:00
mfonville
6a723d4314 merge the two apt-get statements 2021-05-15 23:00:08 +02:00
mfonville
c232b19195 apt-get is preferred in scripts 2021-05-15 20:48:20 +02:00
mfonville
94074a8e91 Azure only has http and no https 2021-05-15 20:19:52 +02:00
mfonville
7f22c983d3 had wrong type of quotes 2021-05-15 20:11:25 +02:00
mfonville
daaf4378bf small fixes 2021-05-15 19:57:10 +02:00
mfonville
0711623b2d Use azure mirror repository 2021-05-15 19:55:05 +02:00
mfonville
2dce3f0aad Get rpm from bionic 2021-05-15 19:50:29 +02:00
dependabot[bot]
b02c135d32 Bump hosted-git-info from 2.7.1 to 2.8.9 in /script/vsts
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 15:48:40 +00:00
Amin Yahyaabadi
a9b9eb96aa Update apm to 2.6.2 2021-04-29 04:34:47 -05:00
Amin Yahyaabadi
772a47964f Merge branch 'master' into remove-windows-build-tools 2021-04-28 04:40:57 -05:00
darangi
f0a79a0143 fetch 2021-03-23 08:10:49 +01:00
Musa Ibrahim
c7bf8f1aa3 Merge pull request #22019 from atom/fix-dependency-bump-failure
Fixes failing Dependency Bump script
2021-03-10 11:18:44 -08:00
Sadick
f4d832f2e2 Upgrade to electron 9.4.4 (#21777)
* Electron 9.4.4 Upgrade

Co-authored-by: Amin Yahyaabaadi <aminyahyaabadi74@gmail.com>
Co-authored-by: Maarten Fonville <mfonville@users.noreply.github.com>
Co-authored-by: Andrea Bogazzi <andreabogazzi79@gmail.com>
2021-03-05 07:48:45 +03:00
Sadick
7fbc957fba Clang 9 is already in the image. (#22000)
It's on the PATH and is the version that will be used without needing to do update-alternatives.
2021-03-03 17:48:30 +03:00
darangi
7a255bc138 rm .catch block 2021-03-01 19:01:36 +01:00
darangi
ce5e0f3068 use a default branch instead of master 2021-03-01 18:57:27 +01:00
Sadick
2f6f41b96e Revert "Bump minidump @aminya/minidump@0.19.0-8 (#21792)" (#21942)
This reverts commit 11b9559a5b.
2021-02-09 09:08:23 +03:00
Musa Ibrahim
394b468779 Merge pull request #21928 from atom/fix-dependency-bump-failure
Fixes dependency bump script
2021-02-04 15:48:11 +01:00
darangi
b6b8a87558 fix lint 2021-02-04 13:40:24 +01:00
darangi
1db87c09b0 checkout origin/master 2021-02-04 08:29:27 +01:00
DeeDeeG
83a883e8d0 script/test: Add a timeout message to retry for (#21898)
We should retry when encountering "Error: Timed out waiting on",
seen in the wild as "Error: Timed out waiting on anonymous condition".
2021-01-28 21:01:58 +03:00
Sadick
80bf68edbc Fix path when copying resource (#21900)
When copying resource from `{repositoryRootPath}/resources/win/*` to `{bundledResourcesPath}/cli/*`, omitted the {repositoryRootPath}.

Co-authored-by: yoonhyung <yoonhyungkim@webida.org>
2021-01-28 12:24:23 +03:00
Amin Yahyaabadi
11b9559a5b Bump minidump @aminya/minidump@0.19.0-8 (#21792)
* ⬆️ Bump minidump @aminya/minidump@0.19.0-8
2021-01-27 21:51:06 +03:00
Benjamin Gray
4e1f76530c Define npm_config_jobs env variable in build scripts (#21315)
Adds the npm_config_jobs env variable across build scripts that may benefit from it (ones that run apm install). This variable is used by node-gyp to compile native code with a number of threads equal to the reported CPU core count
2021-01-22 23:03:30 +03:00
DeeDeeG
79446ad2ef CI: Cache the packages/ directory (#21884)
Ensures we do not miss restoring these packages' node_modules folders
when running the post-build jobs (the test jobs in particular).
2021-01-21 20:53:15 +03:00
dependabot[bot]
2182479e4f ⬆️ Bump ini from 1.3.5 to 1.3.7 in /script/vsts (#21793)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 19:44:31 +03:00
sadick254
b9ef64e667 Add authorization 2021-01-04 22:19:26 +03:00