Skip to content

Commit

Permalink
- added project-specific caches for commits, to prevent redundant Git…
Browse files Browse the repository at this point in the history
…Hub API queries

- fixed bug with CommitGroups displaying the first commit twice (missing else clause)
- added a pre-commit hook to update the caches, eliminating the complex workflow
- changed styling of 'published' and 'lastUpdated' dates for blog posts on index page
  • Loading branch information
awwsmm committed Mar 9, 2022
1 parent 4733a33 commit 569a636
Show file tree
Hide file tree
Showing 20 changed files with 4,644 additions and 248 deletions.
19 changes: 19 additions & 0 deletions caches/blog/git-commit-hooks.json
@@ -0,0 +1,19 @@
[
[
"git-commit-hooks",
[
{
"sha": "bc222b37913ec2cdd7ff5f152dfaca06d33ec9f3",
"message": "automatically date blog posts using git history",
"date": "2022-01-14T18:54:39+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/bc222b37913ec2cdd7ff5f152dfaca06d33ec9f3"
},
{
"sha": "b2e504f52e4df0ddf77c662903e39b4aaf12f242",
"message": "added Git Hooks blog post, plus very rough syntax highlighting",
"date": "2022-01-02T20:54:35+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/b2e504f52e4df0ddf77c662903e39b4aaf12f242"
}
]
]
]
19 changes: 19 additions & 0 deletions caches/blog/hello-world.json
@@ -0,0 +1,19 @@
[
[
"hello-world",
[
{
"sha": "bc222b37913ec2cdd7ff5f152dfaca06d33ec9f3",
"message": "automatically date blog posts using git history",
"date": "2022-01-14T18:54:39+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/bc222b37913ec2cdd7ff5f152dfaca06d33ec9f3"
},
{
"sha": "ec96618d38c71134f4a9ed14d6ae6d7a2b5c9e59",
"message": "attempting to deploy to Vercel",
"date": "2022-01-02T12:11:54+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/ec96618d38c71134f4a9ed14d6ae6d7a2b5c9e59"
}
]
]
]
19 changes: 19 additions & 0 deletions caches/blog/nominal-vs-structural-vs-duck-typing.json
@@ -0,0 +1,19 @@
[
[
"nominal-vs-structural-vs-duck-typing",
[
{
"sha": "bc222b37913ec2cdd7ff5f152dfaca06d33ec9f3",
"message": "automatically date blog posts using git history",
"date": "2022-01-14T18:54:39+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/bc222b37913ec2cdd7ff5f152dfaca06d33ec9f3"
},
{
"sha": "9368f247c7f24c858be4b39931ffe4981f4fac65",
"message": "new blog post about nominal, structural, and duck typing",
"date": "2022-01-09T12:46:01+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/9368f247c7f24c858be4b39931ffe4981f4fac65"
}
]
]
]
19 changes: 19 additions & 0 deletions caches/blog/whats-wrong-this-time-part-1.json
@@ -0,0 +1,19 @@
[
[
"whats-wrong-this-time-part-1",
[
{
"sha": "067933596a09eae9287eb3ddb58d67c64a9c2677",
"message": "add What's Wrong This Time? Part II blog post",
"date": "2022-01-23T19:17:02+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/067933596a09eae9287eb3ddb58d67c64a9c2677"
},
{
"sha": "94130448ecd949839142eb65c5b32e4ef131503e",
"message": "add What's Wrong This Time? Part I blog post; update some CSS; fix some caching issues",
"date": "2022-01-16T17:28:39+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/94130448ecd949839142eb65c5b32e4ef131503e"
}
]
]
]
19 changes: 19 additions & 0 deletions caches/blog/whats-wrong-this-time-part-2.json
@@ -0,0 +1,19 @@
[
[
"whats-wrong-this-time-part-2",
[
{
"sha": "4733a337d554a6fc14f5e8fd7a00559203e29cd6",
"message": "What's Wrong This Time? Part III",
"date": "2022-03-06T21:42:15+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/4733a337d554a6fc14f5e8fd7a00559203e29cd6"
},
{
"sha": "067933596a09eae9287eb3ddb58d67c64a9c2677",
"message": "add What's Wrong This Time? Part II blog post",
"date": "2022-01-23T19:17:02+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/067933596a09eae9287eb3ddb58d67c64a9c2677"
}
]
]
]
13 changes: 13 additions & 0 deletions caches/blog/whats-wrong-this-time-part-3.json
@@ -0,0 +1,13 @@
[
[
"whats-wrong-this-time-part-3",
[
{
"sha": "4733a337d554a6fc14f5e8fd7a00559203e29cd6",
"message": "What's Wrong This Time? Part III",
"date": "2022-03-06T21:42:15+00:00",
"link": "https://github.com/awwsmm/awwsmm.com/commit/4733a337d554a6fc14f5e8fd7a00559203e29cd6"
}
]
]
]
37 changes: 0 additions & 37 deletions caches/posts.json

This file was deleted.

0 comments on commit 569a636

Please sign in to comment.