diff options
Diffstat (limited to '')
-rw-r--r-- | _tils/2020-09-05-pull-requests-with-git-the-old-school-way.md | 2 | ||||
-rw-r--r-- | _tils/2020-11-30-storing-ci-data-on-git-notes.md | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md b/_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md index 43f83fc..e013863 100644 --- a/_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md +++ b/_tils/2020-09-05-pull-requests-with-git-the-old-school-way.md @@ -45,7 +45,7 @@ The following changes since commit 302c9f2f035c0360acd4e13142428c100a10d43f: are available in the Git repository at: - https://git.euandreh.xyz/website/ + https://euandreh.xyz/website.git/ for you to fetch changes up to 524c646cdac4153e54f2163e280176adbc4873fa: diff --git a/_tils/2020-11-30-storing-ci-data-on-git-notes.md b/_tils/2020-11-30-storing-ci-data-on-git-notes.md index 95365ac..74beda2 100644 --- a/_tils/2020-11-30-storing-ci-data-on-git-notes.md +++ b/_tils/2020-11-30-storing-ci-data-on-git-notes.md @@ -101,19 +101,19 @@ index 3f6ca69..02b9cc6 100644 ``` Other tools such as [cgit][cgit] will also show notes on the web interface: -[https://git.euandreh.xyz/vps/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c](https://git.euandreh.xyz/vps/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c) +[https://euandreh.xyz/vps.git/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c](https://euandreh.xyz/vps.git/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c) You can go even further: since cgit can serve raw blob directly, you can even serve such artifacts (log files, release artifacts, binaries) from cgit itself: ```shell $ SHA="$(git notes --ref=refs/notes/ci-logs list 930ba1888f49f11e52a4a715438cd9f5f413dd9c)" -$ echo "https://git.euandreh.xyz/vps/blob?id=$SHA" -https://git.euandreh.xyz/vps/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff +$ echo "https://euandreh.xyz/vps.git/blob?id=$SHA" +https://euandreh.xyz/vps.git/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff ``` And like that you'll have cgit serving the artifacts for you: -[https://git.euandreh.xyz/vps/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff](https://git.euandreh.xyz/vps/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff) +[https://euandreh.xyz/vps.git/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff](https://euandreh.xyz/vps.git/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff) [previous-article]: {% link _tils/2020-11-12-diy-bare-bones-ci-server-with-bash-and-nix.md %} [git-notes]: https://git-scm.com/docs/git-notes |