[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717245: cups-daemon: Bonjour record changed format from "printer@host.domain" to "printer@host" in 1.6



Hello,

For posteriority and vanity's sake: I did indeed write a script for the
transition period from long to short Bonjour names as advertised by
CUPS[0].

It turned out surprisingly effective and stable, so I decided to keep
the script around instead of just throwing it away.  Perhaps somebody
finds it a useful starting point for the same or a similar problem.

The thing's called Bonjour Aliases and was in productive use for the
last three months at the aforementioned research institute.  I put the
code up on Github:

    https://github.com/hfuchs/bonjour_aliases

The thing is written in Python and needs one additional module called
pybonjour[1] which is not (yet) in the Debian repository.  This
excellently documented library is essentially doing the heavy lifting.

I provide a fleshed-out README and a run-script for use with
'daemontools' or 'runit'.

So, for me, the problem is solved and this bugreport may be closed.

Thanks!

-Hagen


[0] Now don't you go round changing it back again!  :)
[1] https://code.google.com/p/pybonjour/


Reply to: