Commit graph

1139 commits

Author SHA1 Message Date
Joey Hess
948dd8a0cc
change back to git-remote-gcrypt 1.4 url forms, with a note that that version is needed 2021-04-13 12:55:50 -04:00
https://launchpad.net/~r0lf
69efb3fa53 fix URI for rsync over ssh as per woffs' suggestion in #git-annex 2021-04-12 17:44:06 +00:00
tomdhunt
ffccfff618 Added a comment 2021-03-23 22:59:07 +00:00
Joey Hess
e09560eea2
open a bug based on comment thread 2021-03-23 11:50:07 -04:00
Lukey
2ac2cc79c2 Added a comment 2021-03-23 07:19:40 +00:00
tomdhunt
a50071b60f Added a comment 2021-03-22 23:35:32 +00:00
Joey Hess
34374a679d
comment 2021-03-22 10:58:12 -04:00
tomdhunt
9f932e0b4c Added a comment 2021-03-21 17:10:43 +00:00
Lukey
a66fafba1f Added a comment 2021-03-21 08:11:01 +00:00
tomdhunt
c6a08dc3c2 Added a comment 2021-03-21 01:11:28 +00:00
Joey Hess
1d7fa63149
Added support for git-remote-gcrypt's rsync URIs
Which access a remote using rsync over ssh, and which git pushes to much
more efficiently than ssh urls.

There was some old partial support for rsync URIs from 2013, but it seemed
incomplete, and did not use rsync over ssh. Weird.

I'm not sure if there's any remaining benefit to using the non-rsync url
forms with gcrypt, now that this is implemented? Updated docs to encourage
using the rsync urls.

This commit was sponsored by Svenne Krap on Patreon.
2021-03-09 15:58:09 -04:00
Joey Hess
e8d31910d0
update tutorial to work with 6 year old version of git-annex-shell 2021-02-02 12:26:37 -04:00
Joey Hess
7d0cbea564
response 2021-02-01 12:07:22 -04:00
jrollins
b25438a5ac Added a comment: problems with init after clone 2021-01-31 20:34:32 +00:00
jrollins
8a3ffbf831 removed 2021-01-31 20:32:11 +00:00
jrollins
e14eececd8 Added a comment: problems with annex init in cloned repo 2021-01-31 20:31:36 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
263433d423 removed 2021-01-29 17:16:46 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
8f1a1546d0 removed 2021-01-29 17:02:59 +00:00
eric.w@eee65cd362d995ced72640c7cfae388ae93a4234
2d84bf9921 Added a comment 2021-01-11 22:48:27 +00:00
Joey Hess
c8b1fa67b4
Behavior change: --trust-glacier option no longer overrides trust
Since that can lead to data loss, which should never be enabled by an
option other than --force.

This commit was sponsored by Jake Vosloo on Patreon.
2021-01-07 10:37:43 -04:00
Joey Hess
4f64c08f32
improve tip 2020-12-28 19:38:12 -04:00
Joey Hess
d95f647572
tip for probably best use case for borg with git-annex 2020-12-28 17:02:39 -04:00
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1
825ff92a40 Added a comment: "mirror" workflow: usage of "wanted" expression is inconsistent with regular annex remote 2020-12-21 07:34:28 +00:00
anarcat
6b3880b539 2020-12-10 15:53:37 +00:00
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4
c82048ba79 Added a comment: Windows 10 NTFS hardlinks not working 2020-12-03 11:43:08 +00:00
Lukey
b0320b1108 Added a comment 2020-12-03 07:38:31 +00:00
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4
894d7c07aa removed 2020-12-03 01:44:01 +00:00
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4
08c6ffa117 Added a comment 2020-12-03 01:43:20 +00:00
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4
c9b33c553d Added a comment 2020-12-03 01:43:00 +00:00
https://launchpad.net/~barthelemy
6360c0f53c Added a comment 2020-12-01 21:55:31 +00:00
Ilya_Shlyakhter
41f9926b79 fix typo in git-annex command to create public S3 remote 2020-11-25 20:31:23 +00:00
Joey Hess
8fda1ef0fa
document version for --force-large/--force-small
also fix the wrong name in the changelog
2020-10-26 11:34:30 -04:00
Joey Hess
92fad0703b
remove dead links to youtube-dl
Presumably most users will get it from their linux distribution, or
whatever. Don't want to need to keep updating links if they're going to
rot like this.
2020-10-23 18:49:14 -04:00
edward
fd80a4e43d Fix typo 2020-10-15 19:10:58 +00:00
Lukey
3d686af1e1 Added a comment 2020-10-15 14:46:33 +00:00
fbaca1610@41d03d827c5fd52d594eef456b6196c057c0944f
b18130e24b Added a comment: dropunused and copies 2020-10-15 10:19:17 +00:00
yarikoptic
12f8d42a23 Added a comment 2020-09-24 18:49:06 +00:00
Joey Hess
83df401d93
Merge branch 'batchasync' into master 2020-09-16 13:02:58 -04:00
Joey Hess
38e9fc0161
tip documenting mostly --batch --json including with -J 2020-09-16 13:00:47 -04:00
Joey Hess
d677a30d54
comment 2020-09-15 16:41:01 -04:00
jochen.keil@38b1f86ab65128dab3e62e726403ceee4f5141bf
56c19a8da4 Added a comment 2020-09-15 13:34:48 +00:00
Joey Hess
854cd2ad47
httpalso: support exporttree=yes
Also tested what happens if the other special remote has importtree=yes
and exporttree=yes, and in that case, download via httpalso works too,
without needing to implement any importtree methods here.

It might be possible to make it automatically set exporttree=yes if the
--sameas does. Didn't try, will probably be layering issues.

Or perhaps it should be inherited by sameas like some
other configs? But then, wouldn't it also make sense to inherit
importree=yes? But as shown here, it's not needed by this kind of
remote.
2020-09-02 11:26:00 -04:00
Joey Hess
8656afd3e1
rename http special remote to httpalso
"http" was too generic and easy to confuse with web. The new name makes
clear it's used in addition to some other remote. And other protocols
can use the same naming scheme.
2020-09-02 10:41:53 -04:00
Joey Hess
571ec900ac
Added http special remote, which is useful for accessing other remotes that publish content stored in them via http/https.
With automatic layout learning!
2020-09-01 15:16:35 -04:00
Joey Hess
120f4f33c0
comment 2020-08-10 15:06:40 -04:00
Joey Hess
0e8ec45981
add missing command name 2020-08-10 15:00:58 -04:00
https://dead-doomer.livejournal.com/
4794416b9c Added a comment 2020-06-17 06:42:53 +00:00
https://dead-doomer.livejournal.com/
2524a84a15 Corrected the first command to match what is actually on the file system 2020-06-17 01:17:25 +00:00
https://dead-doomer.livejournal.com/
08bc046416 Added a comment 2020-06-17 01:13:46 +00:00
Joey Hess
f0f1a23404
Merge branch 'master' of ssh://git-annex.branchable.com 2020-06-16 13:55:07 -04:00
Joey Hess
9f61cb94c0
comment 2020-06-16 12:53:10 -04:00
https://dead-doomer.livejournal.com/
fc909493e5 Added a comment 2020-06-16 16:31:32 +00:00
https://dead-doomer.livejournal.com/
11a15eee2d Added a comment: How do I specify a merge command if I don't need separate branches? 2020-06-16 16:17:48 +00:00
https://dead-doomer.livejournal.com/
273a4b283e removed 2020-06-16 16:15:24 +00:00
https://dead-doomer.livejournal.com/
d370aff8dc Added a comment: How do I specify a merge command if I don't need separate branches? 2020-06-16 16:11:30 +00:00
Joey Hess
75add873de
fix paste 2020-05-12 09:55:54 -04:00
Joey Hess
57451bd9a1
followup 2020-05-11 13:06:39 -04:00
thk
6431fc1b26 Added a comment: Delete duplicates and specify preferred locations 2020-04-26 11:18:39 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
df8c5b942b removed 2020-04-02 00:06:54 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
76693bceda removed 2020-04-02 00:06:22 +00:00
mike@920d668f9cacd7a1a8886c180a95a0150e2ab283
78b6264a0a Added a comment 2020-04-01 23:37:55 +00:00
thk
5df80188be Added a comment: Also problem with USB drives 2020-03-31 06:36:14 +00:00
Soxofaan
63e75b71f8 removed duplicate "encryption=none" in initremote command 2020-03-28 10:41:53 +00:00
Joey Hess
baaacc2eb3
layout 2020-03-04 22:45:48 -04:00
Joey Hess
facf488de5
two more services with multiple special remotes 2020-03-04 22:42:33 -04:00
Joey Hess
5995eba531
improve special remotes list
In several cases, there's an old, maybe unmaintained special remote,
and rclone also supports the service. I don't know which is better,
so I added tips pages for these, listing both possibilies, so users can
fill in the details.

Added some things listed in special_remotes/rclone that were not
in the cloud provider list, so users will see it supports those.
But, omitted S3 and webdav, since it's probably better for users to use
what's built into git-annex than going via rclone.

The rclone list is out of date apparently, as rclone.org has more,
so I added a note at the bottom for users to check.

This commit was sponsored by Ethan Aubin.
2020-03-04 22:27:56 -04:00
Joey Hess
87356a8f32
response 2020-02-17 13:04:18 -04:00
max
206d2e6bfb Added a comment: adding support for additional metadata tools? 2020-02-10 04:45:56 +00:00
breck7@4bbace32c18ebb98fc730d56c6ed76b7bcc0798e
cec1db336e Added a comment: Thank you 2020-01-30 15:15:27 +00:00
yarikoptic
803722bb2d Added a comment: preferred way to automate population of the cache upon get 2020-01-13 19:01:11 +00:00
AdamSpiers
5aef27d825 add missing backtick 2020-01-13 00:25:27 +00:00
anarcat
6a38d94ceb fix a transcription error - to disable a remote, we set ignore to true, not false! 2020-01-08 15:30:51 +00:00
undral
0585d12ca4 removed 2020-01-08 00:17:47 +00:00
undral
9fe3f9e08f Added a comment: hi 2020-01-08 00:17:14 +00:00
Joey Hess
d0f3b01c31
update comments to point to conversion docs
want to avoid use of -c annex.largefiles..
2020-01-01 14:38:40 -04:00
Joey Hess
503788238c
add --force-annex/--force-git
options make it easier to override annex.largefiles configuration
(and potentially safer as it avoids bugs like the smudge bug fixed
in the last release)

Deleted some old comments that were posted to the man page discussing such
options.

Updated docs that used -c annex.largefiles to use the options.

Note that addSmallOverridden was needed to avoid the clean filter running
on the file. It would be possible to make addFile also update the index
directly, rather than going via git add. However, it was not necessary,
and I want to avoid breaking on some edge case, particularly if the code in
addSmallOverridden has some oversight.

Also, when annex.addunlocked is set and annex.largefiles does not match a file,
git annex add --force-large works, but git status will then show the file
as added, with a unstaged modification. The unstaged modification adds the
file to git. This is identical behavior to using -c annex.largefiles=nothing
when annex.addunlocked is set. This does not prevent committing what was
intended to be added. I have not gotten to the bottom of why git thinks
the file is modified and runs it through the clean filter in this case.
2020-01-01 14:03:06 -04:00
Joey Hess
37467a008f
annex.addunlocked expressions
* annex.addunlocked can be set to an expression with the same format used by
  annex.largefiles, in case you want to default to unlocking some files but
  not others.
* annex.addunlocked can be configured by git-annex config.

Added a git-annex-matching-expression man page, broken out from
tips/largefiles.

A tricky consequence of this is that git-annex add --relaxed
honors annex.addunlocked, but an expression might want to know the size
or content of an url, which it's not going to download. I decided it was
better not to fail, and just dummy up some plausible data in that case.

Performance impact should be negligible. The global config is already
loaded for annex.largefiles. The expression only has to be parsed once,
and in the simple true/false case, it should not do any additional work
matching it.
2019-12-20 15:56:25 -04:00
Joey Hess
4acbb40112
git-annex config annex.largefiles
annex.largefiles can be configured by git-annex config, to more easily set
a default that will also be used by clones, without needing to shoehorn the
expression into the gitattributes file. The git config and gitattributes
override that.

Whenever something is added to git-annex config, we have to consider what
happens if a user puts a purposfully bad value in there. Or, if a new
git-annex adds some new value that an old git-annex can't parse.
In this case, a global annex.largefiles that can't be parsed currently
makes an error be thrown. That might not be ideal, but the gitattribute
behaves the same, and is almost equally repo-global.

Performance notes:

git-annex add and addurl construct a matcher once
and uses it for every file, so the added time penalty for reading the global
config log is minor. If the gitattributes annex.largefiles were deprecated,
git-annex add would get around 2% faster (excluding hashing), because
looking that up for each file is not fast. So this new way of setting
it is progress toward speeding up add.

git-annex smudge does need to load the log every time. As well as checking
the git attribute. Not ideal. Setting annex.gitaddtoannex=false avoids
both overheads.
2019-12-20 13:01:41 -04:00
MichaelC
df7bf60998 Added a comment: Does android adb special remote support MTP? 2019-12-10 21:23:31 +00:00
michael.clifford.com@7ca464bc0ba25fd5f2922deb8f531668727a66fb
80b0c9b514 removed 2019-12-10 21:02:23 +00:00
michael.clifford.com@7ca464bc0ba25fd5f2922deb8f531668727a66fb
3c4053e455 Added a comment: android special remote via mtp supported? 2019-12-10 21:01:53 +00:00
Joey Hess
5877de5e80
git-lfs: remember urls, and autoenable remotes using known urls
* git-lfs: The url provided to initremote/enableremote will now be
  stored in the git-annex branch, allowing enableremote to be used without
  an url. initremote --sameas can be used to add additional urls.
* git-lfs: When there's a git remote with an url that's known to be
  used for git-lfs, automatically enable the special remote.
2019-11-18 16:09:09 -04:00
Joey Hess
31a5b58b2c
documentation for making git add only annex when configured by annex.largefiles
Code change should be trvial, but not yet implemented. This
significantly complicated the task of documenting how git-annex works.

I'm not sure how useful the annex.gitaddtoannex confguration is after
this change; seems that if a user has an annex.largefiles they will want
it applied consistently. But the last thing I want to hear is more
complaining from users about git add doing something they don't want it
to.

There's a pretty high risk users who got used to the git add behavior
and don't have annex.largefiles configured will miss the NEWS and
complain bitterly about their suddenly bloated repositories. Oh well.

Removed outdated comments about the old behavior to avoid confusion.
I don't know if I've found all the places that griping spread to.
2019-10-24 14:01:54 -04:00
anarcat
b4a9397c4a Added a comment: right! forgot about log -S 2019-10-23 20:16:26 +00:00
anarcat
2755a22c37 update from comments 2019-10-23 20:15:40 +00:00
Joey Hess
a632a16f14
comment 2019-10-21 12:53:04 -04:00
Lukey
c452f01843 Added a comment 2019-10-21 16:27:50 +00:00
anarcat
a2bc387c6b i always have trouble finding this 2019-10-21 15:40:56 +00:00
Joey Hess
37f725a9f7
Merge branch 'master' into sameas 2019-10-11 15:56:00 -04:00
Joey Hess
c0e88b7695
sameas documentation 2019-10-11 14:04:58 -04:00
Joey Hess
3cc23df35b
improve conversion example 2019-10-08 14:17:04 -04:00
Dwk
a9c5a68b65 Added a comment: annexed -> normal git does not work if annexed file was unlocked 2019-10-05 01:45:14 +00:00
Joey Hess
a9f078da43
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-30 14:21:23 -04:00
Joey Hess
ca0ca6012f
remove -n from example
That was only needed with git-annex before v7. The pre-commit hook no
longer scans for and re-locks typechanged files.
2019-09-30 13:34:26 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
04ec673d51 Fix typo and incorrect references to "git annex peer" 2019-09-29 23:34:25 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
b45deddbcd Added a comment: Follow-up thought 2019-09-29 22:08:29 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1f28ddf470 Added a comment: Can conversion to/from annexed be made easier? 2019-09-29 22:04:32 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
32c6ea563e fix walktrough typo 2019-09-29 21:46:46 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
4db7370c4b Added a comment: Issue on openSUSE with Tor's requirement for Python 2.7 2019-09-29 16:41:15 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
7192063f84 Improve installation instructions for Magic Wormhole, and mention Python 2 and executable name dependencies 2019-09-29 16:20:21 +00:00