bananajour icon indicating copy to clipboard operation
bananajour copied to clipboard

Details on repo don't show up

Open skkeeper opened this issue 13 years ago • 2 comments

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:

Screenshot

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.

skkeeper avatar Jul 29 '11 01:07 skkeeper

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.

smathy avatar Aug 19 '11 15:08 smathy

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.

freshtonic avatar Aug 27 '11 15:08 freshtonic