bananajour
bananajour copied to clipboard
Details on repo don't show up
I'm not sure if this is a bug since the last time (and only time I used bananajour) was a year ago and I didn't have much time to play around with it, but it's now not showing up any details on the repositories I added. For example:
That repository has 1 commit, but I've tried with public repos that have hundreds.
Maybe I'm missing some dependency, I've setup my system in Fedora 15 as described here.
Do you have some git daemon
processes running? They should look something like this:
git daemon --base-path=/Users/jk/.bananajour/repositories --export-all
And that directory should contain a bunch of repo.git
directories.
This can be a symptom of incorrect Avahi configuration.
This information from the readme might help:
Linux support
To install the dnssd gem on Linux you'll need avahi. For Ubuntu peeps this means:
sudo aptitude update
sudo aptitude install g++ ruby-dev \
libavahi-compat-libdnssd-dev avahi-discover avahi-utils
and you'll need to set the domain-name:
sudo sed -i \
-e 's/#domain-name=local/domain-name=local/' \
/etc/avahi/avahi-daemon.conf
sudo service avahi-daemon restart
You can debug whether or not Avahi can see Bananajour and git-daemon Bonjour statuses using the command 'avahi-browse'. This command can be found in the package 'avahi-utils'.
The following command will show you all of the Bonjour services running on your local network:
avahi-browse --all
If you kill bananajour with kill -9 it doesn't get a chance to unregister the Bonjour services, and when it is restarted it will die with DNSSD::AlreadyRegisteredError. Although not ideal, you can work around this my restarting avahi-daemon first.
Note: You might have to restart the avahi-daemon sometimes if you are having problems seeing other bananajours.