From 1d6057d6745470ceb7ca9bcc9a83eaec00da8942 Mon Sep 17 00:00:00 2001 From: steven nguyen Date: Mon, 25 Oct 2021 14:41:09 -0500 Subject: [PATCH 1/3] Don't use deprecated `Buffer` According to https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/, `Buffer(number)` should be replaced by `Buffer.alloc(number)` --- test/git-strategies.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/git-strategies.test.js b/test/git-strategies.test.js index c39b8dca60..3d7ad41b85 100644 --- a/test/git-strategies.test.js +++ b/test/git-strategies.test.js @@ -837,7 +837,7 @@ import * as reporterProxy from '../lib/reporter-proxy'; it('returns an empty diff', async function() { const workingDirPath = await cloneRepository('three-files'); const git = createTestStrategy(workingDirPath); - const data = new Buffer(10); + const data = Buffer.alloc(10); for (let i = 0; i < 10; i++) { data.writeUInt8(i + 200, i); } From f867d24b9a1feca7cc9190e696ff3608f68f07a5 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sun, 17 Apr 2022 19:08:00 -0400 Subject: [PATCH 2/3] CI: Use 'windows-2019' image for Windows tests 'windows-latest' is currently 'windows-2022' with Visual Studio 2022. Old versions of node-gyp don't know how to find Visual Studio 2022, so the package build fails. Switch back to 'windows-2019' with Visual Studio 2019, which is supported by node-gyp 5.x, which apm still uses. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df3afbc826..7d30ce8063 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: name: tests strategy: matrix: - os: [ubuntu-18.04, macos-latest, windows-latest] + os: [ubuntu-18.04, macos-latest, windows-2019] channel: [beta, nightly] fail-fast: false runs-on: ${{ matrix.os }} From 5e72f801c134c713658773a90452f4bfb87c990f Mon Sep 17 00:00:00 2001 From: Musa Ibrahim Date: Wed, 28 Sep 2022 11:52:01 +0100 Subject: [PATCH 3/3] add sunset message --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e43d03aff3..d7d7d2b5ce 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# Atom GitHub Package +##### Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our [official announcement](https://github.blog/2022-06-08-sunsetting-atom/) + # Atom GitHub Package | Build | Code Coverage | |-------|---------------|