Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
b1b684d5c9
4 changed files with 111 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="https://me.yahoo.com/a/bBy7WkgQicYHIiiyj.Vm0TcMbxi2quzbPFef#6f9f7"
|
||||||
|
nickname="Frederik Vanrenterghem"
|
||||||
|
subject="Convert bare repository to normal"
|
||||||
|
date="2015-05-19T09:17:15Z"
|
||||||
|
content="""
|
||||||
|
Just wondering what the right steps are to convert a bare repository to a normal one? The comment above from 2.5 years ago includes the creation of a .git directory, which actually already exists. Have things changed in the mean time?
|
||||||
|
"""]]
|
|
@ -0,0 +1,31 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="https://id.koumbit.net/anarcat"
|
||||||
|
subject="comment 5"
|
||||||
|
date="2015-05-19T12:18:05Z"
|
||||||
|
content="""
|
||||||
|
Well, no, i don't think they changed, unless i missed something: there
|
||||||
|
shouldn't be a `.git` repository there.
|
||||||
|
|
||||||
|
There are [various
|
||||||
|
instructions](http://stackoverflow.com/questions/10637378/how-do-i-convert-a-bare-git-repository-into-a-normal-one-in-place)
|
||||||
|
on how to do this online. They do seem to agree with the first comment
|
||||||
|
above.
|
||||||
|
|
||||||
|
Personnally, I would just `git clone` to a different repo and `git
|
||||||
|
annex forget` the old one. Unless you have a very complex repository
|
||||||
|
with a lot of files, this is simple enough... You could even use `git
|
||||||
|
annex reinit` to recycle the previous uuid if that's a concern. So in
|
||||||
|
short:
|
||||||
|
|
||||||
|
git clone repo.git repo
|
||||||
|
cd repo
|
||||||
|
git annex info --fast # find the UUID of repo.git
|
||||||
|
git annex move --from $UUID
|
||||||
|
git annex reinit $UUID
|
||||||
|
|
||||||
|
Then `repo.git` can be removed if you are certain everything is
|
||||||
|
correct in `repo`.
|
||||||
|
|
||||||
|
Note that you may want to have backups of everything before you do
|
||||||
|
anything, as usual.
|
||||||
|
"""]]
|
|
@ -0,0 +1,12 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="Marco"
|
||||||
|
subject="A possible solution"
|
||||||
|
date="2015-05-19T11:03:22Z"
|
||||||
|
content="""
|
||||||
|
While searching for the problem I found this:
|
||||||
|
|
||||||
|
http://feeding.cloud.geek.nz/posts/error-while-running-git-gc/
|
||||||
|
> git reflog expire --all --stale-fix
|
||||||
|
|
||||||
|
I can't verify this because I nuked the broken repository after recreating it.
|
||||||
|
"""]]
|
|
@ -0,0 +1,60 @@
|
||||||
|
### Please describe the problem.
|
||||||
|
|
||||||
|
May be I was simply wrong to assume that if I disable all sync'ing for all the repos, assistant wouldn't try to contact those remote hosts. But it still does
|
||||||
|
|
||||||
|
In the logs, since no time stamp per each line, hard to say either recent ones just continuation of previous entries, or new ones:
|
||||||
|
|
||||||
|
[[
|
||||||
|
|
||||||
|
[2015-05-18 10:29:39 EDT] Watcher: Performing startup scan
|
||||||
|
(started...) ssh: connect to host vagus.cns.dartmouth.edu port 22: No route to host^M
|
||||||
|
ssh: connect to host vagus.cns.dartmouth.edu port 22: No route to host^M
|
||||||
|
ssh: connect to host vagus.cns.dartmouth.edu port 22: No route to host^M
|
||||||
|
ssh: connect to host vagus.cns.dartmouth.edu port 22: No route to host^M
|
||||||
|
ssh: connect to host vagus.cns.dartmouth.edu port 22: No route to host^M
|
||||||
|
ssh: connect to host vagus.cns.dartmouth.edu port 22: No route to host^M
|
||||||
|
...
|
||||||
|
]]
|
||||||
|
|
||||||
|
and in another
|
||||||
|
|
||||||
|
[[
|
||||||
|
fsck xppaut_6.11b+1.dfsg.orig.tar.gz ok
|
||||||
|
fsck xserver-xorg-input-synaptics_1.6.2+git44-ge28575b.orig.tar.gz ok
|
||||||
|
fsck xserver-xorg-video-intel_2.99.917.orig.tar.gz (checksum...)
|
||||||
|
ok
|
||||||
|
(recording state in git...)
|
||||||
|
** No known copies exist of python-mne_0.8.3+dfsg.orig.tar.gz
|
||||||
|
git-annex: fsck: 1 failed
|
||||||
|
|
||||||
|
(process:3954): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
Write failed: Broken pipe^M
|
||||||
|
|
||||||
|
(process:20140): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
|
||||||
|
(process:20178): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
git-annex: Daemon is already running.
|
||||||
|
|
||||||
|
(process:29035): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
|
||||||
|
(process:29184): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
|
||||||
|
(process:30127): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
|
||||||
|
(process:30817): Gtk-WARNING **: Locale not supported by C library.
|
||||||
|
Using the fallback 'C' locale.
|
||||||
|
Write failed: Broken pipe^M
|
||||||
|
]]
|
||||||
|
|
||||||
|
that host (vagus) is RIP (need to remove from syncs)
|
||||||
|
btw which are falling into daemon.log.1 not .log
|
||||||
|
|
||||||
|
### What version of git-annex are you using? On what operating system?
|
||||||
|
|
||||||
|
5.20150509+gitga10e45d-1~ndall+1
|
Loading…
Add table
Reference in a new issue