git-annex/Command
Joey Hess 98a3ba0ea5
restore old registerurl location tracking behavior
registerurl: When an url is claimed by a special remote other than the web,
update location tracking for that special remote.

registerurl's behavior was changed in commit
451171b7c1, apparently accidentially to not
update location tracking except for the web.

This makes registerurl followed by unregisterurl not be a no-op, when the
url happens to be claimed by a remote other than the web. It is a noop when
the url is unclaimed except by the web. I don't like the inconsistency,
and wish that registerurl and unregisterurl never updated location
tracking, which would be more in keeping with them being plumbing.

But there is the fact that it used to behave this way, and also it was
inconsistent that it updated location tracking for the web but not for
other remotes, unlike addurl. And there's an argument that the user might
not know what remote to expect to claim an url, so would be considerably in
the dark when using registerurl. (Although they have to know what content
gets downloaded, since they specify a key..)

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
2023-04-05 17:06:44 -04:00
..
Add.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
AddUnused.hs get rid of racy addLink 2022-06-14 14:47:15 -04:00
AddUrl.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
Adjust.hs rename to --unlock-present and better reverse adjusting 2020-11-13 14:56:43 -04:00
Assistant.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Benchmark.hs
CalcKey.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
CheckPresentKey.hs --batch-keys 2021-08-25 14:21:12 -04:00
Config.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
ConfigList.hs don't frontload reconcileStaged in git-annex init 2022-11-18 13:58:47 -04:00
ContentLocation.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Copy.hs use transfer stages for copy --from 2023-01-24 14:07:49 -04:00
Dead.hs improve usage 2022-10-03 13:49:42 -04:00
Describe.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
DiffDriver.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
Direct.hs
Drop.hs registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
DropKey.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
DropUnused.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
EnableRemote.hs better handling of multiple repositories with the same name 2023-02-13 14:31:09 -04:00
EnableTor.hs Make git-annex enable-tor work when using the linux standalone build 2022-10-26 15:45:08 -04:00
ExamineKey.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Expire.hs Future proof activity log parsing 2021-06-14 14:18:19 -04:00
Export.hs registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
FilterBranch.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
FilterProcess.hs smudge: Warn when encountering a pointer file that has other content appended to it 2022-02-23 15:17:08 -04:00
Find.hs findkeys: New command, very similar to git-annex find but operating on keys 2023-01-17 14:51:57 -04:00
FindKeys.hs findkeys: New command, very similar to git-annex find but operating on keys 2023-01-17 14:51:57 -04:00
FindRef.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Fix.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Forget.hs Fix ambigous typos 2023-03-17 15:14:47 -04:00
FromKey.hs Windows: Support urls like "file:///c:/path" 2023-03-27 13:38:02 -04:00
Fsck.hs registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
FuzzTest.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
GCryptSetup.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Get.hs registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
Group.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
GroupWanted.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Help.hs
Import.hs registerurl, unregisterurl: Added --remote option 2023-04-05 15:54:41 -04:00
ImportFeed.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
InAnnex.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Indirect.hs
Info.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Init.hs don't frontload reconcileStaged in git-annex init 2022-11-18 13:58:47 -04:00
InitRemote.hs renameremote: Better handling of case where there are multiple special remotes with a name 2022-01-05 15:24:02 -04:00
Inprogress.hs more RawFilePath conversion 2020-11-02 16:31:28 -04:00
List.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Lock.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Log.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
LookupKey.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Map.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
MatchExpression.hs split ProvidedInfo and UserProvidedInfo 2020-09-28 12:12:38 -04:00
Merge.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
MetaData.hs use lookupKeyStaged in --batch code paths 2022-10-26 14:43:06 -04:00
Migrate.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
MinCopies.hs prevent numcopies or mincopies being configured to 0 2022-03-28 15:20:34 -04:00
Mirror.hs improve concurrency of move/copy --from --to 2023-01-24 13:59:39 -04:00
Move.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Multicast.hs avoid unix-compat's rename 2022-07-12 14:55:02 -04:00
NotifyChanges.hs
NumCopies.hs prevent numcopies or mincopies being configured to 0 2022-03-28 15:20:34 -04:00
P2P.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
P2PStdIO.hs
PostReceive.hs remove direct mode remnant of merging unrelated histories 2021-07-19 11:41:26 -04:00
PreCommit.hs understand adjusted view branch names 2023-02-27 14:57:58 -04:00
Proxy.hs
ReadPresentKey.hs
RecvKey.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
RegisterUrl.hs restore old registerurl location tracking behavior 2023-04-05 17:06:44 -04:00
Reinit.hs don't frontload reconcileStaged in git-annex init 2022-11-18 13:58:47 -04:00
Reinject.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
ReKey.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
RemoteDaemon.hs fix build warnings on windows 2023-03-21 18:41:23 -04:00
RenameRemote.hs better handling of multiple repositories with the same name 2023-02-13 14:31:09 -04:00
Repair.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
Required.hs
ResolveMerge.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Restage.hs restage: New git-annex command, handles restaging unlocked files 2022-09-23 16:29:59 -04:00
RmUrl.hs restore old registerurl location tracking behavior 2023-04-05 17:06:44 -04:00
Schedule.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Semitrust.hs improve usage 2022-10-03 13:49:42 -04:00
SendKey.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
SetKey.hs use RawFilePath version of rename 2022-06-22 16:47:34 -04:00
SetPresentKey.hs reject batch options combined with non-batch options 2022-01-26 13:00:19 -04:00
Smudge.hs smudge: Warn when encountering a pointer file that has other content appended to it 2022-02-23 15:17:08 -04:00
Status.hs deprecate git-annex status w/o runtime warning 2023-02-28 16:34:31 -04:00
Sync.hs sync: Fix parsing of gcrypt::rsync:// urls that use a relative path 2023-03-23 15:20:00 -04:00
Test.hs
TestRemote.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
TransferKey.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
TransferKeys.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Transferrer.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Trust.hs improve usage 2022-10-03 13:49:42 -04:00
Unannex.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Undo.hs finished this stage of the RawFilePath conversion 2020-11-04 14:20:37 -04:00
Ungroup.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Uninit.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Unlock.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
UnregisterUrl.hs restore old registerurl location tracking behavior 2023-04-05 17:06:44 -04:00
Untrust.hs improve usage 2022-10-03 13:49:42 -04:00
Unused.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
Upgrade.hs don't frontload reconcileStaged in git-annex init 2022-11-18 13:58:47 -04:00
VAdd.hs understand adjusted view branch names 2023-02-27 14:57:58 -04:00
VCycle.hs understand adjusted view branch names 2023-02-27 14:57:58 -04:00
Version.hs fix spelling of upgradeable 2022-01-19 12:14:50 -04:00
VFilter.hs understand adjusted view branch names 2023-02-27 14:57:58 -04:00
Vicfg.hs vicfg: Include mincopies configuration 2022-09-15 15:11:59 -04:00
View.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
VPop.hs understand adjusted view branch names 2023-02-27 14:57:58 -04:00
Wanted.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Watch.hs
WebApp.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Whereis.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
WhereUsed.hs remove --backend from global options 2022-06-29 13:33:25 -04:00