Advertise tree root ID via mDNS, so that we can limit browsed branches to those with matching tree root

Bug #96270 reported by James Henstridge
2
Affects Status Importance Assigned to Milestone
Bazaar/Avahi Plugin
Won't Fix
Undecided
Unassigned

Bug Description

It would be nice to limit the advertised branch listing to only those branches that match a particular tree root ID (once the unique tree root stuff is actually being used, that is). This way people would be able to find out which branches being advertised locally are potential merge sources.

Revision history for this message
James Henstridge (jamesh) wrote :

The "bzr share" code has been enhanced to publish tree root IDs

Revision history for this message
Robert Collins (lifeless) wrote :

I think that there should be an option to browse then to list everything, so I can find new branches to clone.

Changed in bzr-avahi:
status: New → In Progress
Revision history for this message
James Henstridge (jamesh) wrote :

I am not convinced now that this is a particularly good idea.

The way "bzr share" exposes the tree root ID is not particularly useful either, since it doesn't allow the client to perform queries based on the root ID: it would need to resolve every published branch to filter them which is not generally a good idea ...

Revision history for this message
James Henstridge (jamesh) wrote :

One of the reasons for this was that "bzr share" might end up advertising a huge number of branches making it difficult to find the ones you are after.

I've since changed the server code to only advertise branches that have been explicitly asked for, which reduces this issue enough that I think this need not be addressed.

Changed in bzr-avahi:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.