]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
3 years agoAdded a comment: Have a look at mount options
nobodyinperson [Mon, 13 Feb 2023 08:32:24 +0000 (08:32 +0000)]
Added a comment: Have a look at mount options

3 years agoAdded a comment
sb-beryllium@6e2c477eac63b823bd315ef8aaf5f93173c1f15b [Mon, 13 Feb 2023 00:46:46 +0000 (00:46 +0000)]
Added a comment

3 years ago(no commit message)
nadir [Sun, 12 Feb 2023 14:13:34 +0000 (14:13 +0000)]

3 years agoAdded a comment
sb-beryllium@6e2c477eac63b823bd315ef8aaf5f93173c1f15b [Sun, 12 Feb 2023 11:28:07 +0000 (11:28 +0000)]
Added a comment

3 years ago(no commit message)
sb-beryllium@6e2c477eac63b823bd315ef8aaf5f93173c1f15b [Sun, 12 Feb 2023 10:39:01 +0000 (10:39 +0000)]

3 years agomove a paragraph into the pages that the links it talks about were long ago moved to
Joey Hess [Sat, 11 Feb 2023 20:07:05 +0000 (16:07 -0400)]
move a paragraph into the pages that the links it talks about were long ago moved to

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 11 Feb 2023 19:21:07 +0000 (15:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoadd warning about Go's past and future data collection
Joey Hess [Sat, 11 Feb 2023 18:17:13 +0000 (14:17 -0400)]
add warning about Go's past and future data collection

Based on https://github.com/golang/go/discussions/58409, the Go compiler
already defaults to using a google proxy server, which would allow
Google to collect information about what dependencies users are
installing. (Of course they claim they won't.) Two separate environment
settings are needed to turn that off, and users in that thread were
surprised to learn about one of them.

So this warning is already appropriate to some extent.

Also based on the minimisation of user concerns by the golang developers
on that issue and elsewhere, it seems best to assume that they are not
going to be dissuaded from increasing data collection efforts in the future,
even if the blowback prevents this particular attempt.

So this warning should not be removed unless the Go community somehow
extricates itself from Google's control. Or unless ipfs is rewritten in
another language.

Some distros do have ipfs. Unfortunately, Debian appears to be structurally
incapable of packaging it. (8 years and counting;
https://bugs.debian.org/779893). So lots of users will be stuck
installing it from source or having to trust its official binaries.

3 years agoadd a warning about homebrew's use of analytics by default
Joey Hess [Sat, 11 Feb 2023 19:08:31 +0000 (15:08 -0400)]
add a warning about homebrew's use of analytics by default

It apparently displays a notice on first use, but I was surprised to
learn about this behavior today, and I've used it. Displaying a notice
does not make violating users' privacy acceptable.

3 years agoremove warning about ipfs being alpha code
Joey Hess [Sat, 11 Feb 2023 18:13:18 +0000 (14:13 -0400)]
remove warning about ipfs being alpha code

That may have been true in 2015, but seems very unlikely
to be true now.

3 years ago(no commit message)
Atemu [Fri, 10 Feb 2023 23:05:04 +0000 (23:05 +0000)]

3 years agoclose todo and open new one
Joey Hess [Fri, 10 Feb 2023 19:51:38 +0000 (15:51 -0400)]
close todo and open new one

3 years agofix buggy sync to exporttree remote when annex-tracking-branch is not checked out
Joey Hess [Fri, 10 Feb 2023 19:49:15 +0000 (15:49 -0400)]
fix buggy sync to exporttree remote when annex-tracking-branch is not checked out

sync: Fix a bug that caused files to be removed from an importtree=yes
exporttree=yes special remote when the remote's annex-tracking-branch was
not the currently checked out branch.

Sponsored-by: Max Thoursie on Patreon
3 years agobug report
Joey Hess [Fri, 10 Feb 2023 19:32:09 +0000 (15:32 -0400)]
bug report

3 years agofinishing up sync in view branch
Joey Hess [Fri, 10 Feb 2023 19:27:42 +0000 (15:27 -0400)]
finishing up sync in view branch

sync: When run in a view branch, avoid updating synced/ branches, or trying
to merge anything from remotes.

Sponsored-by: Erik Bjäreholt on Patreon
3 years agocomment
Joey Hess [Fri, 10 Feb 2023 18:42:14 +0000 (14:42 -0400)]
comment

3 years agosync: Warn when the adjusted basis ref cannot be found
Joey Hess [Fri, 10 Feb 2023 18:33:21 +0000 (14:33 -0400)]
sync: Warn when the adjusted basis ref cannot be found

As happens eg when the user has renamed branches.

Sponsored-by: Graham Spencer on Patreon
3 years agocomment
Joey Hess [Fri, 10 Feb 2023 18:16:23 +0000 (14:16 -0400)]
comment

3 years agocomment
Joey Hess [Fri, 10 Feb 2023 18:06:34 +0000 (14:06 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 10 Feb 2023 17:34:59 +0000 (13:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoSupport http urls that contain ":" that is not followed by a port number
Joey Hess [Fri, 10 Feb 2023 17:34:47 +0000 (13:34 -0400)]
Support http urls that contain ":" that is not followed by a port number

The same as git does.

Sponsored-by: Dartmouth College's DANDI project
3 years ago(no commit message)
a@92214b2eae95307f511e06845d2cb5b5931b00a3 [Fri, 10 Feb 2023 17:08:32 +0000 (17:08 +0000)]

3 years ago(no commit message)
jpds [Fri, 10 Feb 2023 15:10:17 +0000 (15:10 +0000)]

3 years ago(no commit message)
jpds [Fri, 10 Feb 2023 14:53:11 +0000 (14:53 +0000)]

3 years agoinitial report on http urls without port number
yarikoptic [Fri, 10 Feb 2023 14:16:53 +0000 (14:16 +0000)]
initial report on http urls without port number

3 years agoAdded a comment
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4 [Thu, 9 Feb 2023 14:22:19 +0000 (14:22 +0000)]
Added a comment

3 years ago(no commit message)
rshalaev@3e2130a1e3cb0aaff7dd80aba7548ad9be0ea2d4 [Thu, 9 Feb 2023 10:23:12 +0000 (10:23 +0000)]

3 years agoAdded a comment
jpds [Thu, 9 Feb 2023 09:51:21 +0000 (09:51 +0000)]
Added a comment

3 years agoAdded a comment: long filenames in view
nobodyinperson [Wed, 8 Feb 2023 22:11:30 +0000 (22:11 +0000)]
Added a comment: long filenames in view

3 years agoAdded a comment: `git annex sync` when in view
nobodyinperson [Wed, 8 Feb 2023 20:17:12 +0000 (20:17 +0000)]
Added a comment: `git annex sync` when in view

3 years agosync in view branch updates the view branch
Joey Hess [Wed, 8 Feb 2023 19:37:28 +0000 (15:37 -0400)]
sync in view branch updates the view branch

* sync: When run in a view branch, refresh the view branch to reflect any
    changes that have been made to the parent branch or metadata.

This is basically working, but probably needs some more work to deal with
all the edge cases of things sync does.

Sponsored-by: Lawrence Brogan on Patreon
3 years agoavoid sync pushing view branches to remotes, and better view branch names
Joey Hess [Wed, 8 Feb 2023 17:55:55 +0000 (13:55 -0400)]
avoid sync pushing view branches to remotes, and better view branch names

* sync: Avoid pushing view branches to remotes.
* Changed the name of view branches to include the parent branch.
  Existing view branches checked out using an old name will still work.

It does not seem useful for sync to push view branches around, because
the information in a view branch can entirely be derived from other
information in git. And sync doesn't push adjusted branches around either.

The better view branch names make it more in line with adjusted branch
names, but were also needed to make fromViewBranch be able to return the
original branch name.

Kept the old view branch names still working. But, when those branches
exist in a repo, sync will still try to push them as before. Avoiding
that would need more complicated and/or expensive changes to sync.

Sponsored-By: Boyd Stephen Smith Jr. on Patreon
3 years agodocument sync in adjusted branch behavior
Joey Hess [Wed, 8 Feb 2023 16:48:31 +0000 (12:48 -0400)]
document sync in adjusted branch behavior

This was documented in the git-annex-adjust man page, but not in
git-annex-sync

3 years agocomment
Joey Hess [Wed, 8 Feb 2023 16:41:54 +0000 (12:41 -0400)]
comment

3 years agolink to related todo
Joey Hess [Wed, 8 Feb 2023 16:35:29 +0000 (12:35 -0400)]
link to related todo

3 years agocomment
Joey Hess [Wed, 8 Feb 2023 16:24:35 +0000 (12:24 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 8 Feb 2023 16:22:42 +0000 (12:22 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agofix spelling
Joey Hess [Wed, 8 Feb 2023 16:21:53 +0000 (12:21 -0400)]
fix spelling

3 years agothought
Joey Hess [Wed, 8 Feb 2023 16:21:33 +0000 (12:21 -0400)]
thought

3 years agoAdded a comment
anarcat [Wed, 8 Feb 2023 15:38:03 +0000 (15:38 +0000)]
Added a comment

3 years agotodo
Joey Hess [Wed, 8 Feb 2023 13:40:07 +0000 (09:40 -0400)]
todo

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 7 Feb 2023 22:11:40 +0000 (18:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoadd FIELD?=GLOB to git-annex view usage
Joey Hess [Tue, 7 Feb 2023 22:09:10 +0000 (18:09 -0400)]
add FIELD?=GLOB to git-annex view usage

And also to vadd usage.

Also added some other things to the usage that were omitted before to
save space.

Adding even FIELD?=GLOB made the git-annex --help list of commands grow
too wide for an 80 column display. So, removed the description of
parameters from that list of commands.

Sponsored-By: Brock Spratlen on Patreon
3 years agoAdded a comment
nobodyinperson [Tue, 7 Feb 2023 20:54:48 +0000 (20:54 +0000)]
Added a comment

3 years agoadd directory to views for files that lack specified metadata
Joey Hess [Tue, 7 Feb 2023 20:28:46 +0000 (16:28 -0400)]
add directory to views for files that lack specified metadata

* view: New field?=glob and ?tag syntax that includes a directory "_"
  in the view for files that do not have the specified metadata set.
* Added annex.viewunsetdirectory git config to change the name of the
  "_" directory in a view.

When in a view using the new syntax, old git-annex will fail to parse the
view log. It errors with "Not in a view.", which is not ideal. But that
only affects view commands.

annex.viewunsetdirectory is included in the View for a couple of reasons.
One is to avoid needing to warn the user that it should not be changed when
in a view, since that would confuse git-annex. Another reason is that it
helped with plumbing the value through to some pure functions.

annex.viewunsetdirectory is actually mangled the same as any other view
directory. So if it's configured to something like "N/A", there won't be
multiple levels of directories, which would also confuse git-annex.

Sponsored-By: Jack Hill on Patreon
3 years agocomment
Joey Hess [Tue, 7 Feb 2023 17:31:45 +0000 (13:31 -0400)]
comment

3 years agoimprove docs of view exclude values
Joey Hess [Tue, 7 Feb 2023 16:46:19 +0000 (12:46 -0400)]
improve docs of view exclude values

3 years agocorrect docs on view exclude values to not say globs work
Joey Hess [Tue, 7 Feb 2023 16:42:26 +0000 (12:42 -0400)]
correct docs on view exclude values to not say globs work

globs have never worked in field!=
see commit c2e8c21ca673ceb91c96eacd22acfe949387bbed when the feature was
added, which discussed why

3 years agocomment
Joey Hess [Tue, 7 Feb 2023 16:35:01 +0000 (12:35 -0400)]
comment

3 years ago(no commit message)
anarcat [Mon, 6 Feb 2023 21:15:40 +0000 (21:15 +0000)]

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 6 Feb 2023 20:31:06 +0000 (16:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agofix build warning
Joey Hess [Mon, 6 Feb 2023 20:30:50 +0000 (16:30 -0400)]
fix build warning

3 years agoAdded a comment
MatusGoljer1 [Mon, 6 Feb 2023 19:30:02 +0000 (19:30 +0000)]
Added a comment

3 years agoS3 region=
Joey Hess [Mon, 6 Feb 2023 18:07:33 +0000 (14:07 -0400)]
S3 region=

S3: Support a region= configuration useful for some non-Amazon S3
implementations. This feature needs git-annex to be built with aws-0.24.

datacenter= sets both the AWS hostname and region in one setting, which is
easy when using AWS, but not useful for other hosts. So kept datacenter
as-is, but added this additional config.

Sponsored-By: Brett Eisenberg on Patreon
3 years agocomment
Joey Hess [Mon, 6 Feb 2023 17:05:27 +0000 (13:05 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 6 Feb 2023 16:50:34 +0000 (12:50 -0400)]
comment

3 years agoAdded a comment
mike@2d6d71f56ce2a992244350475251df87c26fe351 [Sun, 5 Feb 2023 22:41:28 +0000 (22:41 +0000)]
Added a comment

3 years ago(no commit message)
nobodyinperson [Fri, 3 Feb 2023 13:40:41 +0000 (13:40 +0000)]

3 years agoAdded a comment: 👍 +1 for updating the view when committing
nobodyinperson [Fri, 3 Feb 2023 13:25:22 +0000 (13:25 +0000)]
Added a comment: 👍 +1 for updating the view when committing

3 years agoAdded a comment
jpds [Thu, 2 Feb 2023 15:53:34 +0000 (15:53 +0000)]
Added a comment

3 years ago(no commit message)
jwodder [Wed, 1 Feb 2023 19:55:29 +0000 (19:55 +0000)]

3 years agoAdded a comment
hurlebouc [Wed, 1 Feb 2023 12:26:05 +0000 (12:26 +0000)]
Added a comment

3 years agoAdded a comment: same error, same fix
markus.l2ll@17cbf3ea36ca05f481e573fd58be50dce9bf8ef9 [Wed, 1 Feb 2023 06:44:22 +0000 (06:44 +0000)]
Added a comment: same error, same fix

3 years agoAdded a comment
jpds [Tue, 31 Jan 2023 22:28:16 +0000 (22:28 +0000)]
Added a comment

3 years agoanalysis
Joey Hess [Tue, 31 Jan 2023 19:58:21 +0000 (15:58 -0400)]
analysis

3 years agocorrect obsolete comment
Joey Hess [Tue, 31 Jan 2023 18:42:26 +0000 (14:42 -0400)]
correct obsolete comment

3 years agocomment
Joey Hess [Tue, 31 Jan 2023 17:29:57 +0000 (13:29 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 29 Jan 2023 15:32:00 +0000 (11:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoignore git-annex-build-deps files from dpkg-genbuilddeps
Joey Hess [Sun, 29 Jan 2023 15:29:51 +0000 (11:29 -0400)]
ignore git-annex-build-deps files from dpkg-genbuilddeps

The autobuilders run that in the git-annex tree, and the command
does not clean up after itself.

3 years ago(no commit message)
hurlebouc [Sun, 29 Jan 2023 06:54:07 +0000 (06:54 +0000)]

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 28 Jan 2023 18:26:14 +0000 (14:26 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agowork around ldd crash on arm64 autobuilder
Joey Hess [Sat, 28 Jan 2023 17:50:33 +0000 (13:50 -0400)]
work around ldd crash on arm64 autobuilder

This does mean it has to run ldd once per executable, which is actually
quite a number of times, so will be a bit slower.

Sponsored-by: Luke Shumaker on Patreon
3 years agoAdded a comment
jpds [Sat, 28 Jan 2023 00:00:13 +0000 (00:00 +0000)]
Added a comment

3 years agoAdded a comment: file:/// must be forced to file:// on windows
mih [Fri, 27 Jan 2023 09:19:10 +0000 (09:19 +0000)]
Added a comment: file:/// must be forced to file:// on windows

3 years agosupport old libgcc1 name
Joey Hess [Thu, 26 Jan 2023 19:37:21 +0000 (15:37 -0400)]
support old libgcc1 name

Used in Debian jessie, which the i386ancient autobuilder uses.

3 years agoadd upper bounds on base version
Joey Hess [Thu, 26 Jan 2023 19:33:52 +0000 (15:33 -0400)]
add upper bounds on base version

hackage now rejects packages without this

3 years agoadd upper bounds on Cabal version
Joey Hess [Thu, 26 Jan 2023 19:31:29 +0000 (15:31 -0400)]
add upper bounds on Cabal version

hackage now rejects packages without this. My bet is any version of
cabal is going to work, I'm using the public API. Annoying.

3 years agoadd news item for git-annex 10.20230126
Joey Hess [Thu, 26 Jan 2023 19:27:44 +0000 (15:27 -0400)]
add news item for git-annex 10.20230126

3 years agoreleasing package git-annex version 10.20230126
Joey Hess [Thu, 26 Jan 2023 19:27:32 +0000 (15:27 -0400)]
releasing package git-annex version 10.20230126

3 years agonew linux autobuilder
Joey Hess [Thu, 26 Jan 2023 19:25:54 +0000 (15:25 -0400)]
new linux autobuilder

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 26 Jan 2023 18:54:02 +0000 (14:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoremove libghc-pcre-light-dev build dep
Joey Hess [Thu, 26 Jan 2023 18:53:19 +0000 (14:53 -0400)]
remove libghc-pcre-light-dev build dep

Unused build dep.

Also updated some other deps based on debian's fork of this file.

3 years agoAdded a comment: thanks
aca [Wed, 25 Jan 2023 14:01:08 +0000 (14:01 +0000)]
Added a comment: thanks

3 years agoAdded a comment: Thank you!!
nobodyinperson [Tue, 24 Jan 2023 21:15:50 +0000 (21:15 +0000)]
Added a comment: Thank you!!

3 years agoimprove wording
Joey Hess [Tue, 24 Jan 2023 18:11:32 +0000 (14:11 -0400)]
improve wording

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 24 Jan 2023 18:08:40 +0000 (14:08 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agouse transfer stages for copy --from
Joey Hess [Tue, 24 Jan 2023 18:03:26 +0000 (14:03 -0400)]
use transfer stages for copy --from

See commit e04a9314392037e7b54a098f9709fc6040327411 for an explanation
of why move uses transfer stages for --from, but command stages for
--to. At the point of that commit, copy was actually already using
command stages for everything, so the commit was incorrect about
improving copy --to.

But, the same reasoning about --from applies to copy as to move; when
verification is not done incrementally, download and verification are
the main two stages. The cleanup stage for copy is even less work than
for move (it doesn't drop from the remote).

Sponsored-by: Dartmouth College's DANDI project
3 years agoimprove concurrency of move/copy --from --to
Joey Hess [Tue, 24 Jan 2023 17:45:01 +0000 (13:45 -0400)]
improve concurrency of move/copy --from --to

Use separate stages for download and upload. In the common case where
it downloads the file from one remote and then uploads to the other,
those are by far the most expensive operations, and there's a decent
chance the two remotes bottleneck on different resources.

Suppose it's being run with -J2 and a bunch of 10 mb files. Two threads
will be started both downloading from the src remote. They will probably
finish at the same time. Then two threads will be started uploading to
the dst remote. They will probably take the same time as well. Before
this change, it would alternate back and forth, bottlenecking on src and dst.
With this change, as soon as the two threads start uploading to dst, two
more threads are able to start, downloading from src. So bandwidth to
both remotes is saturated more often.

Other commands that use transferStages only send in one direction at a
time. So the worker threads for the other direction will sit idle, and
there will be no change in their behavior.

Sponsored-by: Dartmouth College's DANDI project
3 years agoAdded a comment
jpds [Tue, 24 Jan 2023 15:55:36 +0000 (15:55 +0000)]
Added a comment

3 years agoAdded a comment
nobodyinperson [Mon, 23 Jan 2023 22:55:11 +0000 (22:55 +0000)]
Added a comment

3 years agoAdded a comment
nobodyinperson [Mon, 23 Jan 2023 22:38:28 +0000 (22:38 +0000)]
Added a comment

3 years agoupdate
Joey Hess [Mon, 23 Jan 2023 22:08:55 +0000 (18:08 -0400)]
update

3 years agoMerge branch 'fromto'
Joey Hess [Mon, 23 Jan 2023 22:01:57 +0000 (18:01 -0400)]
Merge branch 'fromto'

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 23 Jan 2023 22:01:12 +0000 (18:01 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agodone
Joey Hess [Mon, 23 Jan 2023 21:57:15 +0000 (17:57 -0400)]
done

3 years agofix behavior of copy --from --to
Joey Hess [Mon, 23 Jan 2023 21:53:57 +0000 (17:53 -0400)]
fix behavior of copy --from --to

Sponsored-by: Dartmouth College's DANDI project
3 years agoMerge branch 'master' into fromto
Joey Hess [Mon, 23 Jan 2023 21:44:44 +0000 (17:44 -0400)]
Merge branch 'master' into fromto

3 years agofinishing up move --from --to
Joey Hess [Mon, 23 Jan 2023 21:07:21 +0000 (17:07 -0400)]
finishing up move --from --to

Lock the local content for drop after getting it from src, to prevent another
process from using the local content as a copy and dropping it from src,
which would prevent dropping the local content after sending it to dest.

Support resuming an interrupted move that downloaded the content from
src, leaving the local content populated. In this case, the location log
has not been updated to say the content is present locally, so we can
assume that it's resuming and go ahead and drop the local content after
sending it to dest.

Note that if a `git-annex get` is being ran at the same time as a
`git-annex move --from --to`, it may get a file just before the move
processes it. So the location log has not been updated yet, and the move
thinks it's resuming. Resulting in local copy being dropped after it's
sent to the dest. This race is something we'll just have to live with,
it seems.

I also gave up on the idea of checking if the location log had been updated
by a `git-annex get` that is ran at the same time. That wouldn't work, because
the location log is precached in the seek stage, so reading it again after
sending the content to dest would not notice changes made to it, unless the cache
were invalidated, which would slow it down a lot. That idea anyway was subject
to races where it would not detect the concurrent `git-annex get`.

So concurrent `git-annex get` will have results that may be surprising.
To make that less surprising, updated the documentation of this feature to
be explicit that it downloads content to the local repository
temporarily.

Sponsored-by: Dartmouth College's DANDI project
3 years agofully working move --from --to (not release quality)
Joey Hess [Mon, 23 Jan 2023 19:36:06 +0000 (15:36 -0400)]
fully working move --from --to (not release quality)

When the destination already has a copy, it behaves the same as
drop --from really, but display it as a move and implement it
reusing the factored out code from fromPerform.

(Note that willDropMakeItWorse never returns DropAllowed in that
situation, because it's told that dest has a copy. So numcopies is
always checked.)

And when only the source and not the local repo or destination have a
copy, do the full copy from source to local, then copy from local to
dest, then drop from local, then drop from source dance.

This is complicated by fromPerform being hardcoded to assume there is a
local copy, but the local copy has already been dropped. That's why
it uses cleanupfromsrc RemoveNever to avoid the code that makes that
assumption, and finishes with a call to dropfromsrc.

And, since the location log has not yet been updated, checking numcopies
was not working, until I added UnVerifiedRemote dest to the list of
things to check.

This is not yet quite mergeable though. There are two things in the
comment above fromToPerform that are not implemented yet: Checking the
location log before dropping the local copy, and locking the temporary
local copy for drop.

Sponsored-by: Dartmouth College's DANDI project
3 years agopush location log updating up to callers of download
Joey Hess [Mon, 23 Jan 2023 17:45:26 +0000 (13:45 -0400)]
push location log updating up to callers of download

Prep for move --to --from, which needs to download from a src repo
without updating the location log for the local repo, before sending the
content on to the dest repo.

Note that caller of download' already update the log themselves.
See previous commit a422a056f2785999220cde55e07b0fbf999edd44
that pushed it up to download from getViaTmpFrom.

(Also removed in passing a debug print + readline that I accidentially
committed last week on this branch.)

Sponsored-by: Dartmouth College's DANDI project