Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2016-01-24 14:13:10 -04:00
commit 83cc9d8721
Failed to extract signature
6 changed files with 132 additions and 0 deletions

View file

@ -0,0 +1,30 @@
### Please describe the problem.
Can't remove repositories
### What steps will reproduce the problem?
In repo view, click Actions and select Delete. Then enter "Yes, please do as I say!" in text field and click Delete this repo. Error! Internal Server Error: git [Param "config",Param "annex.autocommit",Param "false"] failed
### What version of git-annex are you using? On what operating system?
6.20160114-g6be9ee0
Mac OS X
### Please provide any additional information below.
I can't enable logging. When I do, I receive a similar error message
"git [Param "config",Param "annex.diskreserve",Param "1 megabyte"] failed"
I just downloaded and installed Git Annex. This problem was there from day 1.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="reyman64@740e43250854ada1b8484b3bc44b53be03367d70"
nickname="reyman64"
subject="comment 3"
date="2016-01-22T22:12:24Z"
content="""
You're right, works much much better with stack.
If other user are interested, i create a tutorial here to install cabal / stack on : [webfaction hosting](https://community.webfaction.com/questions/19167/install-haskell-ghc-and-cabal-from-source-on-webfaction) After stack install, compiling git-annex is very easy (compared to cabal instal ....)
"""]]

View file

@ -0,0 +1,54 @@
Hi,
I don't understand how to sync an empty local repository on my local pc with ssh server.
On webfaction distant ssh host, i create a repository in v6 which contain all my file (commited with git commit).
00000000-0000-0000-0000-000000000001 -- web
00000000-0000-0000-0000-000000000002 -- bittorrent
151c9c3c-7bf2-4a06-ab47-38dfd65b0d12 -- reyman64@web504.webfaction.com:~/webdav/bib/seb/pdf-repository [here]
On local pc, i create an empty repository, also in v6, and i configure ssh remote, nammed "pdfwebfaction", so git annex info return this
00000000-0000-0000-0000-000000000001 -- web
00000000-0000-0000-0000-000000000002 -- bittorrent
151c9c3c-7bf2-4a06-ab47-38dfd65b0d12 -- reyman64@web504.webfaction.com:~/webdav/bib/seb/pdf-repository
9d08d7c0-55da-451e-8ca3-aaa612eefb46 -- reyman@Dunwich:~/Sync/PDF_Webfaction [here]
I want to sync local with this remote branch, and sync content, so i try :
git annex sync pdfwebfaction
Which return :
commit git-annex: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","commit","-a","-m","git-annex in reyman@Dunwich:~/Sync/PDF_Webfaction"] exited 1
And i also try without success :
git-annex get --from pdfwebfaction
which return an error about uuid, don't understand why because uuid exist for ssh repo :
git-annex: cannot determine uuid for pdfwebfaction (perhaps you need to run "git annex sync"?) (remote.pdfwebfaction.annex-ignore is set)
My git config is :
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[annex]
uuid = 9d08d7c0-55da-451e-8ca3-aaa612eefb46
version = 6
[filter "annex"]
smudge = git-annex smudge %f
clean = git-annex smudge --clean %f
[remote "pdfwebfaction"]
url = ssh://reyman64@reyman64.webfactional.com:/home/reyman64/webdav/bib/seb/pdf-repository
fetch = +refs/heads/*:refs/remotes/pdfwebfaction/*
There is something i don't understand, and the documentation talk only about ssh associated with a git clone command.
PS : the ssh connection is correct, i test it.

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="db"
subject="comment 2"
date="2016-01-23T23:06:03Z"
content="""
In fact, I have 2x2 keys on my local machine
key.git-annex-fqdn-db_2222_db.2Fannex
key.git-annex-fqdn-db_2222_db.2Fannex.pub
key.git-annex-fqdn-db_22_annex
key.git-annex-fqdn-db_22_annex.pub
Why duplicates? The \"public 2222\" key is in my ~/.ssh/authorized_keys but not the \"public 22\"-key.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="andrew@1d92abee601373fe09908b30706c97ffce3da255"
nickname="andrew"
subject="comment 8"
date="2016-01-23T14:24:18Z"
content="""
I think it might still be useful to have in the tarball -- we can symlink it into the right place.
"""]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="db"
subject="How do I start it?"
date="2016-01-23T22:42:52Z"
content="""
This happens when I launch git-annex-webapp
[\u@\h \W]$ ./git-annex-webapp
Launching web browser on file:///tmp/webapp1804289383846930886.html
git-annex: xdg-open: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
And the webapp1804289383846930886.html file seem to be deleted immediately.
This is on a headless NAS and obviously I don't have a browser or anything on it. I just want to run Annex as a server/service and admin it from a browser on another machine on my LAN.
"""]]