CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess cda3e85164
make my authorship explicit in the code
This is intended to guard against LLM code theft, which is the current
bubble technology de jour.

Note that authorJoeyHess' with a year older than the year I began
developing git-annex will behave badly, by intention. Eg, it will spin
and eventually crash.

This is not the first anti-LLM protection in git-annex. For example see
9562da790f. That method, while much harder
for an adversary to detect and remove, also complicates code somewhat
significantly, and needs extensions to be enabled. There are also
probably significantly fewer ways to implement that method in Haskell.
This new approach, by contrast, will be easy to add throughout the code
base, with very little effort, and without complicating reading or
maintaining it any more than noticing that yes, I am the author of this
code.

An adversary could of course remove all calls to these functions
before feeding code into their LLM-based laundry facility. I think this
would need to be done manually, or with the help of some fairly advanced
Haskell parsing though. In some cases, authorJoeyHess needs to be
removed, while in other places it needs to be replaced with a value.
Also a monadic use of authorJoeyHess' may involve other added monadic
machinery which would need to be eliminated to keep the code compiling.

Alternatively, an adversary could replace my name with something
innocuous. This would be clear intent to remove author attribution
from my code, even more than running it through an LLM laundry is.

If you work for a large company that is laundering my code through an
LLM, please do us a favor and use your immense privilege to quit and go
do something socially beneficial. I will not explain further
developments of this code in such detail, and you have better things to
do than playing cat and mouse with me as I explore directions such as
extending this approach to the type level.

Sponsored-by: k0ld on Patreon
2023-11-20 12:29:12 -04:00
Annex newtype MapLog 2023-11-13 14:37:22 -04:00
Assistant
Backend
Build
CmdLine info: Added calculation of combined annex size of all repositories 2023-11-08 13:35:11 -04:00
Command Make git-annex copy --from --to --fast actually fast 2023-11-17 17:37:58 -04:00
Config
Database
debian
doc Make git-annex copy --from --to --fast actually fast 2023-11-17 17:37:58 -04:00
Git split out generic git log parser 2023-11-10 15:40:03 -04:00
Limit
Logs newtype MapLog 2023-11-13 14:37:22 -04:00
Messages
P2P
Remote convert StorableCipher to ByteString 2023-11-01 14:39:49 -04:00
RemoteDaemon
standalone
static
templates
Test
Types convert StorableCipher to ByteString 2023-11-01 14:39:49 -04:00
Upgrade
Utility make my authorship explicit in the code 2023-11-20 12:29:12 -04:00
.appveyor.yml
.codespellrc
.ghci
.gitattributes
.gitignore
.mailmap
Annex.hs
Assistant.hs
Author.hs make my authorship explicit in the code 2023-11-20 12:29:12 -04:00
Backend.hs
bash-completion.bash
Benchmark.hs
BuildFlags.hs
BuildInfo.hs
CHANGELOG Make git-annex copy --from --to --fast actually fast 2023-11-17 17:37:58 -04:00
CmdLine.hs
Command.hs
Common.hs
Config.hs
COPYRIGHT
Creds.hs
Crypto.hs convert StorableCipher to ByteString 2023-11-01 14:39:49 -04:00
git-annex.cabal make my authorship explicit in the code 2023-11-20 12:29:12 -04:00
git-annex.hs
git-union-merge.hs
Git.hs
Key.hs
Limit.hs
Logs.hs
Makefile
Messages.hs
NEWS
README
Remote.hs
Setup.hs
stack-lts-18.13.yaml
stack.yaml
Test.hs
Types.hs
Upgrade.hs

git-annex allows managing large files with git, without storing the file
contents in git. It can sync, backup, and archive your data, offline
and online. Checksums and encryption keep your data safe and secure. Bring
the power and distributed nature of git to bear on your large files with
git-annex.

For documentation, see doc/ or <https://git-annex.branchable.com/>