summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* only do scan when there's a branch, not in freshly created new repoGravatar Joey Hess2016-01-01
|
* reorderGravatar Joey Hess2016-01-01
| | | | | | May be unlocked files pulled from elsewhere, but converting from direct mode will add more. So, do the scan for them first, since it empties anything currently in the database.
* scan for unlocked files on init/upgrade of v6 repoGravatar Joey Hess2016-01-01
|
* updateGravatar Joey Hess2016-01-01
|
* switch to using main ingest codeGravatar Joey Hess2016-01-01
| | | | | Fixes at least one bug, in populating existing worktree files that use the same key that's ingested.
* started working on testing v6 unlocked filesGravatar Joey Hess2016-01-01
| | | | Many failures.
* convert isPointerFile from Annex to IOGravatar Joey Hess2016-01-01
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-31
|\
* | improve name of keys database lock fileGravatar Joey Hess2015-12-31
| |
| * (no commit message)Gravatar lars@20e4ed7efd4581b7e490713058bd5f94e43488a12015-12-30
|/
* add test: conflict resolution (mixed locked and unlocked file)Gravatar Joey Hess2015-12-30
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-30
|\
* | test suite 100% pass in v6, finally!Gravatar Joey Hess2015-12-30
| | | | | | | | | | Set annex.largefiles when adding the conflicting non-annexed file, otherwise it would be added as an annexed file.
* | fix failing git-annex unused test case in v6Gravatar Joey Hess2015-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | WorkTree.lookupFile was finding a key for a file that's deleted from the work tree, which is different than the v5 behavior (though perhaps the same as the direct mode behavior). Fix by checking that the work tree file exists before catting its key. Hopefully this won't slow down much, probably the catKey is much more expensive. I can't see any way to optimise this, except perhaps to make Command.Unused check if work tree files exist before/after calling lookupFile. But, it seems better to make lookupFile really only find keys for worktree files; that's what it's intended to do.
* | set annex.largefiles earlier in test suiteGravatar Joey Hess2015-12-30
| | | | | | | | The ingitfile was having git run it through the clean filter in some cases.
| * Added a comment: SELinuxGravatar divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f8992015-12-30
| |
| * Added a comment: Logcat output -- SELinuxGravatar divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f8992015-12-30
|/
* move check for if direct mode is supported to the right placeGravatar Joey Hess2015-12-29
| | | | Need to run that check inside a annex repo.
* devblogGravatar Joey Hess2015-12-29
|
* updateGravatar Joey Hess2015-12-29
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2015-12-29
|\
* | flush queue before cleaning cruftGravatar Joey Hess2015-12-29
| | | | | | | | | | | | | | | | | | | | | | Else, queued file stages won't have reached the index, and it won't find everthing. This evidently fixes a reversion in my work today, although I don't see how I broke it. It didn't use to flush the queue first, before, and worked somehow. Test suite for v5 is back to 100% green now.
* | test suite noticed a direct mode reversionGravatar Joey Hess2015-12-29
| |
* | renameGravatar Joey Hess2015-12-29
| |
| * Added a comment: Link to THGravatar umeboshi2015-12-29
| |
* | don't disable smudge filter while mergingGravatar Joey Hess2015-12-29
| | | | | | | | | | | | | | | | | | | | | | The smudge filter does need to be run, because if the key is in the local annex already (due to renaming, or a copy of a file added, or a new file added and its content has already arrived), git merge smudges the file and this should provide its content. This does probably mean that in merge conflict resolution, git smudges the existing file, re-copying all its content to it, and then the file is deleted. So, not efficient.
* | avoid renaming file when auto-resolving conflict in annex pointerGravatar Joey Hess2015-12-29
| | | | | | | | | | | | | | | | | | | | This is a behavior change for merge conflicts between locked files that both pointed to the same key, in different ways. Before, the conflict was resolved, but the file was renamed to .variant. This was unnecessary, because there was only one variant. Of course, this also handles conflicts between unlocked and locked, or even two unlocked files with different pointer contents.
* | fix inode cache consistency bug when a merge unlocks a present fileGravatar Joey Hess2015-12-29
| | | | | | | | | | | | | | | | Since the file was present and locked, its annex object was not in the inode cache. So, despite not needing to update the annex object when the clean filter is run on the content by git merge, it does need to record the inode cache of the annex object. Otherwise, the annex object will be assumed to be bad, since its inode is not cached.
* | automatic conflict resolution for v6 unlocked filesGravatar Joey Hess2015-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several tricky parts: * When the conflict is just between the same key being locked and unlocked, the unlocked version wins, and the file is not renamed in this case. * Need to update associated file map when conflict resolution renames an unlocked file. * git merge runs the smudge filter on the conflicting file, and actually overwrites the file with the same content it had before, and so invalidates its inode cache. This makes it difficult to know when it's safe to remove such files as conflict cruft, without going so far as to compare their entire contents. Dealt with this by preventing the smudge filter from populating the file when a merge is run. However, that also prevents the smudge filter being run for non-conflicting files, so eg moving a file won't put its new content into place. * Ideally, if a merge or a merge conflict resolution renames an unlocked file, the file in the work tree can just be moved, rather than copying the content to a new worktree file. This is attempted to be done in merge conflict resolution, but due to git merge's behavior of running smudge filters, what actually seems to happen is the old worktree file with the content is deleted and rewritten as a pointer file, so doesn't get reused. So, this is probably not as efficient as it optimally could be. If that becomes a problem, could look into running the merge in a separate worktree and updating the real worktree more efficiently, similarly to the direct mode merge. However, the direct mode merge had a lot of bugs, and I'd rather not use that more error-prone method unless really needed.
| * (no commit message)Gravatar ColinW2015-12-29
| |
| * Added a comment: Replacing dashes with underscoresGravatar joseph.rawson.works@85a210ab8c0e37a0b2d6bb235738b20e23e8878f2015-12-28
| |
| * Added a comment: ssh keys, github, xmppGravatar joseph.rawson.works@85a210ab8c0e37a0b2d6bb235738b20e23e8878f2015-12-28
|/
* fix build with pre-AMP ghcGravatar Joey Hess2015-12-28
|
* add .stack-workGravatar Joey Hess2015-12-28
|
* defer find to after buildGravatar Joey Hess2015-12-28
|
* improve binary findingGravatar Joey Hess2015-12-28
|
* remove Inotify build flagGravatar Joey Hess2015-12-28
| | | | | Available for a long time in Linux, and only used there, so a flag is not needed.
* remove win32-extras; was merged into stackageGravatar Joey Hess2015-12-28
|
* fix formatGravatar Joey Hess2015-12-28
|
* remove XMPP, DBus, DesktopNotify build flagsGravatar Joey Hess2015-12-28
| | | | | | | Make these features solely dependent on the OS being built on. This lets stack build on windows w/o XMPP, on OSX w/o DBUS, and on Linux with everything.
* enable xmpp in stack.yamlGravatar Joey Hess2015-12-28
| | | | | | | | | Since stack is being used to build the OSX autouild now, I want xmpp enabled. This means stack can't be used to build git-annex on windows, unless the user edits this file and disables xmpp. Unfortunate that stack is so unconfigurable, compared with cabal..
* support building with BUILDER=stack to use stack instead of cabalGravatar Joey Hess2015-12-28
|
* point to bug reportGravatar Joey Hess2015-12-28
|
* switch to nightly-2015-12-28Gravatar Joey Hess2015-12-28
| | | | This has aws new enough for glacier and storageclass features.
* fix OSX buildGravatar Joey Hess2015-12-28
|
* temporarily disable concurrent-output in stack.yamlGravatar Joey Hess2015-12-28
| | | | Revert once https://github.com/fpco/stackage/pull/1082 is fixed
* remove database flag, following changes to cabal fileGravatar Joey Hess2015-12-28
|
* fix build warning with AMP ghcGravatar Joey Hess2015-12-28
|
* clean build warning on windowsGravatar Joey Hess2015-12-28
|
* fix build on windowsGravatar Joey Hess2015-12-28
|