Web editor improvements, and added tips page

Enrico Zini enrico at enricozini.org
Fri Nov 24 23:37:19 CET 2006

On Fri, Nov 24, 2006 at 07:59:58PM +0000, Justin B Rye wrote:

> Um... "http://debtags.alioth.debian.org/edit.html" now seems not to
> work in mozilla/mozilla-firefox on any of my Stable machines.  I
> just see a title, a navigation header... and a navigation footer.
> >From Testing firefox, I see a working editor interface.
> Unfortunately, I won't be able to dist-upgrade my desktop machine
> immediately (I was planning to, but I've got hardware problems to
> fix first).  Still, there's always X-forwarding.

Do you think you can produce the relative javascript error messages?
There should be some sort of javascript console that shows them.

> The main thing I've been wishing for is that when the new, tagless
> gfoo-5.1 is essentially identical to the old, thoroughly tagged
> gfoo-5.0, it would be handy to be able to clone tagsets... handy for
> Ph-F-F-Iceweasel.

Yes.  The best we have so far is the suggested tags feature: since it
works by comparing package descriptions, it should reliably suggest the
right set of tags in such cases.

A tiny script to do this is quite easy to make:

  # Usage: scriptname oldpkg newpkg

  # Add to newpkg all the tags of oldpkg
  debtags tag add $2 `debtags tag ls $1`

  # Show the tag patch
  grep ^$1 ~/.debtags/patch

  echo -n "Submit? (Y/n) "
  read ans

  if [ "$ans" == n ] || [ "$ans" == N ]
	echo "Skipping submit."
  	exit 0

  # Submit the patch via mail
  debtags submit

> Both in that situation and others, I often find myself wanting to
> know what a package's "neighbours" are.  The Suggested Tags mode
> is impressively good at finding tags from its neighbours in
> "debtags-cloud-space"; and I can find a package's neighbours in
> "apt-dependency-space" (required libraries, etc) with a bit of work
> if I follow the links to the PTS; but it seems to be impossible to
> get from, say, xfonts-bar to its neighbours in "dpkg-list-space"
> like xfonts-foo and xfonts-baz.

To find neighbours as in "packages with similar tags" you can play with
"debtags related PKGNAME".  Pass it a -d NN switch to specify how many
tags can differ from the packages on output to the one you gave on
command line.

I'm not very sure what you mean with neighbours in "dpkg-list-space".



GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debtags-devel/attachments/20061124/ab8d5756/attachment.pgp

More information about the Debtags-devel mailing list