Commit graph

22157 commits

Author SHA1 Message Date
Joey Hess
ae3f6705eb
pointer to a todo 2017-02-24 13:41:29 -04:00
Joey Hess
9de0767d0e
update 2017-02-24 12:31:23 -04:00
Joey Hess
6346704a04
clarify that annex.backends is used when adding new files
Even if annex.backends does not include a backend, that does not prevent
git-annex commands from acting on a file using the missing backend.

(There's really no reason at all for annex.backends to be a list.)
2017-02-24 11:53:59 -04:00
Joey Hess
8971949d60
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-24 11:33:57 -04:00
Joey Hess
35739a74c2
make file2key reject E* backend keys with a long extension
I am not happy that I had to put backend-specific code in file2key. But
it would be very difficult to avoid this layering violation.

Most of the time, when parsing a Key from a symlink target, git-annex
never looks up its Backend at all, so adding this check to a method of
the Backend object would not work.

The Key could be made to contain the appropriate
Backend, but since Backend is parameterized on an "a" that is fixed to
the Annex monad later, that would need Key to change to "Key a".

The only way to clean this up that I can see would be to have the Key
contain a LowlevelBackend, and put the validation in LowlevelBackend.
Perhaps later, but that would be an extensive change, so let's not do
it in this commit which may want to cherry-pick to backports.

This commit was sponsored by Ethan Aubin.
2017-02-24 11:22:15 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
4a7ae6f9c0 Added a comment 2017-02-24 13:00:10 +00:00
Joey Hess
63df8d8966
update 2017-02-24 02:14:36 -04:00
Joey Hess
44b9ac41a4
update 2017-02-24 01:21:54 -04:00
Joey Hess
4cad401629
updates 2017-02-24 00:28:15 -04:00
Joey Hess
969da82b5c
update 2017-02-24 00:21:58 -04:00
Joey Hess
60d99a80a6
Tighten key parser to not accept keys containing a non-numeric fields, which could be used to embed data useful for a SHA1 attack against git.
Also todo about why this is important, and with some further hardening to
add.

This commit was sponsored by Ignacio on Patreon.
2017-02-24 00:17:25 -04:00
Joey Hess
0dec2257f0
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-23 19:08:03 -04:00
Joey Hess
5a88cab005
add para 2017-02-23 19:06:06 -04:00
unicell@9c0b0afd4176d5933d4b5c41350ebe61488c1df0
342e256bc5 Added a comment 2017-02-23 23:05:10 +00:00
Joey Hess
9bee19ed38
slight correction 2017-02-23 17:11:46 -04:00
Joey Hess
aa8ab352f2
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-23 16:44:07 -04:00
Joey Hess
aae9e15a97
devblog 2017-02-23 16:43:15 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
9f9d7ae029 Added a comment 2017-02-22 16:48:04 +00:00
lhunath@3b4ff15f4600f3276d1776a490b734fca0f5c245
a9a15f63a4 2017-02-22 16:12:10 +00:00
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
581144a988 2017-02-22 04:23:29 +00:00
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
3c7b7ebf0c 2017-02-22 04:22:51 +00:00
db48x
283aca3dfb 2017-02-22 00:37:22 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
69f7b8af48 Added a comment 2017-02-21 06:20:35 +00:00
Joey Hess
75a15e1ad7
status: Pass --ignore-submodules=when option on to git status.
Didn't make --ignore-submodules without a value be handled because I can't
see a way to make optparse-applicative parse that. I've opened a bug
requesting a way to do that:
https://github.com/pcapriotti/optparse-applicative/issues/243
2017-02-20 17:01:24 -04:00
Joey Hess
a53daff32c
question 2017-02-20 16:14:43 -04:00
Joey Hess
7a0d6d81a0
make curl show http errors to stderr
* Run curl with -S, so HTTP errors are displayed, even when
  it's otherwise silent.
* When downloading in --json or --quiet mode, use curl in preference
  to wget, since curl is able to display only errors to stderr, unlike
  wget.

This does mean that downloadQuiet is only silent on stdout, not necessarily
on stderr, which affects a couple other calls of it. For example,
downloading the .git/config of a http remote may show an error message now,
perhaps with slightly suboptimal formatting due to other output.
2017-02-20 16:09:32 -04:00
Joey Hess
07de7c2c76
update 2017-02-20 15:44:43 -04:00
Joey Hess
302370d5c3
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-20 15:25:57 -04:00
Joey Hess
4a397b5313
Run wget with -nv instead of -q, so it will display HTTP errors.
This adds one extra line of output when a download is successful,
after the progress bar. I don't much like that, but wget does not provide a
way to show HTTP errors without it.
2017-02-20 15:25:02 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
2e2bc1895f removed 2017-02-20 19:07:55 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
15cf298271 Added a comment 2017-02-20 19:07:22 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
6728330b2c Added a comment 2017-02-20 19:06:58 +00:00
Joey Hess
3488679a81
comment 2017-02-20 14:49:03 -04:00
Joey Hess
221f62ea5e
comment 2017-02-20 14:37:59 -04:00
andrew
bfb38eecea Added a comment: the problem files 2017-02-20 18:11:03 +00:00
Joey Hess
a13c0ce66c
adjust: Fix behavior when used in a repository that contains submodules.
Also fixed the LsFiles parser to not assume its output has a fixed width
type field.
2017-02-20 13:44:55 -04:00
Joey Hess
5169f84f22
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-20 13:11:19 -04:00
Joey Hess
6e6a36fd5b
comment 2017-02-20 13:10:48 -04:00
Joey Hess
5d2e99a5ac
comment 2017-02-20 12:55:58 -04:00
Joey Hess
da207245f1
comment 2017-02-20 12:49:16 -04:00
Joey Hess
6ba8b557e8
remove
I've seen this thing, whatever it is, mentioned in spam links before,
so even if it's valid for some OS (probably not the one being asked
about), it's verboten here.
2017-02-20 12:24:15 -04:00
Joey Hess
d80cf5b9e9
comment 2017-02-20 12:23:22 -04:00
Joey Hess
c5cf5cf03a
git-annex.cabal: Make crypto-api a dependency even when built w/o webapp and test suite.
The p2p code made it always be needed.

This commit was sponsored by Anthony DeRobertis on Patreon.
2017-02-20 12:21:35 -04:00
Joey Hess
f31aadc7c2
comment 2017-02-20 12:17:09 -04:00
Joey Hess
74a942382d
comment 2017-02-20 12:07:20 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
76f4cde9cc 2017-02-20 08:12:10 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
27a40a97cd 2017-02-20 07:58:33 +00:00
openmedi
8c00d695aa Added a comment 2017-02-19 22:03:26 +00:00
m@2be305d83b52202ec4364229a836f463a6701336
2a9599c176 2017-02-19 19:03:24 +00:00
mhauru
f49066d9c6 2017-02-19 18:48:59 +00:00
openmedi
f339047be9 Added a comment 2017-02-19 15:27:08 +00:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
a1e43697b6 2017-02-18 16:28:45 +00:00
openmedi
66c822b489 2017-02-18 13:42:45 +00:00
openmedi
475773a06b 2017-02-18 13:41:57 +00:00
Joey Hess
32782ab324
linkify 2017-02-17 15:58:32 -04:00
Joey Hess
4bc1e03bb7
devblog 2017-02-17 15:56:38 -04:00
Joey Hess
a700fdf5cf
documentation updates for new receive.denyCurrentBranch=updateInstead support
This commit was sponsored by andrea rota.
2017-02-17 15:43:16 -04:00
Joey Hess
d074532aff
post-recive hook to make updateInstead work in direct mode and adjusted branches
* Added post-recieve hook, which makes updateInstead work with direct
  mode and adjusted branches.
* init: Set up the post-receive hook.

This commit was sponsored by Fernando Jimenez on Patreon.
2017-02-17 14:04:43 -04:00
Joey Hess
de4d50e9d0
thoughts 2017-02-17 12:57:55 -04:00
Joey Hess
f36d789eef
comment 2017-02-17 12:36:23 -04:00
Joey Hess
e93d4bfa85
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-17 12:31:47 -04:00
yarikoptic
7fa1329877 initial whining 2017-02-17 15:30:32 +00:00
lasitus
ccdb4bdfa1 Added a comment 2017-02-17 03:23:46 +00:00
yarikoptic
2f601791bf 2017-02-17 01:57:11 +00:00
binx
54ce959986 2017-02-17 00:01:12 +00:00
Joey Hess
a2b848aba2
cleanup 2017-02-16 16:00:18 -04:00
JohnKozak
fa244ac433 removed 2017-02-16 18:45:41 +00:00
JohnKozak
b15ad04f33 Added a comment 2017-02-16 18:44:36 +00:00
JohnKozak
9d563d6f4c remove crud from transcript 2017-02-16 17:59:54 +00:00
Joey Hess
d0651bb567
make query commands not output extraneous messages
config group groupwanted numcopies schedule wanted required:  Avoid
displaying extraneous messages about repository auto-init, git-annex branch
merging, etc, when being used to get information.
2017-02-16 13:24:35 -04:00
yarikoptic
baa2ab2c7d Added a comment 2017-02-16 15:54:18 +00:00
CandyAngel
bb262be6f0 Added a comment 2017-02-16 14:10:56 +00:00
JohnKozak
81d0eb3567 2017-02-16 13:56:30 +00:00
andy
b36e8e53c3 Added a comment 2017-02-16 06:34:50 +00:00
yarikoptic
9cdb0125c7 2017-02-16 03:49:46 +00:00
Joey Hess
de671658ee
devblog 2017-02-15 16:44:10 -04:00
Joey Hess
a73c8ce4a1
sync: Improve integration with receive.denyCurrentBranch=updateInstead
By displaying error messages from the remote then it fails to update
its checked out branch.

Error messages in the default receive.denyCurrentBranch are still
suppressed, which matches user expectations.

This commit was sponsored by Nick Daly on Patreon.
2017-02-15 16:13:30 -04:00
Joey Hess
f07af03018
Run ssh with -n whenever input is not being piped into it
... to avoid it consuming stdin that it shouldn't.

This fixes git-annex-checkpresentkey --batch remote, which didn't output
results for all keys passed into it.

Other git-annex commands that communicate with a remote over ssh may also
have been consuming stdin that they shouldn't have, which could have
impacted using them in eg, shell scripts. For example, a shell script
reading files from stdin and passing them to git annex drop would be
impacted by this bug, whenever git annex drop ran git-annex-shell
checkpresent, it would consume part/all of the stdin that the shell script
was supposed to consume.

Fixed by adding a ConsumeStdin parameter to Annex.Ssh.sshOptions, which
is used throughout git-annex to run ssh (in order for ssh connection
caching to work). Every call site was checked to see if it used
CreatePipe for stdin, and if not was marked NoConsumeStdin.
2017-02-15 15:08:46 -04:00
Joey Hess
a0222ea7eb
add the new armel-ancient build 2017-02-15 14:43:19 -04:00
lasitus
c8f87f1433 Added a comment 2017-02-15 16:01:39 +00:00
CandyAngel
aadd43e81c 2017-02-15 11:13:25 +00:00
lasitus
fb356bd39c Added a comment 2017-02-15 02:17:25 +00:00
lasitus
aec64ce496 removed 2017-02-15 02:14:05 +00:00
lasitus
5227da6d8a Added a comment 2017-02-15 02:13:25 +00:00
Joey Hess
9fe402187e
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-14 17:42:25 -04:00
Joey Hess
e8b9565b6f
thoughts 2017-02-14 17:39:37 -04:00
db48x
1f7b8373cc Added a comment 2017-02-14 21:10:13 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
f84a16f2fa Added a comment 2017-02-14 20:21:41 +00:00
lasitus
9d690a18bd Added a comment 2017-02-14 19:08:38 +00:00
Joey Hess
248f48f754
add news item for git-annex 6.20170214 2017-02-14 14:56:57 -04:00
Joey Hess
4e3f4f6e4e
comment 2017-02-14 14:54:53 -04:00
Joey Hess
2d4a24bc6b
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-14 14:49:23 -04:00
lasitus
2233a50f45 Added a comment 2017-02-14 18:46:22 +00:00
Joey Hess
3aecb1d059
response 2017-02-14 14:21:58 -04:00
http://xgm.de/oid/
61f362b4ff 2017-02-14 18:14:24 +00:00
http://xgm.de/oid/
6a711d4a1d Added a comment 2017-02-14 18:03:27 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
79e8d19850 removed 2017-02-14 00:05:09 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
6f31c717c2 Added a comment: Retrieving initremote parameters for new user 2017-02-14 00:04:50 +00:00
https://me.yahoo.com/a/80VlVB0Bx9TaNOXIj3OCQ8eimAtIOhqjUQ--#1e80e
3d786ebb4e Added a comment: Retrieving initremote parameters for new user 2017-02-14 00:03:35 +00:00
Joey Hess
7a06c91f7f
devblog 2017-02-13 17:42:03 -04:00
Joey Hess
3b22ad9f47
Work around sqlite's incorrect handling of umask when creating databases.
Refactored some common code into initDb.

This only deals with the problem when creating new databases. If a repo
got bad permissions into it, it's up to the user to deal with it.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2017-02-13 17:39:16 -04:00
Joey Hess
d2174915c0
response 2017-02-13 16:19:39 -04:00
Joey Hess
47a4b552c0
comment 2017-02-13 16:11:58 -04:00
Joey Hess
748ecc51d8
remove recent addition of receive.denyNonFastForwards to walkthrough
That is a dangerous setting, and not needed.

I tried the walkthrough as it was without it, and syncing in the USB
remote worked ok. There was a problem merging from origin/master, since
that branch didn't exist yet, but that didn't prevent sync from working
at all.

To avoid even that problem, reordered the walkthrough, so files get
committed to the repo before the remote gets set up.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2017-02-13 16:02:53 -04:00
Joey Hess
f431e1aec5
fix commit id 2017-02-13 15:55:32 -04:00
Joey Hess
f36adc2dbc
include problem PairData in error message
Users occasionally report this error firing, and I can't see why,
so include the rejected PairData in the error message.

This is safe even if it contains evil escape characters, because showing
it displays them in escaped form.

This commit was sponsored by Bruno BEAUFILS on Patreon.
2017-02-13 15:54:28 -04:00
Joey Hess
f36c230c78
comment 2017-02-13 15:39:46 -04:00
Joey Hess
b6cfb9a73a
comment 2017-02-13 14:54:13 -04:00
Joey Hess
952474dabc
comment 2017-02-13 14:43:31 -04:00
Joey Hess
6479bf7158
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-13 12:46:15 -04:00
lasitus
e4218c0369 2017-02-13 03:08:14 +00:00
Edward Betts
0750913136
correct spelling mistakes 2017-02-12 17:30:23 -04:00
http://xgm.de/oid/
7102a73db2 2017-02-12 16:28:03 +00:00
edward
398125b573 correct spelling mistake 2017-02-11 09:16:26 +00:00
edward
d90c51b014 correct spelling mistake 2017-02-11 09:14:27 +00:00
Joey Hess
5e6ced7d0f
Improve pid locking code to work on filesystems that don't support hard links.
Probing for hard link support in the pid locking code is redundant since
git-annex init already probes that. But, it didn't seem worth threading
that data through; the pid locking code runs at most once per git-annex
process, and only on unusual filesystems. Optimising a single hard link
and unlink isn't worth it.

This commit was sponsored by Francois Marier on Patreon.
2017-02-10 15:22:28 -04:00
Joey Hess
913b3b51e3
comment 2017-02-10 14:51:50 -04:00
Joey Hess
1f43ecdf0e
comment 2017-02-10 14:04:55 -04:00
Joey Hess
e2c98f5788
Added git template directory to Linux standalone tarball and OSX app bundle.
Git does not provide a switch to find out where this directory is, and
while the git-init man page says it will always be in
/usr/share/git-core/templates, that's not the case on OSX with git
installed from homebrew. So, I used a hack taking the --man-path and
constructing a path from that. Works on both Debian and OSX at least.
2017-02-10 13:55:54 -04:00
Joey Hess
45f884418f
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-10 13:51:53 -04:00
yarikoptic
938db690a8 2017-02-10 02:33:49 +00:00
yarikoptic
c4f1d00a70 Added a comment 2017-02-10 01:38:33 +00:00
Joey Hess
0e7cbadf25
close 2017-02-09 18:59:45 -04:00
Joey Hess
ba61229c77
update 2017-02-09 18:58:13 -04:00
victorsavu3@d059e0a74888923e70a555ce8ab75e8ba00b6eb7
72311753b3 Added a comment: RequestTimeoutException when uploading to glacier 2017-02-09 20:45:42 +00:00
Joey Hess
2e92648383
comment 2017-02-09 16:13:02 -04:00
Joey Hess
c1ece47ea0
import --reinject-duplicates
This is the same as running git annex reinject --known, followed by
git-annex import. The advantage to having it in one command is that it
only has to hash each file once; the two commands have to
hash the imported files a second time.

This commit was sponsored by Shane-o on Patreon.
2017-02-09 15:41:00 -04:00
benjamin.poldrack@d09ccff6d42dd20277610b59867cf7462927b8e3
16be7b5cc5 Added a comment 2017-02-09 09:05:34 +00:00
dharrison@27b3fc3aa4a83cdc03f8e82ab4a8d4f6455e603d
de77aa6965 New Bug Report 2017-02-08 01:42:30 +00:00
dharrison@27b3fc3aa4a83cdc03f8e82ab4a8d4f6455e603d
5b38458342 removed 2017-02-08 01:32:52 +00:00
dharrison@27b3fc3aa4a83cdc03f8e82ab4a8d4f6455e603d
76e48fcd82 Added a comment: MacOSX and Debian cannot decrypt eachother's S3 credentials 2017-02-08 01:26:09 +00:00
CandyAngel
278f9f0454 Added a comment 2017-02-07 22:51:15 +00:00
Joey Hess
30ab4ecc4b
response 2017-02-07 18:07:47 -04:00
Joey Hess
a8e64d4148
response 2017-02-07 17:23:41 -04:00
Joey Hess
2b4813bd16
clarify description of --skip-duplicates behavior 2017-02-07 16:39:29 -04:00
Joey Hess
539784a1f0
close as dup 2017-02-07 15:21:55 -04:00
Joey Hess
d644316c94
respond and close 2017-02-07 15:18:45 -04:00
Joey Hess
27e89aeffc
initremote: When a uuid= parameter is passed, use the specified UUID for the new special remote, instead of generating a UUID.
This can be useful in some situations, eg when the same data can be
accessed via two different special remote backends.
2017-02-07 15:10:41 -04:00
Joey Hess
7487b4da47
comment 2017-02-07 13:51:23 -04:00
Joey Hess
3439f3cc87
assistant: Make --autostart --foreground wait for the children it starts.
Before, the --foreground was ignored when autostarting.

This commit was sponsored by Denis Dzyubenko on Patreon.
2017-02-07 13:31:45 -04:00
Joey Hess
571eca4680
comment 2017-02-07 13:11:02 -04:00
Joey Hess
a89d98af6d
comment 2017-02-07 13:08:33 -04:00
Joey Hess
655f707990
Fix build with aws 0.16. Thanks, aristidb. 2017-02-07 13:01:57 -04:00
Joey Hess
5f873be329
comment 2017-02-07 12:56:13 -04:00
Joey Hess
fe6936e065
comment 2017-02-07 12:48:12 -04:00
Joey Hess
2e246cb5d6
comment 2017-02-07 12:38:31 -04:00
yarikoptic
2f2721c932 Added a comment 2017-02-06 20:46:29 +00:00
yarikoptic
f5f3eb0b31 initial whining 2017-02-06 19:25:47 +00:00
yarikoptic
54bae5df37 initial thoughts 2017-02-06 15:32:45 +00:00
yarikoptic
03658010c7 initial thoughts 2017-02-06 00:49:28 +00:00
http://xgm.de/oid/
840f3e3624 2017-02-05 18:17:08 +00:00
kristianrumberg@85de814abe9398ab5573b77bb8a7a80ceaf3b9e1
548ca3da6b Added a comment 2017-02-05 17:02:10 +00:00
trenta3
483c3f57aa Added feature request for local state variables in special remote protocol 2017-02-05 15:52:55 +00:00
aristidb@4551cc1215222a56e271a796b92908680f3941b5
411c5d6528 Added a comment 2017-02-05 12:49:22 +00:00
aristidb@4551cc1215222a56e271a796b92908680f3941b5
6d85d011d9 Added a comment 2017-02-05 12:29:27 +00:00
aristidb@4551cc1215222a56e271a796b92908680f3941b5
aaf4998462 2017-02-05 12:26:10 +00:00
ilovezfs
8cbcf4cfaa 2017-02-05 12:21:37 +00:00
http://xgm.de/oid/
727aaed630 2017-02-05 10:37:00 +00:00
http://xgm.de/oid/
4bd5daa277 2017-02-05 10:33:37 +00:00
CandyAngel
e075032068 Added a comment 2017-02-05 02:20:31 +00:00
Joey Hess
424c4c2911
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-04 13:01:50 -04:00
Joey Hess
ff1ba8fdc6
update 2017-02-04 13:01:20 -04:00
joshfindit
a2d8c4120f Added a comment 2017-02-04 16:24:32 +00:00
Joey Hess
a4d25a2611
devblog 2017-02-03 15:45:48 -04:00
Joey Hess
dbc0b032b8
comment 2017-02-03 15:43:34 -04:00
Joey Hess
3fe9d99f24
wormhole pairing appid flag day 2021-12-31
Wormhole pairing will start to provide an appid to wormhole on 2021-12-31.
An appid can't be provided now because Debian stable is going to ship a
older version of git-annex that does not provide an appid. Assumption is
that by 2021-12-31, this version of git-annex will be shipped in a Debian
stable release. If that turns out to not be the case, this change will need
to be cherry-picked into the git-annex in Debian stable, or its wormhole
pairing will break.

This commit was sponsored by Thomas Hochstein on Patreon.
2017-02-03 15:06:40 -04:00
Joey Hess
b5e6d23242
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-03 14:37:49 -04:00
Joey Hess
b77903af48
New annex.synccontent config setting
.. which can be set to true to make git annex sync default to --content.

This may become the default at some point in the future.

As well as being configuable by git config, it can be configured by
git-annex config to control the default behavior in all clones of a
repository.

Had to add a separate --no-content switch to we can tell if it's been
explicitly set, and should override annex.synccontent. If --content was the
default, this complication would not be necessary.

This commit was sponsored by Jake Vosloo on Patreon.
2017-02-03 14:31:17 -04:00
Joey Hess
ed56dba868
annex.autocommit can be configured via git-annex config
... to control the default behavior in all clones of a repository.

This includes a new Configurable data type, so the GitConfig type indicates
which values can be configured this way.

The implementation should be quite efficient; the config log is only read
once, and only when a Configurable value has not already been set by
git-config.

Indeed, it would be nice in the future to extend this, so that git-config
is itself only read on demand. Some commands may not need to look at the
git configuration at all.

This commit was sponsored by Trenton Cronholm on Patreon.
2017-02-03 13:58:53 -04:00
yarikoptic
14ed673aba initial whining 2017-02-03 15:10:41 +00:00
http://xgm.de/oid/
9f2e3e0729 2017-02-03 10:08:27 +00:00
http://schnouki.net/
a57c21a968 Added a comment 2017-02-02 22:05:23 +00:00
Joey Hess
d6d23d8a15
remove page for Homebrew-cask
I checked the git repo, and git-annex was removed from it, since it's
available in Homebrew. (Why did they add it originally then? Dunno..)
2017-02-02 16:39:47 -04:00
Joey Hess
3dfd78531a
response 2017-02-02 16:35:55 -04:00
Joey Hess
2d2f72abf0
add missing extra-deps 2017-02-02 14:24:06 -04:00
Joey Hess
66afc38366
Merge branch 'master' of ssh://git-annex.branchable.com 2017-02-02 14:18:45 -04:00
Joey Hess
1590007d6b
comment 2017-02-02 14:18:17 -04:00
Joey Hess
04687feb7e
update 2017-02-02 12:38:36 -04:00
hello@d445805275613da28bcccb402c444f2a63e7b7f9
6918f548e0 2017-02-02 08:13:56 +00:00
kristianrumberg@85de814abe9398ab5573b77bb8a7a80ceaf3b9e1
661dae3649 2017-02-02 03:50:00 +00:00
kristianrumberg@85de814abe9398ab5573b77bb8a7a80ceaf3b9e1
089fe40314 2017-02-02 03:49:03 +00:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
991c1b7945 Added a comment: Install via brew cask not working 2017-02-02 00:01:08 +00:00
5XwgD
4b0c37302a 2017-02-01 09:42:33 +00:00
Joey Hess
6ce92049bd
Merge branch 'master' of ssh://git-annex.branchable.com 2017-01-31 20:01:59 -04:00
Joey Hess
192dab049f
devblog 2017-01-31 19:58:43 -04:00
Joey Hess
ed60f60e9b
unused: Improved memory use significantly when there are a lot of differences between branches.
Argh, didn't need an accumulator here!

I think I use accumulators a lot more than I need to when recusively
processing lists..

This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-01-31 19:42:00 -04:00
mschiff
288a529d2a 2017-01-31 22:01:31 +00:00
mschiff
be899558f9 2017-01-31 22:00:58 +00:00
mschiff
3a6a96c1db 2017-01-31 21:58:54 +00:00
Joey Hess
dbaea98836
fix lack of laziness streaming large diffs
A commit last year that made a partial function use Maybe unfortunately
caused the whole input to need to be consumed, breaking streaming. So,
revert it.

This commit was sponsored by Nick Daly on Patreon.
2017-01-31 17:43:11 -04:00
butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96
ae84bfc9e5 Added a comment 2017-01-31 18:30:00 +00:00
Joey Hess
88e7d787e2
fix link 2017-01-31 13:25:37 -04:00
Joey Hess
8ee86a5cad
comment 2017-01-31 13:24:34 -04:00
Joey Hess
f0719897e0
Merge branch 'master' of ssh://git-annex.branchable.com 2017-01-31 13:11:54 -04:00
Joey Hess
ae2ff452a4
comment
This commit was sponsored by Brock Spratlen on Patreon.
2017-01-31 13:10:54 -04:00
Joey Hess
a1842d387b
comment
This commit was sponsored by Ole-Morten on Patreon.
2017-01-31 13:01:55 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
670f9a5116 2017-01-31 16:53:58 +00:00
Joey Hess
3fcfe2abd0
please answer questions 2017-01-31 12:53:55 -04:00
Joey Hess
b6556e50ad
response
This commit was sponsored by Andreas on Patreon.
2017-01-31 12:47:49 -04:00
Joey Hess
03bdb230b4
respond
This commit was sponsored by Bruno BEAUFILS on Patreon.
2017-01-31 12:41:09 -04:00
Joey Hess
cfe3d37dc3
fix formatting of comment 2017-01-31 12:32:03 -04:00
Joey Hess
5798013fb2
reproduced bug; started analysis
This commit was sponsored by Peter Hogg on Patreon.
2017-01-31 12:30:44 -04:00
Joey Hess
e5b733ba22
close 2017-01-31 11:25:38 -04:00
Joey Hess
a4192b5612
close old xmpp bug 2017-01-31 11:24:15 -04:00
alanz
ac45e758f4 spacing 2017-01-31 11:34:43 +00:00
alanz
e5adeba3ac Otherwise the USB remote cannot sync 2017-01-31 11:33:32 +00:00
Fabio
f8cb16b6a4 Added a comment 2017-01-30 22:26:46 +00:00
Joey Hess
eeb227aeb8
Merge branch 'master' of ssh://git-annex.branchable.com 2017-01-30 17:34:48 -04:00
Joey Hess
85b62fa798
devblog 2017-01-30 17:32:03 -04:00
Joey Hess
339464e847
config: New command for storing configuration in the git-annex branch.
Any config names can be set using this; git-annex commands will only look
at specific ones that make sense and are worth the overhead of querying the
branch.

This might also be useful for storing whatever other config-type stuff the
user might want to shove into the git-annex branch.

This commit was sponsored by Jochen Bartl on Patreon.
2017-01-30 16:46:38 -04:00
Joey Hess
26d23e38f1
vicfg: Include the numcopies configuation.
Docs say vicfg can configure everything from git-annex branch,
so it ought to configure numcopies.

Note that commenting out existing numcopies does not unset it.

This commit was sponsored by Thom May on Patreon.
2017-01-30 15:27:25 -04:00
Joey Hess
67ffb8bada
comment
This commit was sponsored by Denis Dzyubenko on Patreon.
2017-01-30 14:10:21 -04:00
https://anarc.at/openid/
aa24a7347b Added a comment: usability... 2017-01-30 18:06:22 +00:00
Joey Hess
546a5692c3
response
This commit was sponsored by Thomas Hochstein on Patreon.
2017-01-30 13:52:08 -04:00
Joey Hess
6689dfae11
comment 2017-01-30 13:32:28 -04:00
Joey Hess
809ddd9df8
reusing repository uuid cannot result in data loss AFAIK
Avoiding such problems is one reason why git-annex does active
verification of other copies of a file when dropping.

You could argue that reusing the uuid of a trusted repository leads to
data loss, but that data loss doesn't really involve reusing the uuid,
but instead is caused by deleting a trusted repository. Using trusted
repositories without a great deal of care is a good way to blow off your
foot, of which deleting them is only the most obvious;
added some sections about that.

If reusing a repository uuid could result in data loss then I'd be on
board with making reinit run a fast fsck to update the location log, but
since it can't, I feel that is not worth forcing. Not a bad idea to run
fsck afterwards. Updated language about that.

This commit was sponsored by Jake Vosloo on Patreon.
2017-01-30 13:18:50 -04:00
Joey Hess
280442ca2c
Remove -j short option for --json-progress; that option was already taken for --json.
This commit was sponsored by Trenton Cronholm.
2017-01-30 12:46:42 -04:00
Joey Hess
ab867a7af9
responses 2017-01-30 12:42:02 -04:00
thomas.l.clune@39f0ca5621ddc6cbe4550be3ca9a22ec70edc9a6
75d7177b01 Added a comment: git-annex - many filesystems 2017-01-30 14:24:11 +00:00
Apichat
a603c6ed0b Added a comment: OMEMO to encrypt content end to end 2017-01-28 11:05:29 +00:00
Edward Betts
93cbed539f fix typo 2017-01-27 18:18:09 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
b17cdc8fb2 report on initial findings 2017-01-27 14:45:32 +00:00
konubinix
d256907889 Added a comment: Same here 2017-01-26 11:20:32 +00:00
konubinix
87ce119f2f Added a comment: Same here 2017-01-26 11:20:12 +00:00
konubinix
9046a54841 Added a comment: Same here 2017-01-26 11:19:51 +00:00
konubinix
60ac371fd0 Added a comment: Same here 2017-01-26 11:19:24 +00:00
konubinix
f1ad964ad8 Added a comment: Same here 2017-01-26 11:19:02 +00:00
jaylangseth@fa84aeedaf6dd96a51e93b012339ac09fb4dc135
b957509c39 2017-01-24 18:38:22 +00:00
git-annex@31849d241f10c295b30a9707352ae5c7d743adb7
6ce01ca9e5 2017-01-24 17:15:32 +00:00
Edward Betts
bc58a9402b fix typo 2017-01-24 10:43:33 +00:00
andrew
a0d938d372 Added a comment: RESOLVED / deleted all files then re-added as zip 2017-01-23 02:28:24 +00:00
andrew
4c0de0feab 2017-01-22 18:07:51 +00:00
andrew
7b3b241718 2017-01-22 17:56:07 +00:00
florian-git-annex@90936f45daa5a57ed4b867f7ebc35e23acad1a08
fab38840de formating 2017-01-22 11:51:03 +00:00
florian-git-annex@90936f45daa5a57ed4b867f7ebc35e23acad1a08
bd1afb1ba3 bug: Errors on Android: referenceTable GDEF length=778, referenceTable GSUB length=6388, referenceTable GPOS length=76868 2017-01-22 11:49:36 +00:00
jesrui@51c25da8d6f34e6df8e3e7ed0277335ed7ddf6a6
847d8ed923 Added a comment 2017-01-21 15:08:20 +00:00
andrew
7c084fe95b Added a comment: updates sync vs copy? 2017-01-21 14:56:26 +00:00
sameer@d9beaa99579e465dc21f3679fa4dbc9704049e12
47637ce2bb 2017-01-21 08:08:37 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
a518ac7c2b 2017-01-20 15:05:23 +00:00
pa.aronsson@1f04cce52a3649f5485c62c1f97bf157b1d3ba56
b34e135580 removed 2017-01-20 10:14:41 +00:00
pa.aronsson@1f04cce52a3649f5485c62c1f97bf157b1d3ba56
7547a8a745 Added a comment: Isn't the ending "." in the host name the problem? 2017-01-20 09:53:56 +00:00
https://christian.amsuess.com/chrysn
a33cfd0488 add wishlist item 2017-01-20 09:49:23 +00:00
jaylangseth@fa84aeedaf6dd96a51e93b012339ac09fb4dc135
b5a62cc2c0 Added a comment 2017-01-18 21:11:15 +00:00
jaylangseth@fa84aeedaf6dd96a51e93b012339ac09fb4dc135
8a982427d5 2017-01-18 21:07:14 +00:00
butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96
ff0a51c032 Added a comment 2017-01-18 16:52:21 +00:00
echormonov@08188ea9b34fd6d3102f52a364ed64e531badbfb
85c6198ec6 removed 2017-01-18 16:42:13 +00:00
butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96
853b3e31b1 Added a comment 2017-01-18 13:35:18 +00:00
butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96
8246abc579 Added a comment 2017-01-18 13:21:45 +00:00
butirsky@86ff3803c45a8a1e5fc253d2728ce493c8addf96
0ce2b0e09b Added a comment 2017-01-18 13:19:44 +00:00
justin@561b4852d5c1d8db31dc571612954bde7bb325a1
9119b52e71 Fixes ToC 2017-01-17 19:49:18 +00:00