/srv/irclogs.ubuntu.com/2018/04/12/#launchpad-dev.txt

tsimonq2xnox: You were right, Adam just marked it himself. :P07:14
=== frankban|afk is now known as frankban
cjwatsontsimonq2: Difficult.  We have a part-completed thing called 'auditor' in the tree that was supposed to be for this kind of thing; but I've never looked at how far along it got, and whether it's still a sensible approach.  And it would probably require some deployment work if we stuck with that approach since IIRC it involves a separate Django app07:52
cjwatson(which seems a kind of bizarre choice for LP, which is one reason I wonder if it's still the right approach)07:52
StevenKWell, it was supposed to be a microservice because apparently they are the new hotness, but yes, I wonder that too.08:25
cjwatsonYeah, I was more thinking of Django in particular being (nowadays; possibly not when you did it) not really the obvious choice for a microservice - it needs a fair bit of ongoing upkeep08:30
cjwatson(also, hi)08:30
StevenKcjwatson: Hi! Django was not even the right fit when I wrote the thing to begin with08:41
cjwatsonHeh08:46
cjwatsonI've been considering a little Flask app to be an API for codehosting to be consumed by LP08:46
cjwatsonBit like the git API08:46
cjwatson(though that's pyramid.  Gotta catch 'em all)08:47
StevenKMy only experience with Flask is for https://github.com/pjf/rickastley08:49
cjwatson...09:01
tsimonq2cjwatson: OK. Would this take a particularly long time to get working if I wanted to take a shot at it?12:19
tsimonq2(Probably, eh?)12:20
cjwatsontsimonq2: Quite possibly?  I haven't looked at it much myself12:24
tsimonq2cjwatson: OK.12:25
tsimonq2cjwatson: I'll ping you when I'm at the preimplementation review. :)12:25
tsimonq2Thanks.12:25
cjwatsonI'd at least consider dropping the microservice and folding it back into the main DB.  It was sort of meant to be a trial balloon I believe, but we have better examples of broken-out services these days (notably git) and it's not at all clear to me that the benefit will outweigh the operational cost of a whole separate service with a single table.12:30
StevenKcjwatson: The point there was that it could be extended to be an audit log for everything, logins, password changes, etc etc12:30
cjwatsonAcknowledged, but I'm still not sure it exceeds the is-it-worth-it bar for me.  wgrant might disagree.12:31
StevenKwgrant and lifeless were the ones who pushed me down the microservice rabbit hole :-P12:32
StevenKBecause yes, my original plan was another database table12:33
cjwatsonI certainly agree that a generic audit facility is worth it12:34
cjwatsonIf we stick with auditor it'll need a reasonable amount of time from either William or me to get it actually deployed - I don't think that's something an external contributor can really do, at least not mostly12:35
=== frankban is now known as frankban|afk
tsimonq2cjwatson: Ack. Let me know once that's taken care of (even if a bit down the line) and I can work on that bit, unless it's just easy to add.16:40

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