[Qa-debsources] patch-tracker DB schema

Stefano Zacchiroli zack at debian.org
Sat Mar 12 09:36:04 UTC 2016


On Sat, Mar 12, 2016 at 10:15:06AM +0100, Orestis Ioannou wrote:
> On 03/12/2016 09:48 AM, Stefano Zacchiroli wrote:
> > Finally, don't we need an extra "order" column here? Otherwise how do we
> > know the order in which patches are applied? (*Some* source package
> > formats forces an alphabetical ordering---which maintainers then build
> > upon using 00, 01, 02, etc---but not *all* of them do.)
> 
> I was thinking reading the file series to do that on each request like
> what we do now. But if you prefer adding that info in the DB then yeap
> we need that column as well.

Yeah, I think that (= having the info in the DB) would be better and
also cleaner. That way we will have all the patch metadata in the DB,
and we will need to access the actual patch files only to render their
content. And all the parsing will be done at update time.

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack at upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/qa-debsources/attachments/20160312/dc326859/attachment.sig>


More information about the Qa-debsources mailing list