Commit graph

12399 commits

Author SHA1 Message Date
Joey Hess
b94221594b
add: When adding a dotfile as a non-large file, mention that it's a dotfile
This is to reduce user confusion when their annex.largefiles matches it,
or is not set.

Note that, when annex.dotfiles is set, but a dotfile is not matched by
annex.largefiles, the "non-large file" message will be displayed. That
makes sense because whether the file is a dotfile does not matter with that
configuration.

Also, this slightly optimised the annex.dotfiles path in passing,
by avoiding the slight slowdown caused by the check added in commit
876d5b6c6f in that case.
2024-11-13 14:09:24 -04:00
Joey Hess
876d5b6c6f
add: Consistently treat files in a dotdir as dotfiles, even when ran inside that dotdir
Assistant and smudge also updated.

This does add a small amount of extra work, getting the TopFilePath.
Not enough to be concerned by.

Also improve documentation to make clear that files inside dotdirs are
treated as dotfiles.

Sponsored-by: Eve on Patreon
2024-11-13 13:43:01 -04:00
Joey Hess
1f59dae0bd
fix link 2024-11-13 12:59:22 -04:00
Joey Hess
646d7e02cc
dotfile 2024-11-13 12:57:54 -04:00
datamanager
6710869043 Added a comment 2024-11-13 00:30:25 +00:00
datamanager
720f5cc494 removed 2024-11-13 00:30:05 +00:00
datamanager
ddd21af807 removed 2024-11-13 00:29:31 +00:00
datamanager
394fa5386d Added a comment 2024-11-13 00:29:14 +00:00
datamanager
18188942f7 Added a comment 2024-11-13 00:29:05 +00:00
yarikoptic
96ab18ab07 initial report on annex import slowing to crawl on dandiarchive/dandisets/ 2024-11-12 20:11:25 +00:00
Joey Hess
fa3e4d0c64
Merge branch 'master' of ssh://git-annex.branchable.com 2024-11-12 14:34:05 -04:00
Joey Hess
2f5ef04bf5
implemented 2024-11-12 14:33:42 -04:00
Joey Hess
03662e4d83
comments 2024-11-12 14:31:28 -04:00
Stanley
60c2c363ae 2024-11-12 09:08:54 +00:00
yarikoptic
89fecd5dba Added a comment 2024-11-11 22:11:13 +00:00
Joey Hess
e712d30eef
comment 2024-11-11 16:41:50 -04:00
Joey Hess
1e18df9c3a
response 2024-11-11 14:32:44 -04:00
Joey Hess
c8e83189f6
close 2024-11-11 13:47:02 -04:00
Joey Hess
700be6c38f
git-remote-annex: Fix a reversion
Introduced in version 10.20241031 that broke cloning from a special remote

retrieveKeyFile changed to use createAnnexDirectory, which means that the
path passed to it needs to be under .git

git-remote-annex is probably the only thing in git-annex where that was not
the case. And there's no real reason it cannot be the case with it either.
Just use withOtherTmp.
2024-11-11 12:42:35 -04:00
Joey Hess
d2f540b1d2
analysis 2024-11-11 12:25:56 -04:00
Joey Hess
a18ec25842
break out new bug report 2024-11-11 12:02:41 -04:00
Atemu
db3ad985bd 2024-11-11 06:40:16 +00:00
AlexPraga
a013398455 Added a comment: Follow-up 2024-11-07 21:46:32 +00:00
yarikoptic
027bd5bfeb 2024-11-07 21:39:42 +00:00
yarikoptic
2e03c7397a add empty line so ``` is formatted correctly 2024-11-07 21:39:17 +00:00
yarikoptic
4214a47114 initial remote on need to check if versioning already enabled and thus avoid PUT 2024-11-07 21:38:35 +00:00
yarikoptic
810de3108d initial report on keeping adding to git 2024-11-04 17:52:14 +00:00
matrss
f3cb16864b Added a comment 2024-11-04 14:52:56 +00:00
Joey Hess
9db69a4c2c
fix reversion in getting from unchunked encrypted special remotes
Have to use the object file for the encrypted key, not the unencrypted
key.

Bug introduced in 835283b862
2024-10-28 12:20:10 -04:00
Joey Hess
63b33750c9
bisected 2024-10-28 12:01:23 -04:00
Joey Hess
12626c7fae
reproduced 2024-10-28 11:46:04 -04:00
yarikoptic
e1927e1e57 initial report on fresh FTBFS on debian 2024-10-24 14:00:14 +00:00
Joey Hess
cf7e6835ca
comment 2024-10-22 13:54:54 -04:00
Joey Hess
f54c5260e4
followup and close 2024-10-22 13:25:46 -04:00
Joey Hess
6396926375
close old xmpp bug 2024-10-22 13:19:04 -04:00
matrss
e0227d1d28 Added a comment 2024-10-22 14:44:10 +00:00
matrss
d33e4c8435 Added a comment: Re: rclone remote config in special remote 2024-10-22 14:13:53 +00:00
Joey Hess
bdf3a4747f
adjust: Allow any order of options when combining --hide-missing with options like --unlock.
optparse-applicative made this hard, the naive implementation this had
before didn't let --hide-missing come after --unlock. And just adding
additional <|> with --hide-missing coming after --unlock didn't work
either. So need to get some options and then combine them.
2024-10-21 16:03:39 -04:00
Joey Hess
4c1b3ca6bb
comment 2024-10-21 15:07:19 -04:00
Joey Hess
66e1b66fad
comment 2024-10-21 12:08:56 -04:00
Joey Hess
952442fdc4
comment 2024-10-21 11:24:50 -04:00
Joey Hess
de138c642b
p2phttp: Allow unauthenticated users to lock content by default
* p2phttp: Allow unauthenticated users to lock content by default.
* p2phttp: Added --unauth-nolocking option to prevent unauthenticated
  users from locking content.

The rationalle for this is that locking is not really a write operation, so
makes sense to allow in a repository that only allows read-only access. Not
supporting locking in that situation will prevent the user from dropping
content from a special remote they control in cases where the other copy of
the content is on the p2phttp server.

Also, when p2phttp is configured to also allow authenticated access,
lockcontent was resulting in a password prompt for users who had no way to
authenticate. And there is no good way to distinguish between the two types
of users client side.

--unauth-nolocking anticipates that this might be abused, and seems better
than disabling unauthenticated access entirely if a server is being
attacked. It may be that rate limiting locking by IP address or similar
would be an effective measure in such a situation. Or just limiting the
number of locks by anonymous users that can be live at any one time. Since
the impact of such an DOS attempt is limited to preventing dropping content
from the server, it seems not a very appealing target anyway.
2024-10-21 10:02:12 -04:00
Joey Hess
87c88025d1
comment 2024-10-19 17:53:28 -04:00
Joey Hess
e9771ff45c
tag 2024-10-19 17:13:26 -04:00
Joey Hess
82e91b380a
add GITMANIFEST to parseKeyVariety
git-remote-annex: Fix bug that prevented using it with external special
remotes, leading to protocol error messages involving "GITMANIFEST".
2024-10-19 17:12:23 -04:00
Joey Hess
bbc2d47782
comment 2024-10-19 16:43:35 -04:00
matrss
4a810c56b2 Added a comment 2024-10-18 16:56:46 +00:00
Joey Hess
a3d1d3bcb6
comments 2024-10-18 12:04:48 -04:00
Joey Hess
14336b9660
fix build on windows
Utility.OpenFile is posix only
2024-10-18 10:17:07 -04:00
yarikoptic
0784ca2339 report on windows FTBFS 2024-10-18 13:04:49 +00:00