Commit graph

39416 commits

Author SHA1 Message Date
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
Joey Hess
6940d4ad40
chance case of "transfer failed" to match "Transfer stalled" 2021-03-06 17:47:05 -04: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
cdd512cd9f
simplify 2021-03-05 14:22:04 -04:00
Joey Hess
1b041f5c51
avoid logging location of GIT keys
It's not necessary to log location of GIT keys, because these files are
not annexed files and so git-annex will never need to get them.

This corresponds to code in Annex.Import that already checked before
updating the location log when handling deleted files.

Older versions of git-annex that used SHA1 keys for non-annexed files
also unncessarily updated the location log for them.

GIT keys still appear in the git-annex branch for content identifier
logs, so kept the documentation of them in backends.mdwn

This commit was sponsored by Jake Vosloo on Patreon.
2021-03-05 14:12:34 -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
Joey Hess
cbf94fd13d
prep for fixing find --branch --unlocked
Added LinkType to ProvidedInfo, and unified MatchingKey with
ProvidedInfo. They're both used in the same way, so there was no real
reason to keep separate.

Note that addLocked and addUnlocked still set matchNeedsFileName,
because to handle MatchingFile, they do need it. However, they
don't use it when MatchingInfo is provided. This should be ok,
the --branch case will be able skip checking matchNeedsFileName,
since it will provide a filename in any case.
2021-03-02 13:39:31 -04:00
gerta
3d48e96972 2021-03-02 08:04:22 +00:00
Joey Hess
ee4fd38ecf
remove unused contentFile = Nothing 2021-03-01 16:35:38 -04: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
97ae474585
registerurl: Allow it to be used in a bare repository. 2021-03-01 14:03:03 -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
Joey Hess
a8b627d82b
uninit: Fix a small bug that left a lock file in .git/annex
unannex using git queue caused the queue lock to be taken after uninit had
cleaned out .git/annex. Flush the queue earlier to avoid.
2021-03-01 13:05:47 -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