ubuntu-bots team mailing list archive
-
ubuntu-bots team
-
Mailing list archive
-
Message #00055
[Bug 870068] Re: aliases should be restructured
** Changed in: ubuntu-bots
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
IRC Bots, which is subscribed to Ubuntu IRC Bots.
https://bugs.launchpad.net/bugs/870068
Title:
aliases should be restructured
Status in The official Ubuntu IRC bots:
Fix Committed
Bug description:
In stormyfacts I'm using the same aliases of Encyclopedia, using "<alias>factoid" for mark an alias.
This is good enough when you have to find the factoid of an alias, but is a hassle if you want to do find the aliases of a factoid, and in stormyfacts is aggravated by the use of revisions, specifically you have to:
aliases = store.find(Fact.name, Not(BitwiseAnd(Fact.flags, flags.DELETED)),
Fact.id == Revision.fact_id,
Fact.rev_id == Revision.rev_id,
Revision.value.like("<alias>%s" % name))
And is slow, is noticeable only in the cgi page though. I'm thinking
in adding a separate table for aliases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-bots/+bug/870068/+subscriptions