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 9eaabf0382 webapp: avoid overwriting remote configs when enabling it
Avoid stomping on existing group and preferred content settings
when enabling or combining with an already existing remote.

Two level fix. First, use defaultStandardGroup rather than
setStandardGroup, so if there is an existing configuration in the git-annex
branch, it's not overwritten.

To handle pre-existing ssh remotes (including gcrypt), a second level is
needed, because before syncing with the remote, it's configuration won't be
available locally. (And syncing could take a long time.) So, in this case,
keep track of whether the remote is being created or enabled, and only set
configs when creating it.

This commit was sponsored by Anders Lannerback.
2014-05-30 14:03:04 -04:00
Annex webapp: When adding a new local repository, fix bug that caused its group and preferred content to be set in the current repository, even when not combining. 2014-05-29 20:17:05 -04:00
Assistant webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
Backend
Build better heuristic for what is a package-qualified symbol 2014-05-27 20:12:16 -04:00
CmdLine
Command webapp: More robust startup when annex directory is not a git repo or not intialized by git-annex. 2014-05-21 15:41:54 -04:00
Common
Config
debian webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
doc webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
Git
Limit
Logs webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
Messages
Remote fix dodgy use of Char8 2014-05-27 20:31:25 -04:00
RemoteDaemon
standalone comment back out library removal line 2014-05-29 14:13:41 -04:00
static remove newlines from static js and css 2014-05-28 18:21:01 -04:00
templates
Types
Upgrade
Utility lazy bytestring fromStrict is not available in stable; use fromChunks instead 2014-05-29 20:25:01 -04:00
.ghci
.gitattributes
.gitignore
.mailmap
Annex.hs allow building with old versions of exceptions before MonadMask was split out 2014-05-28 17:48:49 -04:00
Assistant.hs
Backend.hs
build.bat
BuildFlags.hs
CHANGELOG
Checks.hs
CmdLine.hs
Command.hs
Common.hs
Config.hs
configure.hs
COPYRIGHT
Creds.hs
Crypto.hs
ghci
git-annex.cabal prep release 2014-05-29 14:42:52 -04:00
git-annex.hs
git-union-merge.hs
Git.hs
INSTALL
Limit.hs
Locations.hs
Logs.hs
Makefile proper fix for "foo"# -- need MagicHash extension 2014-05-25 23:27:48 -04:00
Messages.hs
NEWS
README
Remote.hs
Setup.hs
Test.hs
Types.hs
Upgrade.hs

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 <http://git-annex.branchable.com/>