git-annex/standalone/linux/skel
Joey Hess 86e9e88530
add git-remote-p2p-annex
Added git-remote-p2p-annex, which allows git pull and push to P2P networks
provided by external commands.

This is a refactor of git-remote-tor-annex, and should just work. Except
possibly for quirks with the address parsing. I've checked that the address
parsing basically works.

One thing I don't understand is why git-remote-tor-annex removes "/*" from
the end of the address. The git history does not provide any hints. So I
didn't make git-remote-p2p-annex do the same. Maybe that is needed in some
situation? But, a P2P address could contain "/", so removing it would be a
problem. I can't see anything in gitremote-helpers(7) about why the url
might get such a thing added to the end of it. My guess is that is not
needed for tor either (but does no harm there since onion addresses never
contain "/").

At this point, the implementation of generic P2P transports needs only
remotedaemon support.
2025-07-30 15:25:56 -04:00
..
git Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
git-annex Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
git-annex-shell Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
git-annex-webapp Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
git-receive-pack Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
git-remote-annex add git-remote-annex to standalone builds 2024-05-28 13:12:51 -04:00
git-shell Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
git-upload-pack Revert "Unset IFS in shell scripts in the linux standalone build and OSX app." 2020-07-24 14:33:13 -04:00
README add git-remote-annex to standalone builds 2024-05-28 13:12:51 -04:00
runshell add git-remote-p2p-annex 2025-07-30 15:25:56 -04:00

You can put this directory into your PATH, or symlink the programs in this
directory to anyplace already in your PATH, and use git-annex the same
as if you'd installed it using a package manager.

Or, you can use the runshell script in this directory to start a shell
that is configured to use git-annex and the other utilities included in
this bundle.

This should work on any Linux system of the appropriate architecture.
More or less.


How it works: This directory tree contains a lot of libraries and programs
that git-annex needs. But it's not a chroot. Instead, runshell sets a lot
of environment variables to cause files from here to be used, and a shim
around the binaries arranges for them to be run with the libraries in here.

It shouldn't even be dependent on the host system's glibc libraries.
All that's needed is a kernel that supports the glibc included in this
bundle.