Skip to content

Commit 27510d1

Browse files
committed
rn-114: Add links to various news, articles, sites, and tools
1 parent 9b7e12c commit 27510d1

File tree

1 file changed

+104
-2
lines changed

1 file changed

+104
-2
lines changed

rev_news/drafts/edition-114.md

Lines changed: 104 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,118 @@ This edition covers what happened during the months of July 2024 and August 2024
8282
## Other News
8383

8484
__Various__
85-
85+
+ [GitLab now supports SHA256 repositories](https://about.gitlab.com/blog/2024/08/19/gitlab-now-supports-sha256-repositories/)
86+
by John Cai on GitLab Blog (in Bulletin Board category).
87+
+ [Forgejo v8.0 is available](https://forgejo.org/2024-07-release-v8-0/).
88+
+ [Forgejo](https://forgejo.org/) is a self-hosted lightweight software forge,
89+
written in Go; nowadays a hard fork of Gitea (which in turn was based on Gogs).
90+
It was mentioned in passing in [Git Rev News Edition #103](https://git.github.io/rev_news/2023/09/30/edition-103/),
91+
as one of forges working on implementing [ForgeFed](https://forgefed.org/)
92+
federation protocol for forge services.
8693

8794
__Light reading__
95+
+ [Different ways to use “--patch” in Git](https://tekin.co.uk/2024/08/the-many-uses-for-git-patch)
96+
by Tekin Süleyman on his blog. It describes selectively stashing changes,
97+
selectively discarding changes, and selectively restoring changes.
98+
This article expands on the
99+
"[interactively stage changes with --patch](https://tekin.co.uk/2017/03/git-tips-you-possibly-did-not-know-you-needed#3-interactively-stage-changes-with---patch)" advice
100+
in [Git Tips you (Possibly) Didn't Know You Needed](https://tekin.co.uk/2017/03/git-tips-you-possibly-did-not-know-you-needed).
101+
+ [Tracing the evolution of a Python function with git log](https://nerderati.com/tracing-the-evolution-of-a-python-function-with-git-log/)
102+
by Joël Perras on his Nerderati blog. It shows detailed example on using `git log -L`
103+
(and `diff=python` gitattribute) to diagnose a real-life bug that was ostensibly
104+
caused by an upgrade to Authlib.
105+
+ This technique is also described in the
106+
[See the History of a Method with `git log -L`](https://calebhearth.com/git-method-history) article,
107+
mentioned in [Git Rev News Edition #105](https://git.github.io/rev_news/2023/11/30/edition-105/).
108+
+ [Optimize your workflow with Git stash](https://developer.mozilla.org/en-US/blog/optimize-your-workflow-git-stash/)
109+
by Toon Claes (from GitLab) at MDN Blog.
110+
+ [Seriously, You Need to Learn Git](https://blog.derlin.ch/seriously-you-need-to-learn-git)
111+
by Lucy Linder on her blog (also available [on DEV\.to](https://dev.to/derlin/seriously-you-need-to-learn-git-1n8j)). The article defines various levels of Git knowledge,
112+
and explains how knowing Git might improve one's development process.
113+
+ [Back-dating Git commits based on file modification dates](https://til.simonwillison.net/git/backdate-git-commits)
114+
by Simon Willison in his [TILs on Git](https://til.simonwillison.net/git)
115+
(Today I’ve Learned).
116+
+ It was used by the author to create [1991-WWW-NeXT-Implementation](https://github.com/simonw/1991-WWW-NeXT-Implementation)
117+
repository out of [the archive](https://www.w3.org/History/1991-WWW-NeXT/Implementation/)
118+
of Tim Berner-Lee's original code for the WorldWideWeb application for NeXT.
119+
This endeavor was described in [1991-WWW-NeXT-Implementation on GitHub](https://simonwillison.net/2024/Aug/1/www-next-implementation-on-github/)
120+
short blog post.
121+
+ [Store Code Discussions in Git using Git Notes](https://wouterj.nl/2024/08/git-notes)
122+
by Wouter de Jong on his blog. The article includes some code (in PHP)
123+
that uses the GitHub API to fetch the pull request comments and store them
124+
in notes (under `github-comments` notes reference).
125+
+ [Attaching notes to git branches](https://dev.to/pinotattari/attaching-notes-to-git-branches-503k)
126+
by Riccardo Bernardini on DEV\.to. The article describes why this feature is useful,
127+
and how `git branch --edit-description` and `git notes` fall short; which led to
128+
creation of [git-branchnotes](https://gitlab.com/mockturtle/git-branchnotes) tool.
129+
+ [This developer tool is 40 years old: can it be improved?](https://stackoverflow.blog/2024/08/05/this-developer-tool-is-40-years-old-can-it-be-improved)
130+
by Bill Harding (CEO at GitClear) on StackOverflow Blog.
131+
The article describes how GitClear's "Commit Cruncher" diff algorithm works,
132+
which was created with the goal of making code reviews easier.
133+
Note that Myers diff algorithm (created by Eugene Myers in his
134+
[seminal work](http://www.xmailserver.org/diff2.pdf) in 1986)
135+
is not the only one available in [`git diff`](https://git-scm.com/docs/git-diff):
136+
there are also `minimal`, `patience` and `histogram` diff algoritms available
137+
(via the `--diff-algorithm` option);
138+
this was not stated in the article.
139+
+ [How Different Are Different diff Algorithms in Git?](https://cs.paperswithcode.com/paper/how-different-are-different-diff-algorithms):
140+
a paper with code by Yusuf Sulistyo Nugroho, Hideaki Hata, Kenichi Matsumoto
141+
from 2019.
142+
+ [Git Things: A grab bag of less frequently talked about git adjacent points](https://matklad.github.io/2023/12/31/git-things.html)
143+
by Alex Kladov (matklad) on his GitHub Pages-based blog, from 2023.
144+
+ [Unified Versus Split Diff](https://matklad.github.io/2023/10/23/unified-vs-split-diff.html):
145+
for code reviews (and what the author uses)
146+
by Alex Kladov (matklad) on his GitHub Pages-based blog, from 2023.
147+
+ [How Does Git Store Files?](https://blog.git-init.com/how-does-git-store-files/)
148+
— from a conceptual point of view. An article by by Alexis Määttä Vinkler
149+
on [The Pragmatic Git](https://blog.git-init.com/) blog, from 2023.
150+
151+
<!-- -->
152+
153+
+ [Code review antipatterns](https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/code-review-antipatterns/)
154+
for dark side developers, a joke article by Simon Tatham
155+
(don’t do things described in this article).
88156

89157
<!---
90158
__Easy watching__
91159
-->
92160

93161
__Git tools and sites__
94-
162+
+ [The Pragmatic Git](https://blog.git-init.com/) blog;
163+
note that some articles are paid members only. Powered by Ghost.
164+
+ [Carapace-bin](https://github.com/carapace-sh/carapace-bin) provides argument completion
165+
for multiple CLI commands ([full list](https://carapace-sh.github.io/carapace-bin/completers.html)
166+
includes Git, [git-extras](https://github.com/tj/git-extras), `gh` GitHub CLI, `glab` GitLab CLI,
167+
`tea` Gitea CLI, etc.), and works across multiple POSIX and non-POSIX shells.
168+
Details about complete support for Git can be found in issue [#99](https://github.com/carapace-sh/carapace-bin/issues/99).
169+
Written in Go, under MIT license.<br>
170+
Carapace-bin is a part of [Carapace](https://carapace.sh/) multi-shell completion library and binary.
171+
A high-level overview of carapace itself is available at <https://pixi.carapace.sh>.
172+
+ [git-random](https://git-random.olets.dev/): quickly build random-content Git
173+
graphs with a specified shape.
174+
It is a tool that can work as an aid for learning and experimenting with Git.
175+
Source code available [on GitHub](https://github.com/olets/git-random/).
176+
Written as single-file Bash script, under custom
177+
CC BY-NC-SA 4.0 license with Hippocratic License v3 ethical requirements.
178+
+ The author mentions that this tool was inspired by seeing Lorna Jane Mitchell
179+
use Matthew J. McCullough's [generaterandomchanges](https://github.com/matthewmccullough/scripts/blob/master/generaterandomchanges)
180+
in her talk _"[Advanced Git for Developers](https://www.youtube.com/watch?v=duqBHik7nRo)"_
181+
at Laracon EU 2015.
182+
+ [git-branchnotes](https://gitlab.com/mockturtle/git-branchnotes) is a command-line tool
183+
(that can be run as a git external command) that allows you to add notes to a branch and manage them.
184+
Written in Ruby.
185+
186+
+ [w2vgrep - Semantic Grep](https://github.com/arunsupe/semantic-grep)
187+
is a command-line tool, with the interface similar to that of `grep`,
188+
that performs semantic searches on text input using word embeddings (word2vec).
189+
It's designed to find semantically similar matches to the query,
190+
going beyond simple string matching. Supports multiple languages.
191+
Written in Go, uses MIT license.
192+
+ [Collective Code Construction Contract](https://rfc.zeromq.org/spec/42/) (C4)
193+
is an evolution of the github.com [Fork + Pull Model](https://help.github.com/articles/about-pull-requests/),
194+
aimed at providing an optimal collaboration model for free software projects.
195+
+ Compare with [Ship / Show / Ask: A modern branching strategy](https://martinfowler.com/articles/ship-show-ask.html) model,
196+
mentioned in [Git Rev News #79](https://git.github.io/rev_news/2021/09/30/edition-79/).
95197

96198
## Releases
97199

0 commit comments

Comments
 (0)