aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_articles/2019-06-02-using-nixos-as-an-stateless-workstation.md (renamed from _articles/2019-06-02-stateless-os.md)0
-rw-r--r--_articles/2020-08-10-guix-inside-sourcehut-builds-sr-ht-ci.md2
-rw-r--r--_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.md (renamed from _articles/2020-10-19-feature-flags-differences-between-backend-frontent-and-mobile.md)0
-rw-r--r--_slides/2020-10-19-rollout-feature-flag-experiment-operational-toggle.slides2
-rw-r--r--_tils/2020-08-12-simple-filename-timestamp.md (renamed from _tils/2020-08-12-simple-filname-timestamp.md)0
-rw-r--r--_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md (renamed from _tils/2020-09-05-pull-requests-with-git-the-oldschool-way.md)0
-rwxr-xr-xscripts/assert-content.sh9
7 files changed, 9 insertions, 4 deletions
diff --git a/_articles/2019-06-02-stateless-os.md b/_articles/2019-06-02-using-nixos-as-an-stateless-workstation.md
index 42c543c..42c543c 100644
--- a/_articles/2019-06-02-stateless-os.md
+++ b/_articles/2019-06-02-using-nixos-as-an-stateless-workstation.md
diff --git a/_articles/2020-08-10-guix-inside-sourcehut-builds-sr-ht-ci.md b/_articles/2020-08-10-guix-inside-sourcehut-builds-sr-ht-ci.md
index c699df4..4d7e8d5 100644
--- a/_articles/2020-08-10-guix-inside-sourcehut-builds-sr-ht-ci.md
+++ b/_articles/2020-08-10-guix-inside-sourcehut-builds-sr-ht-ci.md
@@ -4,7 +4,7 @@ date: 2020-08-10
updated_at: 2020-08-19
layout: post
lang: en
-ref: guix-inside-sourcehut-buildssrht-ci
+ref: guix-inside-sourcehut-builds-sr-ht-ci
---
After the release of the [NixOS images in builds.sr.ht][0] and much
usage of it, I also started looking at [Guix][1] and
diff --git a/_articles/2020-10-19-feature-flags-differences-between-backend-frontent-and-mobile.md b/_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.md
index 74d4e15..74d4e15 100644
--- a/_articles/2020-10-19-feature-flags-differences-between-backend-frontent-and-mobile.md
+++ b/_articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.md
diff --git a/_slides/2020-10-19-rollout-feature-flag-experiment-operational-toggle.slides b/_slides/2020-10-19-rollout-feature-flag-experiment-operational-toggle.slides
index 6c76fb5..5fcfd43 100644
--- a/_slides/2020-10-19-rollout-feature-flag-experiment-operational-toggle.slides
+++ b/_slides/2020-10-19-rollout-feature-flag-experiment-operational-toggle.slides
@@ -317,7 +317,7 @@ You should ask yourself:
References:
1. these slides: [euandre.org/slides.html]({% link slides.md %})
-2. [prose version of this presentation]({% link _articles/2020-10-19-feature-flags-differences-between-backend-frontent-and-mobile.md %})
+2. [prose version of this presentation]({% link _articles/2020-10-19-feature-flags-differences-between-backend-frontend-and-mobile.md %})
3. "[Feature Toggles (aka Feature Flags)](https://martinfowler.com/articles/feature-toggles.html)",
by Pete Hodgson
4. "[Continuous integration vs. continuous delivery vs. continuous deployment](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment)",
diff --git a/_tils/2020-08-12-simple-filname-timestamp.md b/_tils/2020-08-12-simple-filename-timestamp.md
index a02c70b..a02c70b 100644
--- a/_tils/2020-08-12-simple-filname-timestamp.md
+++ b/_tils/2020-08-12-simple-filename-timestamp.md
diff --git a/_tils/2020-09-05-pull-requests-with-git-the-oldschool-way.md b/_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md
index 6684631..6684631 100644
--- a/_tils/2020-09-05-pull-requests-with-git-the-oldschool-way.md
+++ b/_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md
diff --git a/scripts/assert-content.sh b/scripts/assert-content.sh
index b9d97b2..a86733d 100755
--- a/scripts/assert-content.sh
+++ b/scripts/assert-content.sh
@@ -22,9 +22,9 @@ slugify() {
echo "${1}" | \
tr '[:upper:]' '[:lower:]' | \
perl -ne 'tr/\000-\177//cd;
- s/[^\w\s-]//g;
+ s/[^\w\s-.]//g;
s/^\s+|\s+$//g;
- s/[-\s]+/-/g;
+ s/[-\s.]+/-/g;
print;'
}
@@ -117,6 +117,11 @@ assert-frontmatter() {
red "title slug: '$TITLE_SLUG'"
exit 1
fi
+ DESIRED_FILE="${PREFIX}${DATE}-${TITLE_SLUG}.${EXTENSION}"
+ if [[ ! -f "$DESIRED_FILE" ]]; then
+ red "File can't be guessed from date+slug: '$DESIRED_FILE' does not exist"
+ exit 1
+ fi
fi
fi
}