Commit graph

1093 commits

Author SHA1 Message Date
yarikoptic
7d74517717 Added a comment: is it "safe" to tune? 2018-08-02 13:53:04 +00:00
yarikoptic
7281099574 Added a comment: is not going from cache with parallel get e.g. -J 2 2018-08-02 13:33:09 +00:00
Joey Hess
5b1c1b1490
Merge branch 'master' of ssh://git-annex.branchable.com 2018-08-01 15:34:53 -04:00
Joey Hess
6e6c9cc6d3
Added --accessedwithin matching option.
Useful for dropping old objects from cache repositories.

But also, quite a genrally useful thing to have..

Rather than imitiating find's -atime and other options, all of which are
pretty horrible to use, I made this match files accessed within a time
period, using the same duration format used by git-annex schedule and
--limit-time

In passing, changed the --limit-time option parser to parse the
duration, instead of having it later throw an error.

This commit was supported by the NSF-funded DataLad project.
2018-08-01 15:34:03 -04:00
Joey Hess
fd5a392006
cache remotes via annex-speculate-present
Added remote.name.annex-speculate-present config that can be used to
make cache remotes.

Implemented it in Remote.keyPossibilities, which is used by the
get/move/copy/mirror commands, and nothing else. This way, things like
whereis will not show content that's speculatively present.

The assistant and sync --content were not using Remote.keyPossibilities,
and were changed to use it.

The efficiency hit should be small; Remote.keyPossibilities is only
used before transferring a file, which is the expensive operation.
And, it's only doing one lookup of the remoteList and a very cheap
filter over it.

Note that, git-annex still updates the location log when copying content
to a remote with annex-speculate-present set. In this case, the location
tracking will indicate that content is present in the remote. This may
not be wanted for caches, or may not be a real problem for them. TBD.

This commit was supported by the NSF-funded DataLad project.
2018-08-01 14:28:05 -04:00
msloco@dab095e2e54192078b3eedcd000f7d838a169f5b
2ca412754a Added a comment: samee here 2018-07-31 22:21:48 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
46e86cc5b0 Added a comment: still broken on aarch64 2018-07-29 08:48:22 +00:00
Joey Hess
081f8e57c6
Support working trees set up by git-worktree.
Support working trees set up by git-worktree, by setting up some symlinks
such that git-annex links work right.

Also improved support for repositories created with --separate-git-dir.
At least recent git makes a .git file for those (older may have used a
symlink?), so that also needs to be converted to a symlink.

This commit was sponsored by Nick Piper on Patreon.
2018-07-18 14:27:26 -04:00
Joey Hess
49cc94f61f
add docs about p2p --pair being broken in old versions 2018-07-05 11:52:52 -04:00
Joey Hess
096f2261a7
added an example transcript 2018-07-04 15:26:07 -04:00
Joey Hess
ba0745b5c2
S3: fix documentation of publicurl
5f0f063a7a documented it as being
configured automatically, but the code never did that. Rather than try
to hard-code whatever urls amazon  uses for its buckets, it seems better
to ask the user to find the url and set it.
2018-07-02 12:30:39 -04:00
Joey Hess
4f3b9db725
Merge branch 'master' of ssh://git-annex.branchable.com 2018-06-26 11:09:50 -04:00
CandyAngel
b356b2405c Added a comment 2018-06-26 10:38:21 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
5162395494 Added a comment: Not working on OnePlus 5T either 2018-06-26 10:32:09 +00:00
Joey Hess
3160cadba3 git-annex version 6.20180626
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKKUAw1IH6rcvbA8l2xLbD/BfjzgFAlstCaQACgkQ2xLbD/Bf
 jzh5nxAAn7D9soTI0ex6AVDDo2CjOyTTDVrIcl2h5XizfuUD3ev5P0TR3BZmzpAb
 MI6uaZ8kxqZ/eGAsBTyH9PsV7QVYIdht9t89ytP4xWyTQiOgjyJeA6PnJl4zVK9z
 Y8Of3mlylaz+97+sndljpsvy/KHENrHI7HHd+qxAu7wKysJxG6fJB7CjremkjaCI
 zAwg3mIy72ZKyuR/8hL9puJN9fdfw1ulkzQR+he007e/HkurPCwgRAOYW/Aa2tpY
 Oigdb9a6/0nl/VnOS8ZyHrSPRrhLH9c4IBmsdC1Xt5NDVmID/sWgD9uPF9dsHSMF
 OM25QdSlJ5cSNg+/XCpmmhC9MjgKkuVNpZ/fWBaHFs6KYgGhtZcAayQdz5AmMS2N
 HTPWB1IxZiV5TQHQpLbdH/q3RfNtRq1G1tc24zpd/zdhzijeTM6D8n4No6LXNq8X
 7U0qcrp9TdLOpBCTf6Jrg/7qFaXddHoEW1e3KrsOmB0hlYHuNxfY4bs0+ROeXGOT
 00koezcbF8kEI0ekoDvJjtVqaUq+608YjJZ5v7dE0vbtTj0KGbl5EHwC9atUluCX
 MHyTDY89uq68g4HIDytL001ZLvE3EUGJc4jh3+OMDzuZSKB5uwJIIky+qIaQu34K
 QJrZuyAIY0sVFV6LUX9nwqTW6Nnx/bB+kZ6k0+gx+Lpf7pUpE+o=
 =kex4
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEKKUAw1IH6rcvbA8l2xLbD/BfjzgFAlsxnX4ACgkQ2xLbD/Bf
 jzjK1xAAnJ58ZxLyTYlCZRcKiR81UHS/Mk6+SDAjRIRbT0SsY+6gSP55XKjrcuOb
 Jatp+6cNNSgk2lBpn37mq+rYIqboFh9moDRK7JSh1mDHCVtIwdARGblFRfuwaWPi
 xHnu+Pj43+SP7OF+8qP8/kDM+js3iMS+0gvBBz8pQN/yJDROXii6u0eONOd7vbER
 iRY9QpJdj5lp3hjaWfXt5iJC0re0eOAY4eUSHPsFIASysShnn33dFPOZ2hbhRKjR
 unQHUVIUE+ehmW3w9qIqn+9v2kca7laGK11cvzYRpmu/9rrvpf+RF1h42S8822dP
 CKHvxDkBGbyqTA+F9/6zpU1i9/ARgHFDpScRcdq7ZJi9FbWabKDklHCsgxwrkdXb
 +FXgb7N5Sa4+eVDNUf4rxldtLPX53nrtZ3IqrGiCWApCvbysNyP5kE0nix02l9z2
 xzY2vlpicx7TOMoO9mZesSFNgRzuFAbbya/zDJrz+xfgSRYXRYg58yTpmhpTFvSI
 h3Fw6+MYvehvRdAweLtoQt2p/UV2MAWrTpNzFoqgf2OCQOiH97ACDHn8Yki9rnQi
 NuMsqv9WOYQs4SaygDZMKemgAxftf3uaXiBW0RzHHwwWnDjHhqsEioOvOhNNyZbz
 U3OjKrH1JZlkNHlIBQD4BsWGLlIct66ZTU3k2OxPEp+mpEG/Xi4=
 =p+cW
 -----END PGP SIGNATURE-----

Merge tag '6.20180626' - previously embargoed security release
2018-06-25 21:56:43 -04:00
bqone@ea19c1433d6c23d05a56fe7b055d92010ab75ffb
89a2c1b220 Added a comment: Not working on OnePlus 6 2018-06-25 15:57:13 +00:00
jared@ce91556d9548d318ec3f690b5f9bc33721256e4d
5f64260ce3 Added a comment: Unable to access public s3 remote without S3 credentials. 2018-06-21 13:47:27 +00:00
anarcat
d889d9666d hashdeep integration 2018-06-18 12:45:32 +00:00
Joey Hess
e62c4543c3
default to not using youtube-dl, for security
Pity, but same reasoning as curl applies to it.

This commit was sponsored by Peter on Patreon.
2018-06-17 14:51:02 -04:00
Joey Hess
28720c795f
limit url downloads to whitelisted schemes
Security fix! Allowing any schemes, particularly file: and
possibly others like scp: allowed file exfiltration by anyone who had
write access to the git repository, since they could add an annexed file
using such an url, or using an url that redirected to such an url,
and wait for the victim to get it into their repository and send them a copy.

* Added annex.security.allowed-url-schemes setting, which defaults
  to only allowing http and https URLs. Note especially that file:/
  is no longer enabled by default.

* Removed annex.web-download-command, since its interface does not allow
  supporting annex.security.allowed-url-schemes across redirects.
  If you used this setting, you may want to instead use annex.web-options
  to pass options to curl.

With annex.web-download-command removed, nearly all url accesses in
git-annex are made via Utility.Url via http-client or curl. http-client
only supports http and https, so no problem there.
(Disabling one and not the other is not implemented.)

Used curl --proto to limit the allowed url schemes.

Note that this will cause git annex fsck --from web to mark files using
a disallowed url scheme as not being present in the web. That seems
acceptable; fsck --from web also does that when a web server is not available.

youtube-dl already disabled file: itself (probably for similar
reasons). The scheme check was also added to youtube-dl urls for
completeness, although that check won't catch any redirects it might
follow. But youtube-dl goes off and does its own thing with other
protocols anyway, so that's fine.

Special remotes that support other domain-specific url schemes are not
affected by this change. In the bittorrent remote, aria2c can still
download magnet: links. The download of the .torrent file is
otherwise now limited by annex.security.allowed-url-schemes.

This does not address any external special remotes that might download
an url themselves. Current thinking is all external special remotes will
need to be audited for this problem, although many of them will use
http libraries that only support http and not curl's menagarie.

The related problem of accessing private localhost and LAN urls is not
addressed by this commit.

This commit was sponsored by Brett Eisenberg on Patreon.
2018-06-16 11:57:50 -04:00
madapeedikakkaran@2c5c8bb4520ebf2526afb49c8dcbcb60fb295973
80917c2958 Added a comment: Termux Error 2018-06-12 11:54:02 +00:00
https://christian.amsuess.com/chrysn
357680620f Added a comment: Platform addendum for "Debugging "No such file or directory"" 2018-05-15 20:29:57 +00:00
https://christian.amsuess.com/chrysn
2b087634ef Added a comment: Debugging "No such file or directory" 2018-05-15 19:57:34 +00:00
https://christian.amsuess.com/chrysn
bbbc1802cd Added a comment: Debugging "No such file or directory" 2018-05-15 19:19:38 +00:00
CandyAngel
6c91ebc2c2 Added a comment 2018-05-15 16:15:32 +00:00
Joey Hess
d39457035b
response 2018-05-15 11:56:45 -04:00
CandyAngel
c467ac1775 Added a comment 2018-05-10 10:23:49 +00:00
Joey Hess
e8ffa8d54b
link to release build 2018-05-09 16:46:17 -04:00
Joey Hess
71f450f677
use proot to support Android 8
runshell: Use proot when running on Android, to work around Android 8's
ill-advised seccomp filtering of system calls, including ones crucial for
reliable thread locking. (This will only work with termux's version of
proot.)

See https://github.com/termux/termux-packages/issues/420#issuecomment-386636938

This commit was sponsored by andrea rota.
2018-05-08 13:55:10 -04:00
Joey Hess
c0b5ada848
response 2018-04-30 16:07:47 -04:00
Joey Hess
07ba2b0b56
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-30 16:06:01 -04:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
3d59fc4252 Added a comment: Bad system call fix 2018-04-30 15:01:09 +00:00
Joey Hess
0cc401dd94
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-27 18:55:03 -04:00
davicastro
bf6c6fa30c Added a comment: Where does gitolite stores the annex objects contents? 2018-04-27 21:06:42 +00:00
Joey Hess
ca8833b8e1
response 2018-04-27 13:13:50 -04:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
8b297e8008 Added a comment: Bad system call 2018-04-26 19:36:45 +00:00
Joey Hess
abbe5fb516
add coreutils to pkg list for ionice 2018-04-25 15:43:20 -04:00
Joey Hess
de491ad20f
Termux:Boot integration
Assistant: Integrate with Termux:Boot, so when it's installed, the
assistant is autostarted on boot.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2018-04-25 15:31:25 -04:00
Joey Hess
aa652a4933
link to daily arm autobuild for now 2018-04-25 13:52:12 -04:00
Joey Hess
118ed8f92b
runshell: hacks for termux; add tip
Added some tweaks to make git-annex work in termux on Android. The regular
arm standalone tarball now works in termux.

I guess the test for "$base/bin/git" is not really necessary, since it
tests for git-annex. Since that gets deleted on android, removed that test.

These are pretty hackish hacks, especially adding it to PATH. The goal is
to make it work well enough out of the box on Android.

This commit was sponsored by Eric Drechsel on Patreon.
2018-04-25 13:48:37 -04:00
edward@6e8aa3b16ceac4d960301e049af99698fea47eea
491c3aa4ab Revert my change, not a typo. 2018-04-11 13:47:42 +00:00
edward@6e8aa3b16ceac4d960301e049af99698fea47eea
729436c3ce fix typo 2018-04-11 13:46:08 +00:00
itn@23fdfea9e5c13d8bb24e4cbde30d2a98293154c1
1afd507600 Added a comment: Cloning and syncing leads to confusing "gcrypt: Failed to decrypt manifest!" errors. 2018-04-08 00:50:15 +00:00
svw
f96de42138 2018-04-06 06:51:36 +00:00
Joey Hess
e32d2624ce
response 2018-03-21 15:58:27 -04:00
Joey Hess
f709a7ab00
add pointer to newer special remote 2018-03-21 15:53:34 -04:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
336569a995 Added a comment: Youtube-dl options per file? 2018-03-08 18:47:57 +00:00
davicastro
2a67c125e1 Added a comment: Adopting "git annex add" as default command in workflow 2018-03-08 11:21:55 +00:00
andrew
08abdbd38c 2018-03-07 23:17:54 +00:00
Joey Hess
b1c0e44c33
remove spam
This is how you get banned, get your IP block banned.
2018-02-27 11:27:19 -04:00
marjor
940f324f85 removed 2018-02-27 10:07:54 +00:00
marjor
d72281df79 Added a comment 2018-02-27 10:07:32 +00:00
marjor
3a83e73e9f 2018-02-27 10:05:32 +00:00
Joey Hess
42f154bd7e
Fix metadata hook script to support non-ascii characters
tips/automatically_adding_metadata/pre-commit-annex: Fix to not silently
skip filenames containing non-ascii characters.

git diff-index defaults to munging non-ascii characters. Using -z makes
it not do that, and then we just change the nulls to newlines.

This commit was sponsored by Jochen Bartl on Patreon.
2018-02-26 12:58:37 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
c0a5663f7e removed 2018-01-17 18:50:50 +00:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
a9f76e0267 Added a comment: vimeo 2018-01-17 18:22:43 +00:00
Joey Hess
cce732ad83
document youtube channels, not playlists
The feeds for playlists seem pretty broken, since they have the oldest
items first and are truncated, so after a few dozen items, new items
never appear on them. Channel feeds don't currently have this breakage
(although perhaps Google will find a way to break them eventually..)
2018-01-04 13:44:05 -04:00
Joey Hess
6b45e1d5c2
followup 2017-12-11 14:27:33 -04:00
woffs
d141b9cdeb Added a comment: hook and quoting 2017-12-09 11:18:10 +00:00
Joey Hess
d6d8f72957
documentation update for youtube-dl
Code not updated yet.

This commit was sponsored by Thomas Hochstein on Patreon.
2017-11-28 14:05:58 -04:00
Joey Hess
8f41a1b7ce
update youtube playlist docs 2017-11-28 13:30:05 -04:00
spam@9590d16798fd27f4e38472862e296fc9828e3d39
c758a63ab3 Added a comment: remote "origin" missing some gcrypt commands? 2017-11-11 19:51:57 +00:00
Lykos153
b0634d2151 Added a comment 2017-11-09 17:35:14 +00:00
Joey Hess
8ae5f278dc
reorder 2017-11-09 12:16:52 -04:00
Joey Hess
0f40333a55
Merge branch 'master' of ssh://git-annex.branchable.com 2017-11-09 12:16:39 -04:00
Joey Hess
94923ea143
response 2017-11-09 12:16:24 -04:00
Lykos153
f187a8db64 removed 2017-11-09 02:16:06 +00:00
Lykos153
2dad469a79 removed 2017-11-09 02:15:53 +00:00
Lykos153
2e9a280221 Added a comment 2017-11-09 02:15:37 +00:00
Lykos153
d39152f118 Added a comment 2017-11-09 02:15:25 +00:00
Lykos153
29fe295e37 Added a comment 2017-11-09 02:15:11 +00:00
ynikitenko
93bd227b21 Added a comment: tutorial up to date? 2017-11-03 20:23:12 +00:00
ynikitenko
404c2e9c54 Added a comment: Is it essential to clone from the server? 2017-11-03 11:28:03 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
15e233a763 Fixed typo: changed "an" to "a" in "an new feature" 2017-11-03 00:19:25 +00:00
elon.bing@6534c6b616a8fda498b5bfa4e48ca5a1ebb7c48e
e1321076cf Fixed typo: changed "copy" to "copies" in "two copy" 2017-11-03 00:07:33 +00:00
Joey Hess
81926f638e
responses 2017-10-30 12:10:39 -04:00
Joey Hess
24883e01cd
Fix export of subdir of a branch.
Seems I forgot to fully test that feature when documenting it.

git rev-parse needs a colon after a branch to de-reference the tree
it points to, rather than the commit. But that had it adding an extra
colon when the user specified "branch:subdir". So, check if there is a
colon before adding one.

This commit was sponsored by Francois Marier on Patreon.
2017-10-30 12:02:22 -04:00
jajpater
0b9dc04a51 Added a comment: Publishing subdir is publishing files but not subdir? 2017-10-20 10:22:25 +00:00
jajpater
003fc0ad01 Added a comment: Works when first using git annex get 2017-10-20 09:59:29 +00:00
jajpater
16cb3ec4fe Added a comment: Also fails when using UUID but differently 2017-10-20 09:47:25 +00:00
jajpater
2e9588356e Added a comment: Problem with publishing subdir. Subdir does not exist, but it does. 2017-10-20 09:21:34 +00:00
Félix Sipma
79cfae8eaf use plasma 5 location for ServiceMenus files on linux 2017-10-18 14:27:56 +02:00
Joey Hess
9b94454b25
comment 2017-09-29 13:46:33 -04:00
Joey Hess
e136f18f14
caps 2017-09-25 11:32:44 -04:00
Joey Hess
1c08945b2b
expand 2017-09-25 11:31:08 -04:00
Joey Hess
4d3a464e83
export to webdav
This basically works, but there's a bug when renaming a file that leaves
a .git-annex-temp-content-key file in the webdav store, that never gets
cleaned up.

Also, exporting files with spaces to box.com seems to fail; perhaps it
does not support it?

This commit was supported by the NSF-funded DataLad project.
2017-09-12 14:10:09 -04:00
Joey Hess
1332e6cec0
stop warning about removals from IA
In a test, I uploaded a pdf, and several files were derived from it.
After removing the pdf, the derived files went away after approximatly
half an hour. This window does not seem worth warning about every time.
Documented it in the tip.
2017-09-12 12:47:43 -04:00
Joey Hess
267f47c473
S3: Allow removing files from IA, but warn about derived versions potentially still existing there.
Removal works, only derives are a potential issue, so allow removing
with a warning. This way, unexporting a file works, and behavior is
consistent with IA remotes whether or not exporttree=yes.

Also tested exporting filenames containing unicode, spaces, underscores.
All worked, despite the IA's faq saying it doesn't.

This commit was sponsored by Trenton Cronholm on Patreon.
2017-09-12 12:35:58 -04:00
NathanCollins
1ccba439e6 Added a comment: The initremote command appears to hang due to low entropy 2017-09-10 02:32:26 +00:00
yarikoptic
b4e40c5477 very minor typo 2017-09-08 21:23:49 +00:00
Joey Hess
0228714406
consistency 2017-09-08 16:41:50 -04:00
Joey Hess
650d0955a0
S3 export finalization
Fixed ACL issue, and updated some documentation.
2017-09-08 16:28:28 -04:00
Joey Hess
44cd5ae313
S3 export (untested)
It opens a http connection per file exported, but then so does git
annex copy --to s3.

Decided not to munge exported filenames for IA. Too large a chance of
the munging having confusing results. Instead, export of files not
supported by IA, eg with spaces in their name, will fail.

This commit was supported by the NSF-funded DataLad project.
2017-09-08 15:46:24 -04:00
lykos@d125a37d89b1cfac20829f12911656c40cb70018
eab12ffbf7 Added a comment 2017-07-21 23:56:12 +00:00
hoxu
bed45dc218 Added a comment: v6 & manual annexation 2017-06-29 07:25:31 +00:00
spalax@b201acef21dca7798b874036bbbaa9e0079a0b7e
568b58e423 Added a comment: git-annex support dropped 2017-06-27 09:26:12 +00:00
Joey Hess
5cf7216774
zsh and fish completions
optparse-applicative-0.14.0.0 adds support for these, so have the
Makefile install their scripts when built with it.

CmdLine/GitAnnex/Options.hs now uses action "file" in cmdParams,
which affects the bash and zsh completions, letting them complete
filenames for subcommands that use that. This is not needed for
bash, since bash-completion.bash enables -o bashdefault, which
lets it complete filenames too. But it does not seem to break the bash
completions. It is needed for zsh; the zsh completion otherwise
does not complete filenames. The fish completion will always complete
filenames no matter what. Messy.

This commit was sponsored by Denis Dzyubenko on Patreon.
2017-06-09 11:38:20 -04:00
Joey Hess
baf9bda995
clarify that git update-server-info needs to be run on the server
forum/Trouble_setting_up_public_repo_cloneable_from_a_web_site/
was a user running that in their clone from the server..
2017-06-06 15:19:31 -04:00
yibe
3174acde3c Added a comment 2017-06-04 19:26:47 +00:00
ewen
dbc48abb32 Added a comment: git-annex on Synology DS216+ (x86-64) 2017-05-28 01:19:17 +00:00
Joey Hess
aec0627ea7
patchneeds to be sent to git 2017-05-11 13:30:15 -04:00
Joey Hess
d71af8f0be
comment 2017-05-11 12:35:34 -04:00
anarcat
ed44f67531 Added a comment: merge with scalability? 2017-04-24 14:10:29 +00:00
anarcat
3ddc08a15c put reverse on top of page 2017-04-24 13:44:07 +00:00
anarcat
3894255c16 link with brother page 2017-04-24 13:43:16 +00:00
anarcat
fef0983449 link to sister page 2017-04-24 13:42:05 +00:00
anarcat
d297dc14ce add signatures to the various sections 2017-04-24 13:40:59 +00:00
anarcat
e5e48bf7dc drop heading that was unnecessary and asymetric 2017-04-24 13:39:51 +00:00
anarcat
87c884ae0b add git-annex-forget 2017-04-24 13:39:11 +00:00
anarcat
baef423e65 fix fpart 403 error 2017-04-24 13:35:03 +00:00
anarcat
6001be11da add zini's split repo procedure 2017-04-24 13:29:25 +00:00
memeplex
db9d6e0ea0 2017-04-14 22:11:55 +00:00
memeplex
a9dd72bb97 2017-04-14 20:19:31 +00:00
Joey Hess
29e73f76ef
Added remote.<name>.annex-push and remote.<name>.annex-pull
The former can be useful to make remotes that don't get fully synced with
local changes, which comes up in a lot of situations.

The latter was mostly added for symmetry, but could be useful (though less
likely to be).

Implementing `remote.<name>.annex-pull` was a bit tricky, as there's no one
place where git-annex pulls/fetches from remotes. I audited all
instances of "fetch" and "pull". A few cases were left not checking this
config:

* Git.Repair can try to pull missing refs from a remote, and if the local
  repo is corrupted, that seems a reasonable thing to do even though
  the config would normally prevent it.
* Assistant.WebApp.Gpg and Remote.Gcrypt and Remote.Git do fetches
  as part of the setup process of a remote. The config would probably not
  be set then, and having the setup fail seems worse than honoring it if it
  is already set.

I have not prevented all the code that does a "merge" from merging branches
from remotes with remote.<name>.annex-pull=false. That could perhaps
be done, but it would need a way to map from branch name to remote name,
and the way refspecs work makes that hard to get really correct. So if the
user fetches manually, the git-annex branch will get merged, for example.
Anther way of looking at/justifying this is that the setting is called
"annex-pull", not "annex-merge".

This commit was supported by the NSF-funded DataLad project.
2017-04-05 13:22:35 -04:00
Joey Hess
e7d684b4e3
comment 2017-04-05 11:51:51 -04:00
Joey Hess
ee9b85f390
comment 2017-04-05 11:44:29 -04:00
anarcat
d2dd75f2b9 Added a comment: onion-grater 2017-03-30 14:49:13 +00:00
oberix@c7a19cddb1663df0c612a979b9d13b0d67f1f69a
a5b3b7a5a4 Added a comment: autostart and foreground together doesn't seem to work 2017-03-30 10:43:19 +00:00
anarcat
eef99dee60 add annex-sync setting sample 2017-03-27 19:50:43 +00:00
anarcat
a959b98769 link to torrent page 2017-03-27 16:25:31 +00:00
anarcat
49f1ee9610 some issue i have come up with a few times and workarounds 2017-03-27 16:23:15 +00:00
ewen
ec35d57200 Added a comment: Tracking GUIDs 2017-03-21 21:46:27 +00:00
ewen
9e84c0210b Add note about tracking guids since 2015 2017-03-21 21:36:36 +00:00
Joey Hess
297bcbcaad
comment 2017-03-21 13:34:52 -04:00
ewen
856e7a5f50 Added a comment: Track GUIDs to avoid duplicate downloads 2017-03-21 08:59:59 +00:00
ewen
12831ed724 removed 2017-03-21 08:49:19 +00:00
ewen
4652413766 Added a comment: Track GUIDs to avoid duplicate downloads 2017-03-21 08:48:05 +00:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
9abed537f7 Added a comment: Beware global configurations! 2017-03-20 22:47:50 +00:00
Joey Hess
217cdbe6c8
comment 2017-03-20 17:19:33 -04:00
Joey Hess
a5ddef4ba3
response 2017-03-20 17:17:25 -04:00
joern.mankiewicz@06fb5bc9b732f143dee3606866362f562531310d
a88fa9f28a Added a comment: Git-annex ignores annex.largefiles in .gitattributes 2017-03-20 20:58:12 +00:00
Joey Hess
8dd3470da0
comment 2017-03-14 19:45:28 -04:00
https://launchpad.net/~stephane-gourichon-lpad
96b6d21d52 Added a comment: Isn't this procedure assuming that lost+found contains only uncorrupted previously annexed files? 2017-03-14 19:15:40 +00:00
Joey Hess
eb2db2b176
comment 2017-03-03 13:59:49 -04:00
xloem
afc65319af removed 2017-03-03 12:32:35 +00:00
xloem
52545b73be Added a comment: Non-conforming blobs 2017-03-03 12:30:35 +00:00
xloem
b7eff4a34d Added a comment: Non-conforming blobs 2017-03-03 12:29:52 +00:00
Joey Hess
701006bd83
clarification 2017-03-02 13:28:31 -04:00
dvicory
e4642a2452 Added a comment: Security of P2P repo is unclear 2017-02-28 20:30:31 +00:00
Joey Hess
2c281baf00
better headings 2017-02-27 16:18:20 -04:00
Joey Hess
3f876f72e3
larger headings 2017-02-27 16:17:19 -04:00
Joey Hess
e53070c1ff
inheritable annex.securehashesonly
* init: When annex.securehashesonly has been set with git-annex config,
  copy that value to the annex.securehashesonly git config.
* config --set: As well as setting value in git-annex branch,
  set local gitconfig. This is needed especially for
  annex.securehashesonly, which is read only from local gitconfig and not
  the git-annex branch.

doc/todo/sha1_collision_embedding_in_git-annex_keys.mdwn has the
rationalle for doing it this way. There's no perfect solution; this
seems to be the least-bad one.

This commit was supported by the NSF-funded DataLad project.
2017-02-27 16:08:23 -04:00
Joey Hess
942e0174b3
make fsck check annex.securehashesonly, and new tip for working around SHA1 collisions with git-annex
This commit was sponsored by andrea rota.
2017-02-27 13:55:15 -04:00
Joey Hess
32782ab324
linkify 2017-02-17 15:58:32 -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
Edward Betts
0750913136
correct spelling mistakes 2017-02-12 17:30:23 -04:00
git-annex@6f13b739194f758abc0b86556b7ce966c1bf3c00
670f9a5116 2017-01-31 16:53:58 +00: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
justin@561b4852d5c1d8db31dc571612954bde7bb325a1
9119b52e71 Fixes ToC 2017-01-17 19:49:18 +00:00
https://anarc.at/openid/
7855cb715b backwards links again 2017-01-17 19:47:13 +00:00
https://anarc.at/openid/
7bbe262ff1 fix link 2017-01-17 19:46:25 +00:00
justin@561b4852d5c1d8db31dc571612954bde7bb325a1
c420cb0538 Page flow and antipattern separation 2017-01-17 19:44:12 +00:00
https://anarc.at/openid/
06296b0298 note an improvement on the reinit manpage 2017-01-17 19:35:24 +00:00
https://anarc.at/openid/
cdac57b5bd a list of problems i had with git-annex 2017-01-17 19:22:49 +00:00
Joey Hess
30136bad93
fix link and clarify 2016-12-28 12:40:43 -04:00
Joey Hess
794babf35a
add back share_with_a_friend_walkthrough, adapted for tor pairing
and some other xmpp to tor related changes
2016-12-24 15:46:02 -04:00
Joey Hess
e08691b393
enable-tor: When run as a regular user, test a connection back to the hidden service over tor.
This way we know that after enable-tor, the tor hidden service is fully
published and working, and so there should be no problems with it at
pairing time.

It has to start up its own temporary listener on the hidden service. It
would be nice to have it start the remotedaemon running, so that extra
step is not needed afterwards. But, there may already be a remotedaemon
running, in communication with the assistant and we don't want to start
another one. I thought about trying to HUP any running remotedaemon, but
Windows does not make it easy to do that. In any case, having the user
start the remotedaemon themselves lets them know it needs to be running
to serve the hidden service.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2016-12-24 12:50:23 -04:00
Joey Hess
f7ca2b92fb
enable-tor: No longer needs to be run as root.
When run by not root, su's to root automatically.

This commit was sponsored by Brock Spratlen on Patreon.
2016-12-20 17:40:36 -04:00
Joey Hess
dc7fda2ec5
section on safe pairing code exchange 2016-12-19 12:27:16 -04:00
Joey Hess
ccde0932a5
p2p --pair with magic wormhole (untested)
It builds. I have not tried to run it yet. :)

This commit was sponsored by Jake Vosloo on Patreon.
2016-12-18 16:51:41 -04:00
Joey Hess
38f9337e16
Revert "p2p --link now defaults to setting up a bi-directional link"
This reverts commit 3037feb1bf.

On second thought, this was an overcomplication of what should be the
lowest-level primitive. Let's build bi-directional links at the pairing
level with eg magic wormhole.
2016-12-16 18:26:07 -04:00
Joey Hess
3037feb1bf
p2p --link now defaults to setting up a bi-directional link
Both the local and remote git repositories get remotes added
pointing at one-another.

Makes pairing twice as easy!

Security: The new LINK command in the protocol can be sent repeatedly,
but only by a peer who has authenticated with us. So, it's entirely safe to
add a link back to that peer, or to some other peer it knows about.
Anything we receive over such a link, the peer could send us over the
current connection.

There is some risk of being flooded with LINKs, and adding too many
remotes. To guard against that, there's a hard cap on the number of remotes
that can be set up this way. This will only be a problem if setting up
large p2p networks that have exceptional interconnectedness.

A new, dedicated authtoken is created when sending LINK.

This also allows, in theory, using a p2p network like tor, to learn about
links on other networks, like telehash.

This commit was sponsored by Bruno BEAUFILS on Patreon.
2016-12-16 16:38:06 -04:00
Joey Hess
e67a310da1
p2p: --link no longer takes a remote name, instead the --name option can be used. 2016-12-16 15:37:50 -04:00
Joey Hess
44c55e2441
fix links 2016-12-07 16:11:30 -04:00
Joey Hess
62043df289
git-annex-metadata-gui yay! 2016-12-07 16:00:12 -04:00
Joey Hess
76b46afed1
add section on tor speed 2016-12-07 15:21:38 -04:00
Joey Hess
2fb6fd7434
Merge branch 'master' into tor 2016-12-07 14:32:25 -04:00
Joey Hess
f3a3dc14ec
add section on security 2016-12-07 13:58:10 -04:00
Joey Hess
528c7bee24
fix up some commands 2016-12-07 12:00:27 -04:00
alpernebbi
3e0176054b 2016-12-05 19:34:55 +00:00
Joey Hess
3ab12ba923
implement p2p --link
This commit was sponsored by Riku Voipio.
2016-11-30 15:16:25 -04:00
Joey Hess
bfc8305814
implement p2p command 2016-11-30 14:35:24 -04:00
Joey Hess
a173f85578
update docs for git-annex p2p command
It is not yet implemented.
2016-11-29 17:31:10 -04:00
Joey Hess
398345cb26
Merge branch 'master' into tor 2016-11-29 15:45:29 -04:00
StephaneGourichon
27585f7569 Added a comment: Walkthrough of a prudent retroactive annex. 2016-11-24 11:27:59 +00:00
Joey Hess
bfd19e0952
docs for stuff not fully implemented yet 2016-11-22 15:29:30 -04:00
scottgorlin@a32946b2aad278883c1690a0753241583a9855b9
3c1c3b96fa Added a comment: Coldline 2016-11-21 00:49:23 +00:00
https://launchpad.net/~stephane-gourichon-lpad
eaf86f4ff5 Added a comment: "Hmm, guyz? Are you serious with these scripts?" Well, what's the matter? 2016-11-15 10:58:32 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
30e07dbd9b prefer per-user, fix ExecStart syntax 2016-11-10 06:34:44 +00:00
Euxane
18eb318c57 2016-11-08 10:10:12 +00:00
stefan.huchler@5f110ab85a15aec7e2b38586eb7ec37b12e2e6aa
f9d7b951f7 Added a comment: workaround to my request 2016-11-05 14:53:36 +00:00
stefan.huchler@5f110ab85a15aec7e2b38586eb7ec37b12e2e6aa
cf20d16526 Added a comment: how to use normal rm to files directly? 2016-11-04 21:04:56 +00:00
https://launchpad.net/~stephane-gourichon-lpad
4b9e4255e0 Added a comment: Dead project, or just working smoothly? Also, which hat color? 2016-10-23 18:23:34 +00:00
fiatjaf
9d2ff4df77 Added a comment: related work 2016-10-11 13:35:08 +00:00
git-annex@5b470e1f6ed6d30997d729f0a8b1c841dea886f1
2f91b3677c Added a comment: Using gitolite 3.6.6 mirror not working with annex 2016-09-28 18:12:56 +00:00
Joey Hess
08b7832d9d
comment 2016-09-21 15:39:32 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
c50dce1cc9 Added a comment: current status? 2016-09-06 14:11:25 +00:00
Joey Hess
bbfe82526a
comment 2016-09-05 14:25:41 -04:00
Joey Hess
5ddd35eea5
remove spam 2016-09-05 12:34:05 -04:00
rsdwatches87@9f71875ba253cd964a0afe4d2c72bbca4c42634e
36775b2d67 Added a comment: To control file name. 2016-09-03 06:55:58 +00:00
Dosenpfand
39f632b177 Added a comment 2016-09-01 18:40:32 +00:00
Dosenpfand
50d1435b3d removed 2016-09-01 18:39:18 +00:00
Dosenpfand
7a66beceae Added a comment 2016-09-01 18:38:47 +00:00
Gus
7d92f36ebf Fixes markup error 2016-08-31 18:43:43 +00:00
edward
2ae56daacb fix wording slightly 2016-08-31 10:09:14 +00:00
edward
187033c06a fix typo 2016-08-28 21:19:12 +00:00
fiatjaf
4fa01fc3d0 added :ga_get and :ga_set 2016-08-11 03:12:04 +00:00
fiatjaf
398408e256 Added a comment: How I got it working 2016-08-06 23:51:48 +00:00
fiatjaf
988470271f better formatting. 2016-08-06 22:48:08 +00:00
fiatjaf
4c291b39ce initial page: git-annex for ranger. 2016-08-06 22:17:58 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
1490acd398 removed 2016-07-14 15:03:01 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
b3c58d7cf2 Added a comment: googledriveannex fails: No handlers could be found for logger "oauth2client.util" 2016-07-14 14:58:29 +00:00
emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2
8d44d6b637 Added a comment: googledriveannex does not 2016-07-14 14:58:05 +00:00
Joey Hess
f3f6dfcf35
New url for git-remote-gcrypt, now maintained by spwhitton. 2016-07-05 11:30:58 -04:00
christophfischer@4706e95f48874dfd46092b278315693b92ea7d23
ae02c6a207 removed 2016-06-21 11:43:09 +00:00
christophfischer@4706e95f48874dfd46092b278315693b92ea7d23
bff93a7721 Added a comment: how to recursively exclude files from git-annex (.gitattributes) 2016-06-21 11:42:45 +00:00
christophfischer@4706e95f48874dfd46092b278315693b92ea7d23
addee68cec Added a comment: how to recursively exclude files from git-annex (.gitattributes) 2016-06-21 11:42:37 +00:00
Dilyin
85b5f1e6a0 Added a comment 2016-06-02 18:10:33 +00:00
Dilyin
8f9e7f25b5 Added a comment: Retroactively annex 2016-06-01 18:36:40 +00:00
Joey Hess
6f8a2f08f9
response 2016-05-03 15:17:39 -04:00
fiatjaf
2561fcf699 Added a comment 2016-04-23 15:01:24 +00:00
Joey Hess
3c2e841d31
comment 2016-04-14 15:42:00 -04:00
Joey Hess
fe1628db11
comment 2016-04-13 14:06:01 -04:00
Joey Hess
402e5adab8
smudge: Print a warning when annex.thin is set, as git's smudge interface does not allow honoring that configuration. 2016-04-13 13:34:24 -04:00
Jan
a525b75320 Added a comment 2016-04-13 09:05:24 +00:00
Joey Hess
08625c5a89
comment 2016-04-12 15:29:01 -04:00
Jan
88afa9eb4e Added a comment: git-annex on a PowerPC based synology? 2016-04-12 15:41:24 +00:00
Joey Hess
cf06dac2b8
hard links on windows
* annex.thin and annex.hardlink are now supported on Windows.
* unannex --fast now makes hard links on Windows.
2016-04-08 15:25:32 -04:00
Joey Hess
11d76f0c8e
Merge branch 'master' of ssh://git-annex.branchable.com 2016-03-31 19:07:03 -04:00
Antoine Beaupré
c82d6ba99e explain a bit more 2016-03-31 10:55:20 -04:00
Antoine Beaupré
2819bab344 new script 2016-03-31 10:50:37 -04:00
Joey Hess
4c9ca98769
docs for git-annex adjust 2016-03-29 11:39:43 -04:00
torpidus
82f7582f8f removed 2016-03-13 19:18:39 +00:00
Joey Hess
7125a1fb27
rename files containing :
This is mostly to let the repo check out on windows w/o using cygwin's git.

But, bash completion is also crap with : , so ..
2016-03-12 12:57:18 -04:00
Joey Hess
0cdd4f9f58
Merge branch 'master' of ssh://git-annex.branchable.com 2016-03-09 13:13:28 -04:00
Joey Hess
d3775e741e
followup 2016-03-07 13:24:11 -04:00
workspace
c2a0a900dd Added a comment: same problem 2016-03-04 20:44:26 +00:00
acbg@8d58f794ce92f6be28b5dbd402059bc30262eb92
b1217e0a5a Added a comment: Since which version does this apply? 2016-03-03 16:16:28 +00:00
Joey Hess
baa9954e06
Fix metadata hook behavior when multiple files are added at once. Thanks, Klaus Ethgen. 2016-03-02 12:25:41 -04:00
Joey Hess
36ba39c4f3
remove lower-casing of field names; metadata fields are case-insensative 2016-02-28 11:56:55 -04:00
Joey Hess
764e57f1f1
The pre-commit-annex hook script that automatically extracts metadata has been updated to also use exiftool. Thanks, Klaus Ethgen. 2016-02-28 11:10:55 -04:00
tom_clune
c6d0e3e62e Added a comment: git annex using the "wrong" ssh socket 2016-02-24 19:23:13 +00:00
Joey Hess
15148ee9eb
annex.addunlocked
* add, addurl, import, importfeed: When in a v6 repository on a crippled
  filesystem, add files unlocked.
* annex.addunlocked: New configuration setting, makes files always be
  added unlocked. (v6 only)
2016-02-16 14:43:43 -04:00
Joey Hess
358e127a85
note 2016-02-03 19:00:23 -04:00
Joey Hess
5127cb59cc
annex.largefiles: Add support for mimetype=text/* etc, when git-annex is linked with libmagic. 2016-02-03 16:29:34 -04:00
Joey Hess
403b56fb91
Limit annex.largefiles parsing to the subset of preferred content expressions that make sense in its context.
So, not "standard" or "lackingcopies", etc.
2016-02-03 15:04:42 -04:00
Joey Hess
199c4f9508
Revert incorrect typo fix 2016-02-02 16:55:21 -04:00
Joey Hess
8cc6d39ad0
typo 2016-02-02 16:54:56 -04:00
Joey Hess
250c734f95
improve 2016-02-02 16:53:29 -04:00
Joey Hess
8764dc43ed
rework largefiles documentation 2016-02-02 16:50:58 -04:00
CandyAngel
70cfdefbb1 Added a comment 2016-02-02 10:08:06 +00:00
Joey Hess
8f4ffab1f2
comment 2016-01-20 14:56:09 -04:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
9ac7a9dce9 Added a comment 2016-01-16 13:03:26 +00:00
Joey Hess
95d43cf5ee
response 2016-01-15 15:12:50 -04:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
9c6a20771e Added a comment: usage changes 2016-01-15 13:31:37 +00:00
CandyAngel
dcaccd910b Added a comment 2016-01-15 09:34:40 +00:00
Joey Hess
6be9ee0d91
layout 2016-01-14 18:19:50 -04:00
Joey Hess
379004e3e7
move aside to better place 2016-01-14 18:19:00 -04:00
Joey Hess
a47480b0da
wording 2016-01-14 18:12:20 -04:00
Joey Hess
fb9727df8b
clarify 2016-01-14 18:11:09 -04:00