/srv/irclogs.ubuntu.com/2015/12/21/#ubuntu-community-team.txt

dholbachgood morning07:08
davidcalleMorning o/08:22
=== ejat_ is now known as ejat
dholbachdpm: call? :)15:02
dholbachok, looks like it's not happening15:08
dpmdholbach, sorry, I updated the calendar, but I meant to ping you15:09
dpmleaving a bit earlier today to catch a flight15:09
dholbachok15:09
dpmdholbach, let's catch up tomorrow15:09
dholbachdpm, mhall119, davidcalle: short update: I think I'm close to having the importer fixed15:10
dpmdholbach, wow, nice way to finish the year! :-)15:10
dholbachyes15:10
davidcalledholbach: wow, how?15:11
dholbach<ojii|work> because publishing etc will change a pages PK15:11
dholbach<ojii|work> Page().publish() creates a new copy of the page (and deletes the old one)15:11
dholbach(PK = primary key)15:11
dholbachI'm using cms.api.publish_pages([list]) now and modified a few lookups15:12
dholbachI'm still testing things though :)15:12
davidcalledholbach: so, publishing in bulk as opposed to page by page?15:12
dholbachyes15:12
dholbachwe often passed page objects around, for example to set the parent of a new article15:13
davidcalledholbach: this raises a lot of questions about why Django does things differently for each case and why mysql doesn't care15:13
dholbachif we do a .publish() in between it might break things or have bizarre effects15:14
dholbachit could be that sqlite reuses PKs and postgres doesn't - it was one of ojii's first assumptions this morning15:14
davidcalleIn any case, we don't *need* an answer for these, I'm just so very glad you found a way :D15:14
dholbachI'll make sure to add more tests, just in case :)15:15
dholbachall right my friends - I call it a day - see you tomorrow!16:57

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