/srv/irclogs.ubuntu.com/2016/01/06/#ubuntu-website.txt

dholbachdavidcalle, mhall119: I'm wondering if I should make the markdown importer a separate app in dev.u.c... what do you think?11:49
dholbachit looks rather self-contained11:49
dholbachand it'd make the code easier to find :)11:49
dholbachI think I'll just do it11:53
dholbachdavidcalle: I updated https://code.launchpad.net/~dholbach/developer-ubuntu-com/django-cms-update/+merge/278447 again12:30
dholbachho hum...12:32
dholbachnot sure where the conflicts come from now12:32
dholbachmaybe I should propose it again your 1.8 branch12:32
dholbachok, done: https://code.launchpad.net/~dholbach/developer-ubuntu-com/django-cms-update/+merge/28174312:35
davidcalledholbach: I'm confused, wasn't the cms-update branch already merged in the django-1.8-cms-2.3 one?14:06
dholbachdavidcalle: there's some new updates again :)14:06
davidcalledholbach: ah :)14:07
dholbachif we manage to do one update in 2-3 years we can update to the newest that's reasonable ;-)14:08
davidcalledholbach: :D14:08
davidcalledholbach: I'm reviewing the new changes since last time we looked at it together before the holidays. After that is it ok with you to merge it in the 1.8 branch?14:09
dholbachsure14:10
* davidcalle is updating-pip-cache14:19
davidcalledholbach: I've started working on getting the mojo spec to deploy locally!14:22
dholbachwow14:22
dholbachis it hard to get it set up locally?14:22
davidcalledholbach: it's a bit obscure and creates a bunch of alien stuff in /srv , but I've got some tips in #webops and now I need to strip down everything that doesn't makes sense locally (eg. credentials to nagios, etc)14:25
davidcalledholbach, the documentation is alright, so that was pretty painless to setup14:26
dholbachnice14:26
dholbachthat's at least some good news :)14:26
davidcalledholbach: http://paste.ubuntu.com/14420747/15:04
davidcalledholbach: on a related note, I really like how this test is done15:11
davidcalledholbach: also, if I print the content of the article generated by the test, it contains a link15:14
dholbachdavidcalle: wow... :)15:17
dholbachok, I'll take a look15:17
dholbachdavidcalle: can you pull and run the test again?15:29
davidcalledholbach: AssertionError: Link /en/file2/ not found15:36
dholbachhum15:36
dholbachc'est bizarre ça15:37
davidcalledholbach: the test passes if I do : res = c.get(link.attrs['href'].replace('en/', '')15:38
dholbachthe test passes here :)15:38
dholbachanyway, I'll take a look at it15:39
dholbachmaybe add something like this?15:40
dholbach            logging.error('Available pages are: {}'.format(15:40
dholbach                ', '.join([a.get_absolute_url() for a in Page.objects.all()])15:40
dholbach            ))15:40
dholbachand15:40
dholbachfrom cms.models import Page15:40
dholbachjust so it can tell you which pages are actually available15:40
davidcalledholbach: /en/file2/ is here, hum15:48
dholbachdavidcalle: I'm just about to move the tests to local test data and I'm experiencing a similar problem - let me see if I can write a better test and make the code more explicit about what it does15:49

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