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 42842ea0ea
runshell: Use system locales when built with GIT_ANNEX_PACKAGE_INSTALL set
This is to work around https://github.com/datalad/datalad/issues/2769
which I don't know how to reproduce outside that environment, nor do I
understand the root cause of. For some time, Neurodebian has been working
around it by building its standalone debs with a patch that disables use
of the locales bundled with the standalone build, letting the system
locales be used.

Using the system locales is asking for trouble if there's
significant version skew between the system and bundled glibc, and
possibly also if the architeciture is different, or whatever. That's why
git-annex bundles and uses its own locales, because numerous users
reported real problems with using the system locales.

... However, in the specific case of the Neurodebian standalone debs,
the deb is built on a system very like the one it's targeted to be
installed on. Or well, so they assure me, although doc/install/Ubuntu.mdwn
also promotes those for use across all versions of Ubuntu, and the deb
is built avoiding xz so it will work with old versions of dpkg, so I wonder
how true it is. It does seem that, at least currently, there is no bad
version skew in the locales of the systems the deb is used on, since
it's already been using the system locales for some time.

Anyway, since the Neurodebian build already is setting
GIT_ANNEX_PACKAGE_INSTALL=1 in runshell, I made runshell use system
locales when that's set. This is a small scope creep for
GIT_ANNEX_PACKAGE_INSTALL, but it's not documented and AFAIK only used
for the Neurodebian build, so that seems ok. This will let them stop
carrying their patch for this forward.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-10-13 15:04:10 -04:00
Annex removed the old Android app 2018-10-13 01:41:11 -04:00
Assistant removed the old Android app 2018-10-13 01:41:11 -04:00
Backend annex.maxextensionlength 2018-09-24 12:10:18 -04:00
Build remove old android app autobuild 2018-10-13 12:13:13 -04:00
CmdLine removed the old Android app 2018-10-13 01:41:11 -04:00
Command removed the old Android app 2018-10-13 01:41:11 -04:00
Config fix syntax 2018-08-29 09:20:25 -04:00
Database Fix potential crash in exporttree database due to failure to honor uniqueness constraint 2018-10-09 16:56:33 -04:00
debian BF: refreshed debian/patches/standalone-build for addition of netbase 2018-09-19 15:28:59 -04:00
doc move more 2018-10-13 12:55:47 -04:00
Git removed the old Android app 2018-10-13 01:41:11 -04:00
Limit AssociatedFile newtype 2017-03-10 13:35:31 -04:00
Logs clean up url removal presence update 2018-10-04 17:35:49 -04:00
Messages removed the old Android app 2018-10-13 01:41:11 -04:00
P2P clean P2P protocol shutdown on EOF try 2 2018-09-25 16:49:59 -04:00
Remote centralized "yes"/"no" parsing 2018-10-10 11:14:27 -04:00
RemoteDaemon clean P2P protocol shutdown on EOF try 2 2018-09-25 16:49:59 -04:00
standalone runshell: Use system locales when built with GIT_ANNEX_PACKAGE_INSTALL set 2018-10-13 15:04:10 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates removed the old Android app 2018-10-13 01:41:11 -04:00
Test Split Test.hs and avoid optimising it much, to need less memory to compile. 2018-02-18 11:48:48 -04:00
Types removed the old Android app 2018-10-13 01:41:11 -04:00
Upgrade run git status before enabling clean filter 2018-08-28 10:36:22 -04:00
Utility removed the old Android app 2018-10-13 01:41:11 -04:00
.ghci workaround for ghci fragility in reusing objects compiled with ghc 2012-10-20 16:20:42 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore removed the old Android app 2018-10-13 01:41:11 -04:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs fix git command queue to be concurrency safe 2018-08-28 13:16:33 -04:00
Assistant.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Backend.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
bash-completion.bash update from optparse-applicative output 2017-06-09 11:30:24 -04:00
build.bat let build.bat also be run from cygwin terminal 2015-04-21 14:12:14 -04:00
BuildFlags.hs removed the old Android app 2018-10-13 01:41:11 -04:00
BuildInfo.hs Make Build/BuildVersion update embedded version number 2018-06-26 10:36:54 -04:00
CHANGELOG runshell: Use system locales when built with GIT_ANNEX_PACKAGE_INSTALL set 2018-10-13 15:04:10 -04:00
CmdLine.hs Make --json and --quiet suppress automatic init messages 2016-09-05 15:34:38 -04:00
Command.hs add --json-error-messages (not yet implemented) 2018-02-19 14:32:15 -04:00
Common.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Config.hs centralized "yes"/"no" parsing 2018-10-10 11:14:27 -04:00
COPYRIGHT removed the old Android app 2018-10-13 01:41:11 -04:00
Creds.hs finish git-annex enable-tor 2016-11-29 17:30:27 -04:00
Crypto.hs add KeyVariety type 2017-02-24 15:16:56 -04:00
ghci avoid tab warnings from ghc 8 2016-11-17 13:39:30 -04:00
git-annex.cabal removed the old Android app 2018-10-13 01:41:11 -04:00
git-annex.hs windows build fix 2018-01-09 11:51:17 -04:00
git-union-merge.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
Git.hs Propigate GIT_DIR and GIT_WORK_TREE environment to external special remotes. 2016-05-06 12:26:44 -04:00
Jenkinsfile Revert "debugging strange old version of git-annex in windows installer bundle" 2017-10-26 11:32:04 -04:00
Key.hs Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale 2018-04-16 16:21:21 -04:00
Limit.hs Added --accessedwithin matching option. 2018-08-01 15:34:03 -04:00
Logs.hs dropdead per-remote metadata 2018-09-05 13:52:46 -04:00
Makefile removed the old Android app 2018-10-13 01:41:11 -04:00
Messages.hs Added INFO to external special remote protocol. 2018-02-06 13:03:55 -04:00
NEWS update version 2018-06-21 14:56:04 -04:00
README use https 2014-11-06 14:20:10 -04:00
Remote.hs cache remotes via annex-speculate-present 2018-08-01 14:28:05 -04:00
Setup.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
stack-windows.yaml git-annex.cabal: Fix network version. 2018-07-01 13:07:24 -04:00
stack.yaml removed the old Android app 2018-10-13 01:41:11 -04:00
Test.hs limit url downloads to whitelisted schemes 2018-06-16 11:57:50 -04:00
Types.hs better dup key with -J fix 2017-10-17 18:48:53 -04:00
Upgrade.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

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