From a794a591a601893982982c36fe24b165010d9291 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Fri, 21 Jun 2024 23:54:13 -0400 Subject: [PATCH] Turn everything into a leaf --- .../index.md} | 0 .../index.md} | 0 .../posts/{bf-in-go.md => bf-in-go/index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../{first-post.md => first-post/index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 content/posts/names.txt | 28 +++++++++++++++++++ .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../{prom-primer.md => prom-primer/index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 0 .../index.md} | 16 +++++------ .../index.md} | 0 29 files changed, 36 insertions(+), 8 deletions(-) rename content/posts/{automating-caddy-on-my-droplet.md => automating-caddy-on-my-droplet/index.md} (100%) rename content/posts/{beautiful-builds-with-bazel.md => beautiful-builds-with-bazel/index.md} (100%) rename content/posts/{bf-in-go.md => bf-in-go/index.md} (100%) rename content/posts/{data-interfaces.md => data-interfaces/index.md} (100%) rename content/posts/{drone-and-hugo.md => drone-and-hugo/index.md} (100%) rename content/posts/{filtering-hugo-pages-by-type.md => filtering-hugo-pages-by-type/index.md} (100%) rename content/posts/{first-aardwolf-remort.md => first-aardwolf-remort/index.md} (100%) rename content/posts/{first-post.md => first-post/index.md} (100%) rename content/posts/{genesis-flags.md => genesis-flags/index.md} (100%) rename content/posts/{genesis-roadmap.md => genesis-roadmap/index.md} (100%) rename content/posts/{gitea-lfs-and-syncing-obsidian-vaults.md => gitea-lfs-and-syncing-obsidian-vaults/index.md} (100%) rename content/posts/{golang-quantize.md => golang-quantize/index.md} (100%) rename content/posts/{integrating-cobra-and-lipgloss.md => integrating-cobra-and-lipgloss/index.md} (100%) rename content/posts/{making-noise.md => making-noise/index.md} (100%) rename content/posts/{mapping-aardwolf-with-graphviz.md => mapping-aardwolf-with-graphviz/index.md} (100%) create mode 100644 content/posts/names.txt rename content/posts/{non-mechanical-ttrpg-fundamentals.md => non-mechanical-ttrpg-fundamentals/index.md} (100%) rename content/posts/{notes-as-tools.md => notes-as-tools/index.md} (100%) rename content/posts/{one-dimensional-automata-and-you.md => one-dimensional-automata-and-you/index.md} (100%) rename content/posts/{pagerduty-synthetic-retrigger-loop.md => pagerduty-synthetic-retrigger-loop/index.md} (100%) rename content/posts/{path-of-market.md => path-of-market/index.md} (100%) rename content/posts/{pragmatic-projections-primer.md => pragmatic-projections-primer/index.md} (100%) rename content/posts/{prom-primer.md => prom-primer/index.md} (100%) rename content/posts/{selinux-and-nginx.md => selinux-and-nginx/index.md} (100%) rename content/posts/{series-and-navigation.md => series-and-navigation/index.md} (100%) rename content/posts/{stamping-builds-with-bazel.md => stamping-builds-with-bazel/index.md} (100%) rename content/posts/{standing-up-gogs.md => standing-up-gogs/index.md} (100%) rename content/posts/{the-joy-of-versioning.md => the-joy-of-versioning/index.md} (94%) rename content/posts/{validating-yaml-frontmatter-with-jsonschema.md => validating-yaml-frontmatter-with-jsonschema/index.md} (100%) diff --git a/content/posts/automating-caddy-on-my-droplet.md b/content/posts/automating-caddy-on-my-droplet/index.md similarity index 100% rename from content/posts/automating-caddy-on-my-droplet.md rename to content/posts/automating-caddy-on-my-droplet/index.md diff --git a/content/posts/beautiful-builds-with-bazel.md b/content/posts/beautiful-builds-with-bazel/index.md similarity index 100% rename from content/posts/beautiful-builds-with-bazel.md rename to content/posts/beautiful-builds-with-bazel/index.md diff --git a/content/posts/bf-in-go.md b/content/posts/bf-in-go/index.md similarity index 100% rename from content/posts/bf-in-go.md rename to content/posts/bf-in-go/index.md diff --git a/content/posts/data-interfaces.md b/content/posts/data-interfaces/index.md similarity index 100% rename from content/posts/data-interfaces.md rename to content/posts/data-interfaces/index.md diff --git a/content/posts/drone-and-hugo.md b/content/posts/drone-and-hugo/index.md similarity index 100% rename from content/posts/drone-and-hugo.md rename to content/posts/drone-and-hugo/index.md diff --git a/content/posts/filtering-hugo-pages-by-type.md b/content/posts/filtering-hugo-pages-by-type/index.md similarity index 100% rename from content/posts/filtering-hugo-pages-by-type.md rename to content/posts/filtering-hugo-pages-by-type/index.md diff --git a/content/posts/first-aardwolf-remort.md b/content/posts/first-aardwolf-remort/index.md similarity index 100% rename from content/posts/first-aardwolf-remort.md rename to content/posts/first-aardwolf-remort/index.md diff --git a/content/posts/first-post.md b/content/posts/first-post/index.md similarity index 100% rename from content/posts/first-post.md rename to content/posts/first-post/index.md diff --git a/content/posts/genesis-flags.md b/content/posts/genesis-flags/index.md similarity index 100% rename from content/posts/genesis-flags.md rename to content/posts/genesis-flags/index.md diff --git a/content/posts/genesis-roadmap.md b/content/posts/genesis-roadmap/index.md similarity index 100% rename from content/posts/genesis-roadmap.md rename to content/posts/genesis-roadmap/index.md diff --git a/content/posts/gitea-lfs-and-syncing-obsidian-vaults.md b/content/posts/gitea-lfs-and-syncing-obsidian-vaults/index.md similarity index 100% rename from content/posts/gitea-lfs-and-syncing-obsidian-vaults.md rename to content/posts/gitea-lfs-and-syncing-obsidian-vaults/index.md diff --git a/content/posts/golang-quantize.md b/content/posts/golang-quantize/index.md similarity index 100% rename from content/posts/golang-quantize.md rename to content/posts/golang-quantize/index.md diff --git a/content/posts/integrating-cobra-and-lipgloss.md b/content/posts/integrating-cobra-and-lipgloss/index.md similarity index 100% rename from content/posts/integrating-cobra-and-lipgloss.md rename to content/posts/integrating-cobra-and-lipgloss/index.md diff --git a/content/posts/making-noise.md b/content/posts/making-noise/index.md similarity index 100% rename from content/posts/making-noise.md rename to content/posts/making-noise/index.md diff --git a/content/posts/mapping-aardwolf-with-graphviz.md b/content/posts/mapping-aardwolf-with-graphviz/index.md similarity index 100% rename from content/posts/mapping-aardwolf-with-graphviz.md rename to content/posts/mapping-aardwolf-with-graphviz/index.md diff --git a/content/posts/names.txt b/content/posts/names.txt new file mode 100644 index 0000000..ef7c9a9 --- /dev/null +++ b/content/posts/names.txt @@ -0,0 +1,28 @@ +./automating-caddy-on-my-droplet.md +./making-noise.md +./first-post.md +./integrating-cobra-and-lipgloss.md +./notes-as-tools.md +./mapping-aardwolf-with-graphviz.md +./golang-quantize.md +./prom-primer.md +./beautiful-builds-with-bazel.md +./filtering-hugo-pages-by-type.md +./non-mechanical-ttrpg-fundamentals.md +./one-dimensional-automata-and-you.md +./path-of-market.md +./standing-up-gogs.md +./series-and-navigation.md +./gitea-lfs-and-syncing-obsidian-vaults.md +./genesis-flags.md +./the-joy-of-versioning.md +./validating-yaml-frontmatter-with-jsonschema.md +./genesis-roadmap.md +./bf-in-go.md +./first-aardwolf-remort.md +./pagerduty-synthetic-retrigger-loop.md +./stamping-builds-with-bazel.md +./drone-and-hugo.md +./data-interfaces.md +./selinux-and-nginx.md +./pragmatic-projections-primer.md diff --git a/content/posts/non-mechanical-ttrpg-fundamentals.md b/content/posts/non-mechanical-ttrpg-fundamentals/index.md similarity index 100% rename from content/posts/non-mechanical-ttrpg-fundamentals.md rename to content/posts/non-mechanical-ttrpg-fundamentals/index.md diff --git a/content/posts/notes-as-tools.md b/content/posts/notes-as-tools/index.md similarity index 100% rename from content/posts/notes-as-tools.md rename to content/posts/notes-as-tools/index.md diff --git a/content/posts/one-dimensional-automata-and-you.md b/content/posts/one-dimensional-automata-and-you/index.md similarity index 100% rename from content/posts/one-dimensional-automata-and-you.md rename to content/posts/one-dimensional-automata-and-you/index.md diff --git a/content/posts/pagerduty-synthetic-retrigger-loop.md b/content/posts/pagerduty-synthetic-retrigger-loop/index.md similarity index 100% rename from content/posts/pagerduty-synthetic-retrigger-loop.md rename to content/posts/pagerduty-synthetic-retrigger-loop/index.md diff --git a/content/posts/path-of-market.md b/content/posts/path-of-market/index.md similarity index 100% rename from content/posts/path-of-market.md rename to content/posts/path-of-market/index.md diff --git a/content/posts/pragmatic-projections-primer.md b/content/posts/pragmatic-projections-primer/index.md similarity index 100% rename from content/posts/pragmatic-projections-primer.md rename to content/posts/pragmatic-projections-primer/index.md diff --git a/content/posts/prom-primer.md b/content/posts/prom-primer/index.md similarity index 100% rename from content/posts/prom-primer.md rename to content/posts/prom-primer/index.md diff --git a/content/posts/selinux-and-nginx.md b/content/posts/selinux-and-nginx/index.md similarity index 100% rename from content/posts/selinux-and-nginx.md rename to content/posts/selinux-and-nginx/index.md diff --git a/content/posts/series-and-navigation.md b/content/posts/series-and-navigation/index.md similarity index 100% rename from content/posts/series-and-navigation.md rename to content/posts/series-and-navigation/index.md diff --git a/content/posts/stamping-builds-with-bazel.md b/content/posts/stamping-builds-with-bazel/index.md similarity index 100% rename from content/posts/stamping-builds-with-bazel.md rename to content/posts/stamping-builds-with-bazel/index.md diff --git a/content/posts/standing-up-gogs.md b/content/posts/standing-up-gogs/index.md similarity index 100% rename from content/posts/standing-up-gogs.md rename to content/posts/standing-up-gogs/index.md diff --git a/content/posts/the-joy-of-versioning.md b/content/posts/the-joy-of-versioning/index.md similarity index 94% rename from content/posts/the-joy-of-versioning.md rename to content/posts/the-joy-of-versioning/index.md index 56c97a1..6118218 100644 --- a/content/posts/the-joy-of-versioning.md +++ b/content/posts/the-joy-of-versioning/index.md @@ -19,10 +19,10 @@ tags: ## What am I Doing? Too many times this year I've found myself struggling to improve my [blog pipeline](https://blog.ndumas.com/series/blogging-with-quartz/) because I couldn't keep track of when code stopped and started doing what it was supposed to do. This was entirely my own fault, I was not observing best-practices: -- I wasn't using semantic versioning -- I wasn't tagging -- all development happened on main -- etc etc +- I wasn't using semantic versioning +- I wasn't tagging +- all development happened on main +- etc etc All of this worked well enough for private use monoliths, one-offs and skunkworks projects but these Drone pipelines presented a new challenge. @@ -37,7 +37,7 @@ All of this added up to things breaking for far longer than they needed to, more After some digging I found resources that helped me build a Makefile to take care of things. That first Makefile added a **lot** but I'm only going to cover the tooling for semantic versioning and git tagging; the rest of that Makefile was go cross-compilation and docker image stuff that I'm replacing with bazel. -To handle automatically incrementing semver values, I landed on `bump`. Because it's written in Go, I was able to fork it and patch a few minor issues and make sure that it keeps working for the foreseeable future. +To handle automatically incrementing semver values, I landed on `bump`. Because it's written in Go, I was able to fork it and patch a few minor issues and make sure that it keeps working for the foreseeable future. ## Why does it work? My current solution relies on a few pieces: `bump` and my Makefile invoking some git commands. @@ -58,9 +58,9 @@ bump-patch: setup-bump bump patch ``` -[bump](https://github.com/guilhem/bump) is a golang utility that'll read a git repository's tags and apply a [semantic versioning](https://semver.org/) compliant version increment. `bump patch` bumps `v0.0.1` to `v0.0.2`. `bump major` goes from `v2.24.5` to `v3.0.0`. You get the idea. +[bump](https://github.com/guilhem/bump) is a golang utility that'll read a git repository's tags and apply a [semantic versioning](https://semver.org/) compliant version increment. `bump patch` bumps `v0.0.1` to `v0.0.2`. `bump major` goes from `v2.24.5` to `v3.0.0`. You get the idea. All together, this suite works perfectly for handling tagging. I don't have a super rigorous policy on what constitutes a major, minor, or patch version but being able to `make bump-patch` to tag a specific known-good commit made a world of difference. My drone pipelines became drastically more reliable thanks to version pinning. -# But what about Bazel? -Bazel isn't directly involved in manipulating tags yet. To do that, I'll need to add bazel build files to the `bump` repo. I'll cover that in the next post, where I cover how to use bazel's stamping funtionality. \ No newline at end of file +# But what about Bazel? +Bazel isn't directly involved in manipulating tags yet. To do that, I'll need to add bazel build files to the `bump` repo. I'll cover that in the next post, where I cover how to use bazel's stamping funtionality. diff --git a/content/posts/validating-yaml-frontmatter-with-jsonschema.md b/content/posts/validating-yaml-frontmatter-with-jsonschema/index.md similarity index 100% rename from content/posts/validating-yaml-frontmatter-with-jsonschema.md rename to content/posts/validating-yaml-frontmatter-with-jsonschema/index.md