Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix local dropping to not require extra locking of copies, but only that the ↵ | Joey Hess | 2015-10-09 |
| | | | | local copy be locked for removal | ||
* | improve message when drop failed due to no locked copy | Joey Hess | 2015-10-09 |
| | |||
* | rename constructor | Joey Hess | 2015-10-09 |
| | |||
* | verify local copy of content with locking | Joey Hess | 2015-10-09 |
| | |||
* | display drop safety proofs in debug mode | Joey Hess | 2015-10-09 |
| | |||
* | fix lockKey to run callback in original Annex monad, not local remote's | Joey Hess | 2015-10-09 |
| | |||
* | content locking during drop working for local git remotes | Joey Hess | 2015-10-09 |
| | | | | Only ssh remotes lack locking now | ||
* | finish and use lockContent interface | Joey Hess | 2015-10-09 |
| | |||
* | improve drop proof code | Joey Hess | 2015-10-09 |
| | |||
* | refactor | Joey Hess | 2015-10-09 |
| | |||
* | TrustedCopy is good enough to allow dropping | Joey Hess | 2015-10-08 |
| | | | | | | | By definition, a trusted repository is trusted to always have its location tracking log accurate. Thus, it should never be in a position where content is being dropped from it concurrently, as that would result in the location tracking log not being accurate. | ||
* | try harder to verify until at least one VerifiedCopyLock is obtained | Joey Hess | 2015-10-08 |
| | | | | | | | | | This avoids a failure where eg, we start with RecentlyVerifiedCopies for all remotes, and so didn't do any active verification, which is required. Also, dedup the list of VerifiedCopies when checking if we have enough, in case 2 copies of a UUID slip in. | ||
* | require 1 locked copy while dropping from local or a remote | Joey Hess | 2015-10-08 |
| | | | | | | | | | See doc/bugs/concurrent_drop--from_presence_checking_failures.mdwn for discussion about why 1 locked copy is all we can require, and how this fixes concurrent dropping bugs. Note that, since nothing yet generates a VerifiedCopyLock yet, this commit breaks dropping temporarily. | ||
* | support invalidating existing VerifiedCopys | Joey Hess | 2015-10-08 |
| | |||
* | add VerifiedCopy data type | Joey Hess | 2015-10-08 |
| | | | | | | | | | There should be no behavior changes in this commit, it just adds a more expressive data type and adjusts code that had been passing around a [UUID] or sometimes a Maybe Remote to instead use [VerifiedCopy]. Although, since some functions were taking two different [UUID] lists, there's some potential for me to have gotten it horribly wrong. | ||
* | add removeKey action to Remote | Joey Hess | 2015-10-08 |
| | | | | | Not implemented for any remotes yet; probably the git remote is the only one that will ever implement it. | ||
* | unused import | Joey Hess | 2015-10-08 |
| | |||
* | I think this comment is stale/confusing; remove | Joey Hess | 2015-10-08 |
| | |||
* | git-annex-shell: Added lockcontent command, to prevent dropping of key's ↵ | Joey Hess | 2015-10-08 |
| | | | | content. | ||
* | add lockContentShared | Joey Hess | 2015-10-08 |
| | | | | | | | | Also, rename lockContent to lockContentExclusive inAnnexSafe should perhaps be eliminated, and instead use `lockContentShared inAnnex`. However, I'm waiting on that, as there are only 2 call sites for inAnnexSafe and it's fiddly. | ||
* | export FileMode type | Joey Hess | 2015-10-08 |
| | |||
* | add tryLockShared | Joey Hess | 2015-10-08 |
| | |||
* | open lock file ReadOnly when taking shared lock | Joey Hess | 2015-10-08 |
| | | | | It's only necessary to open a file for write when taking an exclusive lock. | ||
* | getting proof-y | Joey Hess | 2015-10-07 |
| | |||
* | Debian: Remove dependency on transformers library, as it is now included in ghc. | Joey Hess | 2015-10-07 |
| | | | | Backporters will need to revert this. | ||
* | titles | Joey Hess | 2015-10-07 |
| | |||
* | indents | Joey Hess | 2015-10-07 |
| | |||
* | alternative solution | Joey Hess | 2015-10-07 |
| | |||
* | analysis of some topologies, and idea to generate moves | Joey Hess | 2015-10-07 |
| | |||
* | Debian: Add torrent library to build-depends as it's packaged now, and stop ↵ | Joey Hess | 2015-10-07 |
| | | | | recommending bittornado | bittorrent. | ||
* | be verbose to debug problem with aws | Joey Hess | 2015-10-06 |
| | |||
* | add test cases for copy --auto | Joey Hess | 2015-10-06 |
| | | | | | | (Only --from for now, should add --to sometime but I'm on low sleep so this is the mininal test to catch the reversion just fixed, bad me for doing it backwards and incompletely.) | ||
* | copy --auto was checking the wrong repo's preferred content. (--from was ↵ | Joey Hess | 2015-10-06 |
| | | | | checking what --to should, and vice-versa.) Fixed this bug, which was introduced in version 5.20150727. | ||
* | oops, didn't mean to commit this debug | Joey Hess | 2015-10-06 |
| | |||
* | analysis | Joey Hess | 2015-10-06 |
| | |||
* | comment | Joey Hess | 2015-10-06 |
| | |||
* | force installing older warp; current fails to build | Joey Hess | 2015-10-06 |
| | |||
* | sed out the filename from sha1sum output | Joey Hess | 2015-10-06 |
| | |||
* | hopefuly fix sha1sum calling; also refactor and check downloaded program's ↵ | Joey Hess | 2015-10-06 |
| | | | | sha before using it | ||
* | confirmed | Joey Hess | 2015-10-06 |
| | |||
* | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2015-10-06 |
|\ | |||
* | | response | Joey Hess | 2015-10-06 |
| | | |||
| * | Add some precision about the versions tested and why it is a bug in mind opinion | konubinix | 2015-10-06 |
| | | |||
* | | response | Joey Hess | 2015-10-06 |
| | | |||
* | | comment | Joey Hess | 2015-10-06 |
| | | |||
| * | (no commit message) | konubinix | 2015-10-06 |
|/ | |||
* | show git-annex init w/o description for laptop, where default would suffice. ↵ | Joey Hess | 2015-10-06 |
| | | | | And for init of usb drive, be clear that it's a description, not a name. | ||
* | response | Joey Hess | 2015-10-06 |
| | |||
* | avoid using print action, which is reserved for debugging | Joey Hess | 2015-10-06 |
| | |||
* | comment | Joey Hess | 2015-10-06 |
| |