/srv/irclogs.ubuntu.com/2014/09/29/#maas.txt

=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== CyberJacob|Away is now known as CyberJacob
=== jfarschman is now known as MilesDenver
=== kickinz1|afk is now known as kickinz1
=== CyberJacob is now known as CyberJacob|Away
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
jtvrvba, if you want to see my workaround for the BooleanField problem: https://code.launchpad.net/~jtv/maas/bug-1374388/+merge/23629109:52
rvbajtv: okay, I'll review this right now.09:52
jtvThanks.09:55
jtvrvba: I'm just pushing some improvements to the comment that explains it all.10:01
rvbajtv: just approved the branch but I suggested an improvement that could help us generalize this fix, see my inline comment…10:02
jtvGreat.10:02
jtvrvba: how do I add a field to the UI form without also getting it as part of an API form submission?10:12
=== jfarschman is now known as MilesDenver
rvbajtv: add a mixin on top of the form that is used in the UI.10:15
jtvBut what form is it that's used in the UI and not in the API?10:17
rvbajtv: I'm thinking about adding a hierarchy of forms where the UI uses the base form (the one used by the API) + a mixin that add the 'ui-specific' hidden field.10:25
rvbaadds*10:26
rvbajtv: does that make sense?10:27
* jtv cringes at the thought of yet more mixins10:27
jtvI do see the argument against doing it from the templates though.10:28
rvbaWe could probably avoid doing this with a mixin…10:29
rvbaWe could have this logic (add the 'ui-specific' field) in a base view class.10:29
rvbai.e. our own version of Django's django.views.generic.edit.ProcessFormView10:30
jtvHow would we make use of that new view?10:32
jtvI don't see any use of ProcessFormView in our node views at the moment... is a base class for some other class we use?10:33
rvbaOur views NodeListView, etc would derive from it instead of django.views.generic.edit.ProcessFormView.10:33
jtvWhat I'm asking is: AFAICT the views for which we need this don't derive from ProcessFormView, so how does this help them?10:35
jtvUpdateView.  That's the one we want, I think?10:36
rvbaThe views for which we need this *do* derive from ProcessFormView, but indirectly…10:36
rvbaNodeView → UpdateView → ProcessFormView.10:36
jtvHow do you change the last step in that chain without a mixin?10:37
rvbaI know, this isn't possible without a mixin.10:37
jtvRight.10:37
rvbaEither we change UpdateView (like you said) or we use a mixin.10:37
jtvI think UpdateView would be fine — because the problem is specific to model forms.10:37
rvbaTrue.10:38
jtvCan we just add a field there and have it show up in UI-originated form submissions?10:38
jtvOr were you thinking to change get_form_class?10:39
rvbaWell, the view itself isn't the form.  It's in charge of building the form.10:39
rvbaYeah, that's what I had in mind.10:39
DitmaHello, is someone here who can help me out with creating a custom boot image?10:52
jtvDitma: blake_r is probably your best bet right now, but he won't be in yet.10:58
Ditmajtv: allright thanks. I think i will try to contact him later then.10:58
jtvOK11:00
jtvallenap: I did have a question about OS support that you might know answers to, actually... any chance of a quick chat?11:06
allenapjtv: Sure.11:08
jtvThanks.11:08
=== jfarschman is now known as MilesDenver
jtvallenap: conflict in your branch.  :(11:21
allenapjtv: Ta, I’ll fix that.11:21
allenapDone.11:23
=== jfarschman is now known as MilesDenver
=== kickinz1 is now known as kickinz1|afk
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
DitmaIs someone online who made some experiences with MAAS and link aggregation?14:08
=== jfarschman is now known as MilesDenver
=== mwenning is now known as mwenning-needs-c
=== mwenning-needs-c is now known as mwenning
rick_h_hello all, I'm running into https://bugs.launchpad.net/maas/+bug/1350925 it appears and there's reference for trying the 'release candidate' is there a ppa or something I can get that from?15:00
ubot5Ubuntu bug 1350925 in MAAS "Unable to get RPC connection for cluster 'maas'" [Critical,Incomplete]15:00
=== bladernr_30kFeet is now known as bladernr_
=== matsubara is now known as matsubara-lunch
=== alexpilotti_ is now known as alexpilotti
=== matsubara-lunch is now known as matsubara
=== roadmr is now known as roadmr_afk
=== cmagina_ is now known as cmagina
=== CyberJacob|Away is now known as CyberJacob
=== roadmr_afk is now known as roadmr
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away

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