Commit graph

29846 commits

Author SHA1 Message Date
Lukey
5a8b9a57a8 Added a comment 2021-03-20 18:28:51 +00:00
Lukey
309337f097 Added a comment 2021-03-20 17:55:45 +00:00
Lukey
ce23c37b83 Fix link 2021-03-20 17:51:07 +00:00
Lukey
b413e3c4fc Added a comment 2021-03-20 17:48:51 +00:00
Lukey
56e6da9ca4 Added a comment 2021-03-20 17:42:09 +00:00
Lukey
2021c31be7 Added a comment 2021-03-20 17:33:32 +00:00
gerta
f695a8e128 Bug: Importing into nested directory overwrites files? 2021-03-20 07:29:12 +00:00
tomdhunt
2c020362a9 Added a comment 2021-03-20 05:31:28 +00:00
Ilya_Shlyakhter
800b13f4ac Added a comment: installing clean/smudge filter lazily 2021-03-19 02:30:16 +00:00
Ilya_Shlyakhter
a76f16cd8d added bug report about fsck failing on dead keys missing from require-everything repos 2021-03-18 18:58:27 +00:00
Ilya_Shlyakhter
2cf9ed277d added a forum question about replacing a locked file without explicitly unlocking/relocking 2021-03-18 17:35:22 +00:00
Ilya_Shlyakhter
9bde743eae Added a comment: install clean/smudge filter only when needed 2021-03-18 15:47:03 +00:00
jwrauch
81c51fa538 2021-03-17 18:59:04 +00:00
mih
1886fa420f Added a comment 2021-03-17 17:03:35 +00:00
Joey Hess
b0bf620b2b
comment 2021-03-17 11:29:57 -04:00
yarikoptic
3ae0552b64 Added a comment 2021-03-17 14:56:20 +00:00
Joey Hess
f9e73e23f2
comment 2021-03-17 10:22:38 -04:00
Joey Hess
8c9ab9752b
comment 2021-03-17 09:44:31 -04:00
Joey Hess
db95b94251
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-17 09:42:27 -04:00
Joey Hess
0e44c252c8
avoid getting creds from environment during autoenable
When autoenabling special remotes of type S3, weddav, or glacier, do not
take login credentials from environment variables, as the user may not be
expecting the autoenable to happen, and may have those set for other
purposes.
2021-03-17 09:41:12 -04:00
mih
f1bff235e6 Added a comment: Works! 2021-03-17 08:20:10 +00:00
Joey Hess
02e74c010b
todo 2021-03-16 17:18:35 -04:00
Joey Hess
34a49661d4
comment 2021-03-16 15:12:33 -04:00
Joey Hess
7dabbe4520
comment 2021-03-16 14:56:08 -04:00
Joey Hess
69dd214d59
comment 2021-03-16 14:26:41 -04:00
Joey Hess
3337f7c272
fix exporting when the file is in the top of the repo
takeDirectory "foo" is ".", and that will confuse webdav, so only
use that code path when there is a subdirectory.
2021-03-16 14:17:29 -04:00
yarikoptic
4a2d148599 fixed formatting 2021-03-16 17:43:16 +00:00
yarikoptic
ff95449e79 reporting on the negative effect of AWS_ variables for access to public S3 bucket 2021-03-16 17:38:29 +00:00
post@fe1e2f98b8a3e74db4acafa380bba9a4454f335d
73932bc959 Added a comment: Import fails with 2021-03-15 23:59:01 +00:00
yarikoptic
681f9e1a0c 2021-03-15 22:50:04 +00:00
yarikoptic
d0b56f113c an idea to avoid lengthy Scanning for unlocked files (this may take some time) 2021-03-15 17:57:53 +00:00
Ilya_Shlyakhter
b4022decb8 Added a comment: re: individually hash chunks 2021-03-15 15:23:09 +00:00
0xloem@0bd8a79a57e4f0dcade8fc81d162c37eae4d6730
32f773ae8f 2021-03-15 07:08:08 +00:00
0xloem@0bd8a79a57e4f0dcade8fc81d162c37eae4d6730
f9a5a2ec05 2021-03-15 06:45:09 +00:00
falsifian
4d6f744777 Add my name and home page URL. 2021-03-14 05:15:14 +00:00
falsifian
98b11ab4d7 Added a comment 2021-03-14 05:12:13 +00:00
albert.lash+git-annex@db81cb2b56cce42192ed75e0be6ce4e73f5af364
f9a777b90b Added a comment: This worked for me too 2021-03-13 22:56:59 +00:00
Ilya_Shlyakhter
febdd53e0e Added a comment: standalone tarballs 2021-03-13 19:53:48 +00:00
mih
4bcab9efbc Added a comment: 4shared-specific issue 2021-03-13 16:26:14 +00:00
mih
a760909a0d Added a comment: Confirm fix 2021-03-13 16:23:36 +00:00
mih
2cbf8226d5 Added a comment: Progress report 2021-03-13 16:19:19 +00:00
mih
55241b7bdf Added a comment: Thx! 2021-03-13 16:05:52 +00:00
gioele@678b7c03f524f2669b179b603f65352fcc16774e
ecee702b30 Added a comment 2021-03-13 13:26:45 +00:00
Joey Hess
f064008543
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-12 14:54:37 -04:00
Joey Hess
4f49c29d20
webdav: store temp file in same collection as the final export location
This may work better in some webdav server that gets confused at
cross-collection renamed. I don't know, let's find out.

The only real downside of doing this is that the temp files are not all
in the top-level collection, in case an interrupted run leaves one
behind. But that does not seem especially significant.
2021-03-12 14:52:24 -04:00
Joey Hess
6481991208
export --json: Fill in the file field
Like import was using ActionItemWorkTreeFile, it's ok to use it for export,
even though it might not correspond with a file in the work tree.
And renamed it to ActionItemTreeFile to make that clearer.

Note that when an export has to rename files, it still uses
ActionItemOther, so file will still be null in that case, but as no file is
being transferred, that seems ok.
2021-03-12 14:11:31 -04:00
Lukey
9bfe081d8a Added a comment 2021-03-12 17:48:12 +00:00
Joey Hess
f87c63d998
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-12 13:33:48 -04:00
Joey Hess
1cb154f457
avoid importing deleting submodule
import: When the previously exported tree contained a submodule,
preserve it in the imported tree so it does not get deleted.

The export exclude log, which was used for non-preferred content,
now also includes the submodules. Since the log format is git ls-tree
output, this does not break backwards compatibility.
2021-03-12 13:31:21 -04:00
mih
6396da95e9 2021-03-12 17:13:29 +00:00
Joey Hess
f2a425bd92
export: When a submodule is in the tree to be exported, skip it. 2021-03-12 12:29:18 -04:00
Joey Hess
ca25e94790
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-12 12:02:40 -04:00
Joey Hess
f6a6148baf
comment 2021-03-12 12:02:06 -04:00
Joey Hess
b1621cdda6
comment 2021-03-12 12:01:52 -04:00
Joey Hess
37263e97c7
comment 2021-03-12 11:45:28 -04:00
AlbertZeyer
3e3f1b23b8 removed 2021-03-12 15:45:15 +00:00
AlbertZeyer
aa99b5b376 Added a comment 2021-03-12 15:44:39 +00:00
AlbertZeyer
ab416706a7 Added a comment 2021-03-12 15:44:15 +00:00
Lukey
0baa722c72 Added a comment 2021-03-12 14:06:11 +00:00
mih
d934a4f4f8 2021-03-12 12:24:46 +00:00
AlbertZeyer
94ed822cf7 2021-03-12 11:07:06 +00:00
mih
58413168d4 2021-03-12 11:00:53 +00:00
mih
58db7bb16d 2021-03-12 09:33:24 +00:00
meribold
96b549779a Added a comment 2021-03-12 03:58:08 +00:00
Ilya_Shlyakhter
03b2023f84 Added a comment: standalone builds on archive 2021-03-12 01:38:37 +00:00
Ilya_Shlyakhter
763f2eb42b Added a comment: finding archive.org URL 2021-03-11 19:32:37 +00:00
Ilya_Shlyakhter
ca2245597c Added a comment: finding archive.org URL 2021-03-11 19:32:15 +00:00
Joey Hess
9c85a855ff
response 2021-03-11 13:13:56 -04:00
Joey Hess
75e74b4ba8
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-11 13:06:53 -04:00
Joey Hess
22d8ec6d74
comment 2021-03-11 13:06:24 -04:00
Ilya_Shlyakhter
f37a796a56 clarified that git-annex-log shows log only for the current key (contents) at specified paths 2021-03-11 16:50:41 +00:00
Ilya_Shlyakhter
fe74264d35 Added a comment: update standalone build at archive.org 2021-03-11 16:41:00 +00:00
Joey Hess
8a097fcb96
fix sequence 2021-03-11 12:30:02 -04:00
Joey Hess
df8f849354
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-11 12:29:27 -04:00
Joey Hess
4df9495d56
comment 2021-03-11 12:28:25 -04:00
Joey Hess
06f86379b0
todo from comment 2021-03-11 12:26:10 -04:00
meribold
a637b8eb6b Added a comment 2021-03-11 02:52:34 +00:00
jwrauch
a3a6f0f424 2021-03-10 21:25:59 +00:00
Joey Hess
33481fef7a
add news item for git-annex 8.20210310 2021-03-10 13:59:42 -04:00
Joey Hess
f951847c6a
improve 2021-03-09 15:59:29 -04: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
15891441f1
close 2021-03-09 14:00:11 -04:00
Joey Hess
1facddbfae
close long-fixed bug 2021-03-09 13:58:22 -04:00
Joey Hess
1e89560f5c
clarify 2021-03-09 13:56:31 -04:00
Joey Hess
e07eabbf7f
Fix support for local gcrypt repositories with a space in their URI
Git.Remote.parseRemoteLocation had a hack to handle URIs that contained
characters like spaces, which is something git unfortunately allows
despite not being a valid URI. However, that hack looked for "//" to
guess something was an URI, and these gcrypt URIs, being to a local
path, don't contain that. So instead escape all illegal characters and
check if the resulting thing is an URI.

And that was already done by Git.Construct.fromUrl, so
internally the gcrypt URI with a space looks like "gcrypt::foo%20bar"
and that needs to be de-escaped when converting back from URI to local
repo path.

This change might also allow a few other almost-valid URIs to be handled
as URIs by git-annex. None that contain "//" will change, and any
behavior change should result in git-annex doing closer to a right thing
than it did before, probably.

This commit was sponsored by Noam Kremen on Patreon.
2021-03-09 12:49:51 -04:00
Joey Hess
d3578f3b66
close as dup 2021-03-09 11:48:41 -04:00
Joey Hess
e57c5b92f9
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-09 11:45:24 -04:00
tomdhunt
3639ce1a99 2021-03-08 19:07:19 +00:00
Joey Hess
b05f8458fb
remove tag 2021-03-08 14:47:40 -04:00
tomdhunt
55f7eae066 2021-03-08 18:40:10 +00:00
Joey Hess
2f5e1ae7a9
comment 2021-03-08 12:51:19 -04:00
Ilya_Shlyakhter
6e62ed17d9 Added a comment: Re: "Any way to delete a remote?" 2021-03-08 15:13:39 +00:00
tomdhunt
3aa5acf556 Added a comment 2021-03-08 03:28:49 +00:00
Ilya_Shlyakhter
eccdf47e6f Added a comment 2021-03-07 13:38:56 +00:00
tomdhunt
139fac8c49 Added a comment: Any way to delete a remote? 2021-03-07 01:53:25 +00:00
qiang.fang@ddaed0de00c2925f8036e6c61ce6e12654263ada
7ce80263ef Added a comment 2021-03-06 00:03:52 +00:00
Joey Hess
e8065ee99d
close todo 2021-03-05 14:46:09 -04:00
Joey Hess
fc61915230
use GIT keys for export of non-annexed files
This solves the problem that import of such files gets confused and
converts them back to annexed files.

The import code already used GIT keys internally when it determined a
file should not be annexed. So now when it sees a GIT key that export
used, it already does the right thing.

This also means that even older version of git-annex can import and will
do the right thing, once a fixed version has exported. Still, there may
be other complications around upgrades; still need to think it all
through.

Moved gitShaKey and keyGitSha from Key to Annex.Export since they're
only used for export/import.

Documented GIT keys in backends, since they do appear in the git-annex
branch now.

This commit was sponsored by Graham Spencer on Patreon.
2021-03-05 14:12:11 -04:00
Joey Hess
deac6f12b5
forgot to add this comment earlier 2021-03-05 12:40:39 -04:00
Joey Hess
8d983b6432
comment 2021-03-05 12:39:57 -04:00
Joey Hess
11048bee03
comment 2021-03-05 12:20:54 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
346984aa42 2021-03-05 14:07:09 +00:00
gerta
a36b8def30 2021-03-03 13:12:29 +00:00
vrinek@ebb1af586fdc413fc8081c073e5ae591a619cbe2
16b3e5754d Fix borg create example (according to https://borgbackup.readthedocs.io/en/stable/usage/create.html#examples) 2021-03-02 21:58:31 +00:00
kyle
324f2c06c5 Added a comment: thanks 2021-03-02 20:51:53 +00:00
Joey Hess
1e46158c44
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-02 13:48:02 -04:00
Joey Hess
a14001785e
fix --branch combined with --unlocked or --locked
Since it's using git ls-tree anyway, can just look at the file modes to see
if they're unlocked or are symlinks.
2021-03-02 13:47:27 -04:00
gerta
3d48e96972 2021-03-02 08:04:22 +00:00
Joey Hess
25e4ab7e81
Prevent combinations of options such as --all with --include
Previously such nonsensical combinations always treated the matching option
as if it didn't match.

For now, made find --branch refuse matching options that need a
filename, because one is not provided to them in a way they'll use.
There's an open bug report to support it, but making it error out is
better than the old behavior of not finding what it was asked to.

Also, made --mimetype combined with eg --all work, by looking at the
object file when operating on keys.
2021-03-01 16:25:23 -04:00
Joey Hess
7a089f05b2
move comment to correct bug 2021-03-01 15:24:21 -04:00
Joey Hess
eb594c710e
unregisterurl: New command
Implemented by generalizing registerurl. Without the implicit batch mode
of registerurl since that is only a backwards compatability thing
(see commit 1d1054faa6).
2021-03-01 14:28:24 -04:00
Joey Hess
06665d733a
comment 2021-03-01 13:52:19 -04:00
Joey Hess
0482424fad
analysis 2021-03-01 13:36:18 -04:00
Joey Hess
db2e0485ae
Merge branch 'master' of ssh://git-annex.branchable.com 2021-03-01 13:10:50 -04:00
Joey Hess
a217f92dc1
fix problem with example 2021-03-01 13:09:22 -04:00
Ilya_Shlyakhter
cd682cf227 Added a comment: issue of pushing refs to annexed files but not info on how to fetch them 2021-03-01 16:46:57 +00:00
Ilya_Shlyakhter
324838324b Added a comment: issue with example 2021-02-28 23:18:29 +00:00
spwhitton
30299f52b1 annex-review-unused -> git annex reviewunused 2021-02-28 20:20:03 +00:00
gerta
12169b7fda removed 2021-02-28 13:51:07 +00:00
gerta
27531ce81a 2021-02-27 06:58:15 +00:00
gerta
0d8b275710 2021-02-27 05:52:40 +00:00
Joey Hess
9835fa5d01
todo 2021-02-26 12:12:41 -04:00
arelius@a7e47ae13cb3452464261e3a99bfe6d2c25895fd
c802c0685e Added a comment 2021-02-25 21:46:22 +00:00
kyle
4c48791d41 Added a comment 2021-02-25 21:25:52 +00:00
kyle
9d96f41185 Added a comment: setpresentkey 0 2021-02-25 21:18:50 +00:00
yarikoptic
e5a24a502c or just a rmurl --key? 2021-02-25 20:37:25 +00:00
yarikoptic
4c1ffaac56 TODO for unregisterurl 2021-02-25 20:27:46 +00:00
kyle
6a98e69f2f 2021-02-24 22:37:06 +00:00
Joey Hess
61c3797dd5
comment and close not a bug 2021-02-24 13:31:19 -04:00
Joey Hess
a942ed4bb9
Windows: Correct the path to the html help file for 64 bit build. 2021-02-24 13:19:42 -04:00
Joey Hess
0c90ccc40c
retitle 2021-02-24 13:16:03 -04:00
Joey Hess
0f09185683
comment 2021-02-24 13:15:58 -04:00
m15
c98b3cde6c 2021-02-24 10:44:02 +00:00
arelius@a7e47ae13cb3452464261e3a99bfe6d2c25895fd
7bf0f95f38 2021-02-24 04:52:39 +00:00
arelius@a7e47ae13cb3452464261e3a99bfe6d2c25895fd
08795b0263 Added a comment 2021-02-24 04:49:34 +00:00
arelius@a7e47ae13cb3452464261e3a99bfe6d2c25895fd
def4ac2f90 Added a comment 2021-02-24 04:32:08 +00:00
arelius@a7e47ae13cb3452464261e3a99bfe6d2c25895fd
c3ab606dd6 2021-02-24 04:30:59 +00:00
Joey Hess
33af7d1932
add news item for git-annex 8.20210223 2021-02-23 14:41:46 -04:00
Atemu
5e5829a8d4 2021-02-23 15:16:50 +00:00
Joey Hess
530e96b80e
fix unannex data overwrite bug
unannex, uninit: When an annexed file is modified, don't overwrite the
modified version with an older version from the annex

This commit was sponsored by Mark Reidenbach on Patreon.
2021-02-22 13:35:00 -04:00
Joey Hess
224bc7579b
bug report 2021-02-22 13:03:22 -04:00
Joey Hess
62d5a73bdd
unannex, uninit: Avoid running git rm once per annexed file, for a large speedup. 2021-02-22 12:56:11 -04:00
Joey Hess
dd97017246
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-22 12:40:06 -04:00
Joey Hess
3ba349eec3
comment 2021-02-22 12:38:34 -04:00
Joey Hess
17a08f38e2
comment 2021-02-22 12:31:55 -04:00
EvanDeaubl
abb70e83dd Added a comment: One possible workaround 2021-02-22 16:23:41 +00:00
zsolt1
4381ad636e Added a comment 2021-02-21 18:11:36 +00:00
git-annex.branchable.com@d12f3f46c9222459d17f96bc7be04f7cd03a6732
1e4fac1046 Added a comment 2021-02-21 15:50:49 +00:00
Lukey
4f63f0d162 Added a comment 2021-02-20 21:35:10 +00:00
zsolt1
0f68eed33c Added a comment: reproduce 2021-02-20 19:06:45 +00:00
git-annex.branchable.com@d12f3f46c9222459d17f96bc7be04f7cd03a6732
26c19de0d9 Add workaround 2021-02-20 19:05:42 +00:00
git-annex.branchable.com@d12f3f46c9222459d17f96bc7be04f7cd03a6732
c37bfccb63 Initial report 2021-02-20 19:04:18 +00:00
zsolt1
c71f005889 2021-02-20 19:02:26 +00:00
jwrauch
9dcb11fc23 Added a comment 2021-02-19 18:58:17 +00:00
yarikoptic
a876884987 initial observation about slow uninit 2021-02-19 17:08:39 +00:00
jwrauch
904f25c559 Added a comment 2021-02-19 16:19:53 +00:00
jwrauch
79fb2f499d Added a comment 2021-02-19 16:17:34 +00:00
jwrauch
dab459787f Added a comment 2021-02-19 16:10:03 +00:00
Lukey
fbbd1d7cf1 Added a comment 2021-02-19 15:43:48 +00:00
jwrauch
5e2f2f7d9b 2021-02-19 14:14:13 +00:00
Lukey
4fc0c58e24 Added a comment 2021-02-19 07:28:15 +00:00
Lukey
6708bff1a9 Added a comment 2021-02-19 07:16:27 +00:00
jodumont
a16d0a5f90 Added a comment: how to rename/remove the [here] ?? 2021-02-19 04:56:47 +00:00
jodumont
b0684e7567 Added a comment: Explanation for a noGUI usage 2021-02-19 04:39:35 +00:00
georg.schnabel@bd6be2144f897f5caa0028e0dd1e0a65634add81
1845c4e1e3 Added a comment: import from special directory remote fails due to running out of memory 2021-02-17 14:29:53 +00:00
georg.schnabel@bd6be2144f897f5caa0028e0dd1e0a65634add81
8c2629cfd1 2021-02-17 13:58:00 +00:00
Joey Hess
48310f2d55
windows build fix from jwodder 2021-02-15 13:35:01 -04:00
Joey Hess
0cb2b1b126
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-15 13:31:55 -04:00
Joey Hess
664c15f20a
comment 2021-02-15 13:31:13 -04:00
falsifian
4407ade4c3 Added a comment 2021-02-12 03:52:39 +00:00
jwodder
80ec124fb0 2021-02-11 16:06:00 +00:00
jwodder
69f2fb7a23 2021-02-11 16:04:20 +00:00
Joey Hess
cb7bb3e4b9
comment 2021-02-10 21:49:25 -04:00
Joey Hess
e3832af5d5
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-10 16:40:16 -04:00
Joey Hess
f44d4704c6
incremental checksum for local remotes
This benchmarks only slightly faster than the old git-annex. Eg, for a 1
gb file, 14.56s vs 15.57s. (On a ram disk; there would certianly be
more of an effect if the file was written to disk and didn't stay in
cache.)

Commenting out the updateIncremental calls make the same run in 6.31s.
May be that overhead in the implementation, other than the actual
checksumming, is slowing it down. Eg, MVar access.

(I also tried using 10x larger chunks, which did not change the speed.)
2021-02-10 16:05:24 -04:00
Joey Hess
6487a75d33
comment 2021-02-10 13:15:00 -04:00
yarikoptic
f5c3eb86f9 Added a comment 2021-02-09 22:48:07 +00:00
Joey Hess
86814582e8
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-09 17:06:32 -04:00
Joey Hess
d8598dc3a0
comment 2021-02-09 17:05:56 -04:00
Joey Hess
fd51b0cd83
comment 2021-02-09 13:42:49 -04:00
nguenthe@0f416ab0ba07a395eb8a0c85732e0105e4970e10
c208f8c3d4 Added a comment 2021-02-09 17:09:17 +00:00
nguenthe@0f416ab0ba07a395eb8a0c85732e0105e4970e10
ed28f4a744 Added a comment 2021-02-09 17:06:25 +00:00
Joey Hess
cbe84b62b9
close 2021-02-08 18:17:59 -04:00
Joey Hess
f36a0c1b13
deal with cabal unpack not preserving execute bit 2021-02-08 14:32:24 -04:00
Joey Hess
8f3554a7a8
close as dup 2021-02-08 14:19:43 -04:00
Joey Hess
6bc24b1bce
2021 2021-02-08 13:44:58 -04:00
Joey Hess
3a66cd715f
avoid making absolute git remote path relative
When a git remote is configured with an absolute path, use that path,
rather than making it relative. If it's configured with a relative path,
use that.

Git.Construct.fromPath changed to preserve the path as-is,
rather than making it absolute. And Annex.new changed to not
convert the path to relative. Instead, Git.CurrentRepo.get
generates a relative path.

A few things that used fromAbsPath unncessarily were changed in passing to
use fromPath instead. I'm seeing fromAbsPath as a security check,
while before it was being used in some cases when the path was
known absolute already. It may be that fromAbsPath is not really needed,
but only git-annex-shell uses it now, and I'm not 100% sure that there's
not some input that would cause a relative path to be used, opening a
security hole, without the security check. So left it as-is.

Test suite passes and strace shows the configured remote url is used
unchanged in the path into it. I can't be 100% sure there's not some code
somewhere that takes an absolute path to the repo and converts it to
relative and uses it, but it seems pretty unlikely that the code paths used
for a git remote would call such code. One place I know of is gitAnnexLink,
but I'm pretty sure that git remotes never deal with annex symlinks. If
that did get called, it generates a path relative to cwd, which would have
been wrong before this change as well, when operating on a remote.
2021-02-08 13:18:01 -04:00
Joey Hess
df26c9a492
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-08 11:39:36 -04:00
yarikoptic
2038d839cc Added a comment: why relative path? 2021-02-08 14:47:43 +00:00
yarikoptic
30728860ac removed 2021-02-08 14:46:11 +00:00
yarikoptic
6834093433 Added a comment 2021-02-08 14:44:39 +00:00
Joey Hess
8df2215891
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-05 15:34:04 -04:00
Joey Hess
724c97952b
update 2021-02-05 10:22:42 -04:00
falsifian
be5a0e4b8f 2021-02-05 05:11:24 +00:00
Joey Hess
3d3b55e7f2
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-03 15:57:46 -04:00
Joey Hess
dd39e9e255
suggest when user may want annex.stalldetection
When annex.stalldetection is not enabled, and a likely stall is detected,
display a suggestion to enable it.

Note that the progress meter display is not taken down when displaying
the message, so it will display like this:

	0%    8 B                 0 B/s
	  Transfer seems to have stalled. To handle stalling transfers, configure annex.stalldetection
	0%    10 B                0 B/s

Although of course if it's really stalled, it will never update
again after the message. Taking down the progress meter and starting
a new one doesn't seem too necessary given how unusual this is,
also this does help show the state it was at when it stalled.

Use of uninterruptibleCancel here is ok, the thread it's canceling
only does STM transactions and sleeps. The annex thread that gets
forked off is separate to avoid it being canceled, so that it
can be joined back at the end.

A module cycle required moving from dupState the precaching of the
remote list. Doing it at startConcurrency should cover all the cases
where the remote list is used in concurrent actions.

This commit was sponsored by Kevin Mueller on Patreon.
2021-02-03 15:57:19 -04:00
Joey Hess
135757d64a
automatic stall detection
annex.stalldetection can now be set to "true" to make git-annex do
automatic stall detection when it detects a remote is updating its transfer
progress consistently enough.

This commit was sponsored by Luke Shumaker on Patreon.
2021-02-03 13:33:57 -04:00
gueux
59fa8b7671 Added a comment 2021-02-03 17:20:24 +00:00
gueux
31f5482729 Added a comment 2021-02-03 17:06:24 +00:00
Joey Hess
904689f11b
Merge branch 'master' of ssh://git-annex.branchable.com 2021-02-02 19:39:24 -04:00
guardcat
ebb805b611 2021-02-02 21:04:21 +00:00
Joey Hess
aec2cf0abe
addon commands
Seems only fair, that, like git runs git-annex, git-annex runs
git-annex-foo.

Implementation relies on O.forwardOptions, so that any options are passed
through to the addon program. Note that this includes options before the
subcommand, eg: git-annex -cx=y foo

Unfortunately, git-annex eats the --help/-h options.
This is because it uses O.hsubparser, which injects that option into each
subcommand. Seems like this should be possible to avoid somehow, to let
commands display their own --help, instead of the dummy one git-annex
displays.

The two step searching mirrors how git works, it makes finding
git-annex-foo fast when "git annex foo" is run, but will also support fuzzy
matching, once findAllAddonCommands gets implemented.

This commit was sponsored by Dr. Land Raider on Patreon.
2021-02-02 16:32:49 -04:00
jrollins
627940cf7b Added a comment 2021-02-02 17:43:19 +00:00
Joey Hess
d0fe0c5e10
close old todo 2021-02-02 13:25:58 -04:00
Joey Hess
696ee5d464
close 2021-02-02 13:21:34 -04:00
Joey Hess
233b2ab133
reject 2021-02-02 13:19:28 -04:00
Joey Hess
80a16a9dc8
remove no longer relevant part 2021-02-02 13:15:32 -04:00
Joey Hess
811399c8a1
meant to close this earlier 2021-02-02 13:12:47 -04:00
Joey Hess
cdbf80d338
comment 2021-02-02 13:10:07 -04:00
Joey Hess
d2ff391919
fix syntax 2021-02-02 13:01:31 -04:00
Joey Hess
5cad76198a
close 2021-02-02 12:52:00 -04:00
Joey Hess
d631304237
remove priority tag (unused) 2021-02-02 12:42:20 -04:00
Joey Hess
ba0de2d26a
comment 2021-02-02 12:33:01 -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
jrollins
4e5a27841a Added a comment 2021-02-01 19:30:54 +00:00
jrollins
8de52b9f94 Added a comment 2021-02-01 19:07:29 +00:00
jrollins
85e9e67748 Added a comment 2021-02-01 19:04:42 +00:00
jrollins
f2b21baec4 Added a comment 2021-02-01 18:42:24 +00:00
gueux
c7096eb1ee Added a comment 2021-02-01 18:33:52 +00:00
jrollins
3aa72e95e3 Added a comment 2021-02-01 18:25:09 +00:00
gueux
657cc67385 Added a comment 2021-02-01 18:11:41 +00:00
jrollins
d1fe1bf908 Added a comment 2021-02-01 17:45:16 +00:00
Joey Hess
71f96a8d84
comment 2021-02-01 12:42:30 -04:00
Joey Hess
a6b0e8c7ea
comment 2021-02-01 12:40:30 -04:00
Joey Hess
ec035c2b40
comment 2021-02-01 12:27:24 -04:00
Joey Hess
f3b57baf61
comment 2021-02-01 12:24:48 -04:00
Joey Hess
895b02d8a3
comment 2021-02-01 12:16:26 -04:00
Joey Hess
7d0cbea564
response 2021-02-01 12:07:22 -04:00
Joey Hess
6c237fbeb2
remove spam 2021-02-01 12:01:33 -04:00
Joey Hess
58216ef39d
Include libkqueue.h file needed to build the assistant on BSDs
I suspect this is a bug in cabal sdist, because with
Includes: Utility/libkqueue.h
the file is not included, but putting it in extra-files does
get it into the tarball.
2021-02-01 12:00:56 -04:00
Joey Hess
41bf440729
Fix build on openbsd. Thanks, James Cook for the patch. 2021-02-01 11:56:17 -04:00
arnoldbarclay
35a5ee92e2 Added a comment: App Development 2021-02-01 07:57:04 +00:00
gitannex@5bd4fdc44060e9df930b142f801e3fc0d543c85d
131aeb53a3 2021-02-01 05:35:28 +00: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
jrollins
65b7c8cb09 Added a comment 2021-01-31 20:28:23 +00:00
jrollins
e5314ec9ee 2021-01-31 20:22:50 +00:00
jrollins
82e058ee24 2021-01-31 20:17:19 +00:00
jrollins
602c74ed0a 2021-01-31 20:12:07 +00:00
EvanDeaubl
87222b70a5 nimbus.io as a storage provider is gone 2021-01-31 18:30:21 +00:00
falsifian
7bf84e4963 Added a comment: tests mostly pass 2021-01-31 05:07:16 +00:00
falsifian
7cfa1e61bf 2021-01-31 04:56:16 +00:00
falsifian
36aa9a1d24 2021-01-31 04:55:34 +00:00
Joey Hess
7d18153955
close 2021-01-29 15:54:13 -04:00
Joey Hess
69be08ce0e
close 2021-01-29 15:52:45 -04:00
Joey Hess
e560110a7e
close 2021-01-29 15:50:08 -04:00
Joey Hess
6569e35ba4
close 2021-01-29 15:48:45 -04:00
Joey Hess
e130af198a
comment 2021-01-29 15:42:37 -04:00
Joey Hess
a7eff71cff
Merge branch 'master' of ssh://git-annex.branchable.com 2021-01-29 15:39:02 -04:00
Joey Hess
30667c2512
close moreinfo 2021-01-29 15:36:36 -04:00
Joey Hess
0fc1b94018
done 2021-01-29 15:35:30 -04:00
Joey Hess
96ffea3439
close direct mode 2021-01-29 15:34:47 -04:00
Joey Hess
59d9cb5394
close with proof this is not a bug 2021-01-29 15:33:15 -04:00
Joey Hess
93a5342797
close 2021-01-29 15:29:55 -04:00
Joey Hess
0d411a4203
close 2021-01-29 15:27:43 -04:00
Joey Hess
e248252542
close 2021-01-29 15:26:06 -04:00
Joey Hess
655068c71a
merge 2021-01-29 15:24:47 -04:00
Joey Hess
d5a2c39933
reject 2021-01-29 15:13:16 -04:00
Joey Hess
8d4eb2d34e
get: Improve output when failing to get a file fails
showTriedRemotes lists the remotes it tried to access. So there's
no need to list those again in "Try making some of these remotes
available".
2021-01-29 15:11:19 -04:00
Joey Hess
7e9617ef47
comment 2021-01-29 15:01:56 -04:00
Joey Hess
966522571f
close moreinfo 2021-01-29 14:55:48 -04:00
Joey Hess
3861845ff3
retitle and confirmed 2021-01-29 14:53:45 -04:00
Joey Hess
b505ce6e53
close 2021-01-29 14:50:52 -04:00
Joey Hess
d9363de256
close 2021-01-29 14:49:55 -04:00
Joey Hess
65b5f91641
close 2021-01-29 14:47:31 -04:00
Joey Hess
93e5eb3378
comment 2021-01-29 14:44:03 -04:00
Joey Hess
b92963c766
close moreinfo 2021-01-29 14:35:25 -04:00
Joey Hess
fbf53c320d
comment and reject 2021-01-29 14:33:26 -04:00
Joey Hess
f8a13fbbce
close 2021-01-29 14:27:36 -04:00
Joey Hess
9201d70e93
close 2021-01-29 14:26:32 -04:00
Joey Hess
bf6557b4e8
close 2021-01-29 14:24:52 -04:00
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60
599aa893a8 Added a comment 2021-01-29 18:23:04 +00:00
Joey Hess
4da5635754
close 2021-01-29 14:20:09 -04:00
Joey Hess
45eb2757de
close 2021-01-29 14:19:01 -04:00
Joey Hess
162f149704
close 2021-01-29 14:16:16 -04:00
Joey Hess
2a5e032d15
close 2021-01-29 14:14:15 -04:00
Joey Hess
89a054a215
comment 2021-01-29 14:12:25 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
69205d6b06 2021-01-29 18:01:55 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
b7dfa38e1e Added a comment: Different use case from backend 2021-01-29 17:35:43 +00:00
Joey Hess
2902f91897
close moreinfo 2021-01-29 13:25:25 -04:00
Joey Hess
9bdcba9fcb
close 2021-01-29 13:24:28 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
263433d423 removed 2021-01-29 17:16:46 +00:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
d9bbaf003f Added a comment: I use git-annex with FAT32 2021-01-29 17:10:01 +00:00
Joey Hess
02b5bd224e
move to todo 2021-01-29 13:07:49 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
8f1a1546d0 removed 2021-01-29 17:02:59 +00:00
Joey Hess
f2756f6547
retitle strangely extensioned bug report 2021-01-29 12:59:26 -04:00
Joey Hess
70ac3cefc8
remove strangely extensioned and dup bug report 2021-01-29 12:59:05 -04:00
Joey Hess
79f8145a53
close git bug 2021-01-29 12:58:05 -04:00
Joey Hess
7f6e2da321
comment 2021-01-29 12:53:57 -04:00
Joey Hess
d3a71a5db6
close moreinfo 2021-01-29 12:50:38 -04:00
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68
ba24a61bf1 Added a comment: Thanks! And yes, no data loss. 2021-01-29 06:55:43 +00:00
Joey Hess
c35fa6975b
fix handling of implicit and before parens
Fix an oddity in matching options and preferred content expressions such as
"foo (bar or baz)", which was incorrectly handled as if it were "(foo or
bar) and baz)" rather than the intended "foo and (bar or baz)"

Seemed like a change to consume should be able to handle this case
better, but I was having trouble writing it that way, so instead added
a separate pass that inserts the implicit ands explicitly. Also added
several test cases to make sure versions with and without explicit ands
generate the same.
2021-01-28 13:51:07 -04:00
Joey Hess
6f78497572
When adding files to an adjusted branch set up by --unlock-present, add them unlocked, not locked
Missed this when implementing it because of the default case catching
the new constructor. So, removed that default case to make sure
future types of adjusted branches don't make the same mistake.

Complicated by git-annex addurl --fast which adds the file whose content
is not present, so it needs to stay unlocked when on such a branch.

This commit was sponsored by Brock Spratlen on Patreon.
2021-01-28 12:47:46 -04:00
Joey Hess
db1e6c0625
close 2021-01-28 12:42:05 -04:00
Joey Hess
133177b231
close 2021-01-28 12:40:04 -04:00
Joey Hess
e3224ff77d
formatLsTree did not use a tab where git does
Fixed that, and made parserLsTree accept the space as well as tab.

Fixes a reversion that made import of a tree from a special remote result in
a merge that deleted files that were not preferred content of that special
remote.
2021-01-28 12:36:37 -04:00
Joey Hess
3b8fcefb45
add news item for git-annex 8.20210127 2021-01-27 11:14:12 -04:00
Joey Hess
d4a3f856e9
rename forum post ending in a dot which breaks cloning on windows 2021-01-26 13:19:05 -04:00
Joey Hess
b372d962ae
Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00