git-annex/Annex
Joey Hess 340bdd0dac
treat "not present" in preferred content as invalid
Detect when a preferred content expression contains "not present", which
would lead to repeatedly getting and then dropping files, and make it never
match. This also applies to "not balanced" and "not sizebalanced".

--explain will tell the user when this happens

Note that getMatcher calls matchMrun' and does not check for unstable
negated limits. While there is no --present anyway, if there was,
it would not make sense for --not --present to complain about
instability and fail to match.
2024-09-03 13:50:06 -04:00
..
AdjustedBranch multiple -m second try 2024-04-09 12:56:47 -04:00
Branch newtype MapLog 2023-11-13 14:37:22 -04:00
Concurrent
Content disk free checking for unsized keys 2024-01-16 14:29:10 -04:00
Debug
LockPool avoid annexFileMode special case 2023-04-27 15:58:37 -04:00
MetaData sqlite datbase for importfeed 2023-10-23 16:46:22 -04:00
RepoSize use Utility.PID 2024-08-30 14:56:38 -04:00
SpecialRemote proxied exporttree=yes versionedexport=yes remotes are not untrusted 2024-08-08 15:24:19 -04:00
VectorClock Lower precision of timestamps in git-annex branch 2023-12-11 15:04:06 -04:00
View annex.maxextensions configuration 2024-04-18 14:23:38 -04:00
Action.hs remove dead nodes when loading the cluster log 2024-06-16 14:39:44 -04:00
AdjustedBranch.hs adjust unlocked execute bit handling 2024-05-28 12:39:42 -04:00
AutoMerge.hs push RawFilePath down into Annex.ReplaceFile 2023-10-26 13:36:49 -04:00
Balanced.hs implement fullbalanced=group:N 2024-08-20 13:51:02 -04:00
BloomFilter.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Branch.hs partially fix concurrency issue in updating the rollingtotal 2024-08-26 09:43:32 -04:00
BranchState.hs smarter BranchState cache invalidation 2024-07-28 12:33:32 -04:00
CatFile.hs
ChangedRefs.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
CheckAttr.hs config: Added the --show-origin and --for-file options 2023-06-12 16:24:31 -04:00
CheckIgnore.hs
Cluster.hs LiveUpdate for clusters 2024-08-24 10:20:12 -04:00
Common.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Concurrent.hs
Content.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
CopyFile.hs RawFilePath conversion 2024-01-19 14:26:21 -04:00
CurrentBranch.hs
Debug.hs display explanations in --debug too 2023-07-31 13:06:40 -04:00
Difference.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
DirHashes.hs
Drop.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Environment.hs improve comments 2023-04-04 15:23:39 -04:00
Export.hs rename Git.Filename to Git.Quote 2023-04-12 17:22:03 -04:00
ExternalAddonProcess.hs startExternalAddonProcess add parameters 2024-04-17 13:09:10 -04:00
FileMatcher.hs treat "not present" in preferred content as invalid 2024-09-03 13:50:06 -04:00
Fixup.hs
GitOverlay.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
HashObject.hs
Hook.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Import.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Ingest.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Init.hs remove dead nodes when loading the cluster log 2024-06-16 14:39:44 -04:00
InodeSentinal.hs fix perms for core.sharedRepository 2023-04-26 16:29:11 -04:00
Journal.hs share single BranchState amoung all threads 2024-07-28 12:30:27 -04:00
Link.hs fix hang when built with unix-2.8 2023-08-01 20:22:28 -04:00
Locations.hs fix paste oops 2024-08-30 14:35:05 -04:00
LockFile.hs fix liveupdate locking 2024-08-30 14:49:18 -04:00
LockPool.hs
Magic.hs
MetaData.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Multicast.hs
Notification.hs
NumCopies.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Path.hs Propagate --force to git-annex transferrer 2024-07-23 21:16:56 -04:00
Perms.hs avoid annexFileMode special case 2023-04-27 15:58:37 -04:00
PidLock.hs
Proxy.hs LiveUpdate for clusters 2024-08-24 10:20:12 -04:00
Queue.hs
RemoteTrackingBranch.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
ReplaceFile.hs push RawFilePath down into Annex.ReplaceFile 2023-10-26 13:36:49 -04:00
RepoSize.hs avoid locking the journal in readonly repository 2024-08-30 11:58:10 -04:00
SafeDropProof.hs use REMOVE-BEFORE in P2P protocol 2024-07-04 13:47:38 -04:00
SpecialRemote.hs init: Avoid autoenabling special remotes that have control characters in their names 2023-04-12 12:37:12 -04:00
Ssh.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
StallDetection.hs add directional stalldetection and bwlimit configs 2024-01-19 15:27:53 -04:00
Startup.hs Avoid loading cluster log at startup 2024-07-31 15:54:14 -04:00
TaggedPush.hs simplify base64 to only use ByteString 2023-10-26 13:10:05 -04:00
Tmp.hs fix empty tree import when directory does not exist 2023-08-15 12:57:41 -04:00
Transfer.hs add optional object file location to storeKey 2024-07-01 10:42:27 -04:00
TransferrerPool.hs avoid build warning on windows 2023-03-27 12:19:26 -04:00
UntrustedFilePath.hs fix mojibake reversion in display of utf8 2023-04-12 13:53:30 -04:00
UpdateInstead.hs
Url.hs avoid unncessary use of curl when conduit will do 2023-08-22 10:25:53 -04:00
UUID.hs proxying GET now working 2024-06-11 15:09:43 -04:00
VariantFile.hs
VectorClock.hs
Verify.hs When proxying an upload to a special remote, verify the hash. 2024-07-29 13:40:51 -04:00
Version.hs
View.hs annex.maxextensions configuration 2024-04-18 14:23:38 -04:00
Wanted.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
WorkerPool.hs add Annex worker pool to P2PHttp 2024-07-10 12:19:47 -04:00
WorkTree.hs
YoutubeDl.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00