git-annex/Remote
Joey Hess 4e6324131d
compute remote: get input files from other remotes
This needed some refactoring to avoid cycles, since Remote.Compute
cannot import Remote.List. Instead, it uses Annex.remotes. Which must be
populated by something else, but we know it has been, because something
is using Remote.Compute, which it must have found in the remote list,
which populates that.

In Remote.Compute, keyPossibilities' is called with all loggedLocations,
without the trustExclude DeadTrusted that keyLocations does. There is
another cycle there. This may be a problem if a dead repository is still
a remote.

This is missing cycle prevention, and it's certianly possible to make 2
files in the compute remote co-depend on one-another. Hopefully not in a
real world situation, but it an attacker could certainly do it. Cycle
prevention will need to be added to this.
2025-03-04 11:06:58 -04:00
..
Directory more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
External more OsPath conversion 2025-01-28 16:31:19 -04:00
Helper more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
List compute remote: get input files from other remotes 2025-03-04 11:06:58 -04:00
Rsync more OsPath conversion 2025-01-28 16:31:19 -04:00
WebDAV more OsPath conversion 2025-01-28 15:46:00 -04:00
Adb.hs OsPath conversion of Remote.Adb 2025-02-05 11:16:20 -04:00
BitTorrent.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Borg.hs more OsPath conversion (650/749) 2025-02-07 17:03:31 -04:00
Bup.hs more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
Compute.hs compute remote: get input files from other remotes 2025-03-04 11:06:58 -04:00
Ddar.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Directory.hs push down OsPath into CopyFile 2025-02-12 13:11:27 -04:00
External.hs more OsPath conversion (475/749) 2025-02-05 12:14:56 -04:00
GCrypt.hs more OsPath conversion (502/749) 2025-02-05 13:29:58 -04:00
Git.hs remove unused adjustedBranchRefresh associated file parameter 2025-02-21 14:51:02 -04:00
GitLFS.hs improve apiurl description 2025-02-18 14:46:10 -04:00
Glacier.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Hook.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
HttpAlso.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
List.hs wip 2025-02-20 13:27:47 -04:00
P2P.hs added retrieveKeyFileInOrder and ORDERED to external special remote protocol 2024-10-15 15:40:14 -04:00
Rclone.hs rclone special remote 2024-04-17 15:20:37 -04:00
Rsync.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
S3.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
Tahoe.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
Web.hs refactor 2025-02-27 16:17:42 -04:00
WebDAV.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00