/srv/irclogs.ubuntu.com/2012/02/07/#ubuntu-app-devel.txt

=== ts2 is now known as tsimpson
dpmgood morning all08:11
noodles775Morning dpm08:16
dpmhey noodles775, good morning :)08:16
noodles775mvo: hi! Is there any max length for a simple debian field (ie. single-line)? I can't see anythiing here: http://www.debian.org/doc/debian-policy/ch-controlfields.html08:17
mvohey noodles77508:17
mvonoodles775: a field like "Depends: ..." ?08:17
noodles775In thiis case, just Package:08:17
noodles775http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source has more specifics, including min length, but nothing about a max...08:18
noodles775(which might be a great thing... why restrict it to a max :), it's juts for an equiv. database column.)08:19
mvonoodles775: I just looked at the apt source and I don't think there are any limits enforced here (nowdays it grows if needed). let me quickly check dpkg08:20
noodles775Thanks mvo. What would you recommend as a practical max for a database varchar field... we've already got a bunch in various apps, where I think we're using 64...08:21
* noodles775 checks08:22
noodles775Yeah, we seem to use 64 in sca currently - which seems to have been safe so far, but please let us know if it's something we should update and I'll create a bug.08:23
mvonoodles775: hm, that looks a bit small tbh, "grep "Package:" /var/lib/apt/lists/*Packages | cut -f3 -d: | wc -L" give me "60" for the current packages we have08:24
noodles775mvo: cool, I'll create a bug. Txs!08:24
mvonoodles775: I would say "2*max-of-the-current" - or do you think that is a bit much error on the safe side? how hard is the migration later? I guess not too hard, correct?08:24
noodles775mvo: yeah, easy migration - better to do it now than when we hit an issue :)08:25
* mvo nods08:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!