From 66c9419fffa9192e1d3c137de4e2f68636432f2a Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 31 Dec 2023 13:10:33 +0100 Subject: [PATCH] publish new post + install git lfs --- .gitattributes | 5 +++++ .githooks/post-checkout | 3 +++ .githooks/post-commit | 3 +++ .githooks/post-merge | 3 +++ .githooks/pre-push | 6 ++++++ .../posts/2023/60-an-overview/git-commits.jpg | Bin 0 -> 1853 bytes .../posts/2023/60-an-overview/git-commits.mp4 | 3 +++ .../2023/60-an-overview/git-commits.webm | 3 +++ content/posts/2023/60-an-overview/index.md | 20 ++++++++++++++++++ 9 files changed, 46 insertions(+) create mode 100644 .gitattributes create mode 100755 .githooks/post-checkout create mode 100755 .githooks/post-commit create mode 100755 .githooks/post-merge create mode 100644 content/posts/2023/60-an-overview/git-commits.jpg create mode 100644 content/posts/2023/60-an-overview/git-commits.mp4 create mode 100644 content/posts/2023/60-an-overview/git-commits.webm create mode 100644 content/posts/2023/60-an-overview/index.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d166f37 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +content/posts/2023/60-an-overview/git-commits.mp4 filter=lfs diff=lfs merge=lfs -text +content/posts/2023/60-an-overview/git-commits.webm filter=lfs diff=lfs merge=lfs -text +static/files/VARA_components.zip filter=lfs diff=lfs merge=lfs -text +static/files/dmrids_2023-08-12.zip filter=lfs diff=lfs merge=lfs -text +static/files/pdh.dll.zip filter=lfs diff=lfs merge=lfs -text diff --git a/.githooks/post-checkout b/.githooks/post-checkout new file mode 100755 index 0000000..cab40f2 --- /dev/null +++ b/.githooks/post-checkout @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.\n"; exit 2; } +git lfs post-checkout "$@" diff --git a/.githooks/post-commit b/.githooks/post-commit new file mode 100755 index 0000000..9443f41 --- /dev/null +++ b/.githooks/post-commit @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.\n"; exit 2; } +git lfs post-commit "$@" diff --git a/.githooks/post-merge b/.githooks/post-merge new file mode 100755 index 0000000..828b708 --- /dev/null +++ b/.githooks/post-merge @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.\n"; exit 2; } +git lfs post-merge "$@" diff --git a/.githooks/pre-push b/.githooks/pre-push index f2a985c..0b1d262 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -30,6 +30,12 @@ else exit 1 fi +# git lfs +echo -n ">>> Check for git-lfs..." +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; } +git lfs pre-push "$@" +echo " Done!" + echo -n ">>> Pushing files to server..." ret="$(rsync --no-motd -acvhz --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)" diff --git a/content/posts/2023/60-an-overview/git-commits.jpg b/content/posts/2023/60-an-overview/git-commits.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e9ad7f3d078b9c3e42a1468f282e39217f2c6e0b GIT binary patch literal 1853 zcmb7EX;c&E8lK5y!2mK7BC9|W5JL!<5X#a@A%I+rsDwo*y@;S##o#fxq$BG!_C&ogXKYIt)RQnjUXU_Kp>hBEr~=+x}B9B{r?_AH-MM`;XpP7 z(f|wsLI`N+0qjtc5NM?PZXhfU1LDy;8}$48R{)5Cu!d2<3<3cR48f?#mkm?;gGtWh zd#`kEs>iNn1@}*kc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ELq+4AFuDz$sRH8^e?_sC&b4eMwp$} zsY2||co#)`Uf$gHX-&`GY&xTJ{rT94%{23$9AT?^e%zU@0e|GeZTlZ*MD3mU&a9U& z8N8Fzw`E-l0q;0-uvNKyR&Fi3b2IA6u&^QgY>HD=JFjc#YDIoi><@_=8Gflr=(&mR e37RTlAlo`=_!_cJjj4IwXCJ%C_r+nu$o~LeT&`mP literal 0 HcmV?d00001 diff --git a/content/posts/2023/60-an-overview/git-commits.mp4 b/content/posts/2023/60-an-overview/git-commits.mp4 new file mode 100644 index 0000000..919e20b --- /dev/null +++ b/content/posts/2023/60-an-overview/git-commits.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5d5b2a771e47b487c5b9742ed4ae1a6426a1e218ecee372eb3d34b51828420e +size 35823870 diff --git a/content/posts/2023/60-an-overview/git-commits.webm b/content/posts/2023/60-an-overview/git-commits.webm new file mode 100644 index 0000000..e3180af --- /dev/null +++ b/content/posts/2023/60-an-overview/git-commits.webm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d92dd8fe68ec1834c3f4ee11e296be3b937d3bbe0b2819c63483b9fc7418ecf +size 47409233 diff --git a/content/posts/2023/60-an-overview/index.md b/content/posts/2023/60-an-overview/index.md new file mode 100644 index 0000000..a4f3984 --- /dev/null +++ b/content/posts/2023/60-an-overview/index.md @@ -0,0 +1,20 @@ +--- +title: An overview +summary: All the git commits made to this website in the year 2023. +date: 2023-12-31T13:09:30+0100 +lastmod: 2023-12-31T12:10:33+0000 +tags: +- website-news + +--- + +I am currently (back)listening to a bunch of podcasts and [one](https://focusonlinux.podigee.io/70-emacs) +mentioned a nice tool that renders your git activity into a video: [Gource](https://gource.io/). + +{{< video "git-commits" >}} + +Nice to watch and maye a not-so-bad final post that ends the year 2023. Not that I'd care much about +an ending year, but this really came in accidentally and maybe this is useful for somebody else too. + +_All the best for 2024!_ +