Merge branch 'master' into assistant
This commit is contained in:
commit
30f7b1599c
5 changed files with 13 additions and 7 deletions
|
@ -39,6 +39,8 @@ start = do
|
|||
|
||||
umap <- uuidMap
|
||||
trusted <- trustGet Trusted
|
||||
|
||||
file <- (</>) <$> fromRepo gitAnnexDir <*> pure "map.dot"
|
||||
|
||||
liftIO $ writeFile file (drawMap rs umap trusted)
|
||||
next $ next $
|
||||
|
@ -49,8 +51,6 @@ start = do
|
|||
showOutput
|
||||
liftIO $ boolSystem "dot" [Param "-Tx11", File file]
|
||||
)
|
||||
where
|
||||
file = "map.dot"
|
||||
|
||||
{- Generates a graph for dot(1). Each repository, and any other uuids, are
|
||||
- displayed as a node, and each of its remotes is represented as an edge
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -11,6 +11,7 @@ git-annex (3.20120630) UNRELEASED; urgency=low
|
|||
faster than forking the more optimised external program.
|
||||
* SHAnE backends are now smarter about composite extensions, such as
|
||||
.tar.gz Closes: #680450
|
||||
* map: Write map.dot to .git/annex, which avoids watch trying to annex it.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 01 Jul 2012 15:04:37 -0400
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
"git annex watch" will add the file generated by "git annex map", which is probably not intended. Shouldn’t this file be created in /tmp or .git/annex/ or somewhere else?
|
||||
"git annex watch" will add the file generated by "git annex map", which is
|
||||
probably not intended. Shouldn’t this file be created in /tmp or
|
||||
.git/annex/ or somewhere else?
|
||||
|
||||
> Indeed, so [[done]] --[[Joey]]
|
||||
|
||||
/tmp $ cd test/
|
||||
/tmp/test $ git init
|
||||
|
|
|
@ -7,7 +7,9 @@ all the other git clones, at both the git level and the key/value level.
|
|||
location tracking indicates remotes do not, and enqueue Uploads for
|
||||
them. Also, enqueue Downloads for any files we're missing.
|
||||
* After git sync, identify content that we don't have that is now available
|
||||
on remotes, and transfer.
|
||||
on remotes, and transfer. But first, need to ensure that when a remote
|
||||
receives content, and updates its location log, it syncs that update
|
||||
out.
|
||||
|
||||
## longer-term TODO
|
||||
|
||||
|
@ -96,6 +98,8 @@ anyway.
|
|||
Watcher. **done**
|
||||
* enqueue Tranferrs (Downloads) as new dangling symlinks are noticed by
|
||||
Watcher. **done**
|
||||
(Note: Needs git-annex branch to be merged before the tree is merged,
|
||||
so it knows where to download from. Checked and this is the case.)
|
||||
* Write basic Transfer handling thread. Multiple such threads need to be
|
||||
able to be run at once. Each will need its own independant copy of the
|
||||
Annex state monad. **done**
|
||||
|
|
3
test.hs
3
test.hs
|
@ -550,9 +550,6 @@ test_map = "git-annex map" ~: intmpclonerepo $ do
|
|||
git_annex "describe" ["origin", "origin repo"] @? "describe 2 failed"
|
||||
-- --fast avoids it running graphviz, not a build dependency
|
||||
git_annex "map" ["--fast"] @? "map failed"
|
||||
doesFileExist "map.dot" @? "map.dot not generated"
|
||||
c <- readFile "map.dot"
|
||||
("this repo" `isInfixOf` c && "origin repo" `isInfixOf` c) @? ("map.dot bad content: " ++ c)
|
||||
|
||||
test_uninit :: Test
|
||||
test_uninit = "git-annex uninit" ~: intmpclonerepo $ do
|
||||
|
|
Loading…
Reference in a new issue