~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
4 2

[PATCH pages.sr.ht-examples v2 0/3] Update stale eleventy example

Details
Message ID
<20231121115815.3938-1-noelle_leigh@fastmail.com>
DKIM signature
missing
Download raw message
I saw a [post on the mailing list][1] where a user had some trouble
using the Debian + Eleventy example due to it referencing an old
version of Debian that is no longer supported by builds.st.ht.

This patchset improves the example in several ways:

  - Image changed from stale debian/buster to evergreen debian/stable
  - Node.js version updated to new LTS and a non-distro-specific repo
  - Updated env var to disable the npm progress bar

[1]: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3CCAPxX4hCqQFqymCCdOy70gEiwQojAALO7iVjPujybp0433QZ3TA%40mail.gmail.com%3E


Noelle Leigh (3):
  eleventy.yml: Switch to debian/stable
  eleventy.yml: Don't use nodesource repo
  eleventy.yml: Disable progress bar correctly

 eleventy.yml | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

--
2.39.2

[PATCH pages.sr.ht-examples v2 1/3] eleventy.yml: Switch to debian/stable

Details
Message ID
<20231121115815.3938-2-noelle_leigh@fastmail.com>
In-Reply-To
<20231121115815.3938-1-noelle_leigh@fastmail.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +1 -1
Won't eventually fall off the support list
---
 eleventy.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eleventy.yml b/eleventy.yml
index c74b315..7b1dd58 100644
--- a/eleventy.yml
+++ b/eleventy.yml
@@ -1,5 +1,5 @@
# Eleventy: https://www.11ty.dev/
image: debian/buster
image: debian/stable
packages:
  - nodejs
repositories:
-- 
2.39.2

[PATCH pages.sr.ht-examples v2 2/3] eleventy.yml: Don't use nodesource repo

Details
Message ID
<20231121115815.3938-3-noelle_leigh@fastmail.com>
In-Reply-To
<20231121115815.3938-1-noelle_leigh@fastmail.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +1 -5
just install nodejs and npm from Debian's repos.
---
Addresses feedback from [Conrad Hoffmann][1].

[1]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/%3C20231109123737.28065-1-noelle_leigh%40fastmail.com%3E#%3C90a1f9c7-8b08-4836-b55b-a86656ee3428@bitfehler.net%3E

 eleventy.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/eleventy.yml b/eleventy.yml
index 7b1dd58..d558cde 100644
--- a/eleventy.yml
+++ b/eleventy.yml
@@ -2,11 +2,7 @@
image: debian/stable
packages:
  - nodejs
repositories:
  # https://github.com/nodesource/distributions/blob/master/README.md#debmanual
  nodesource.com: >-
    https://deb.nodesource.com/node_14.x buster main
    9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280
  - npm
oauth: pages.sr.ht/PAGES:RW
environment:
  site: example.org
--
2.39.2

[PATCH pages.sr.ht-examples v2 3/3] eleventy.yml: Disable progress bar correctly

Details
Message ID
<20231121115815.3938-4-noelle_leigh@fastmail.com>
In-Reply-To
<20231121115815.3938-1-noelle_leigh@fastmail.com> (view parent)
DKIM signature
missing
Download raw message
Patch: +3 -2
Changed for newer versions of npm.
---
 eleventy.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/eleventy.yml b/eleventy.yml
index d558cde..315dcc4 100644
--- a/eleventy.yml
+++ b/eleventy.yml
@@ -6,8 +6,9 @@ packages:
oauth: pages.sr.ht/PAGES:RW
environment:
  site: example.org
  # https://docs.npmjs.com/cli/v6/using-npm/config#progress
  CI: "TRUE"
  # Disable npm progress bar
  # https://docs.npmjs.com/cli/v9/using-npm/config#progress
  npm_config_progress: "false"
tasks:
- install: |
    cd $site
-- 
2.39.2

Re: [PATCH pages.sr.ht-examples v2 3/3] eleventy.yml: Disable progress bar correctly

Details
Message ID
<CX4HMA73RJ8J.1MYNDZ1N42AH0@taiga>
In-Reply-To
<20231121115815.3938-4-noelle_leigh@fastmail.com> (view parent)
DKIM signature
missing
Download raw message
LGTM, thanks!

To git@git.sr.ht:~sircmpwn/pages.sr.ht-examples
   4e13eb1..38752f4  master -> master
Reply to thread Export thread (mbox)