Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-02-02

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:31 mizu_no_oto joined #darcs
04:24 mizu_no_oto joined #darcs
04:28 alexei joined #darcs
05:16 BitPuffin joined #darcs
09:33 iago joined #darcs
12:51 mizu_no_oto joined #darcs
14:33 Wu whois lelit lelit
14:33 Wu ups
14:33 Wu lelit: any chance you are around?
15:00 mizu_no_oto joined #darcs
15:09 lelit Wu: yes, here I am
15:09 lelit how's going?
15:09 Wu hey there
15:09 Wu everything is fine here
15:10 Wu just dug a bit more on the trac-darcs issue
15:10 Wu will send you more info by mail (I've to go now)
15:10 lelit ok
15:11 lelit yesterday I removed some dust from the code :)
15:11 Wu oh
15:11 Wu nice
15:11 lelit just the first steps to upgrade to Trac 1.1.x
15:11 Wu well, here something weird is happening
15:11 lelit let me know
15:12 Wu both darcs_inventory_tstamp and youngest_rev are being removed from the table repository
15:12 lelit I've setup a new instance with Postgresql 9.4
15:12 Wu at the beginning of a sync
15:12 lelit uhm
15:12 Wu Trac[updatedb] INFO: Resetting darcs specific cache for repository 5...
15:12 Wu but then, later on, after processing the changes
15:13 Wu it tries to update them
15:13 Wu Trac[dbutil] DEBUG: UPDATE repository SET value = %s WHERE id = %s AND name = %s: 4 executions in 479 microsecs, fastest run 110 microsecs, slowest [24/1688]
15:13 Wu secs (args: [('1422872175.01', 5, 'darcs_inventory_tstamp')]), average 120 microsecs
15:13 Wu well, at least darcs_inventory_tstamp
15:13 Wu for youungest_rev it justs inserts it blank:
15:13 Wu Trac[dbutil] DEBUG: INSERT INTO repository (id, name, value) VALUES (%s,%s,%s): 2 executions in 284 microsecs, fastest run 138 microsecs, slowest 146 microse
15:13 Wu cs (args: [(5, 'youngest_rev', '')]), average 142 microsecs
15:13 Wu and then it removes it again
15:13 Wu Trac[dbutil] DEBUG: DELETE FROM repository WHERE id=%s AND name=%s: 4 executions in 492 microsecs, fastest run 116 microsecs, slowest 131 microsecs (args: [(
15:13 Wu 5, 'youngest_rev')]), average 123 microsecs
15:14 lelit oh, that could be the reason then
15:14 Wu so, checked the old server db, it has both rows in the sql database
15:14 Wu but this one it has not
15:14 lelit on the old server which version of trac ?
15:17 Wu 0.12
15:18 Wu to upgrade, I did follow the upgrade instructions for trac (IIRC only some things with the attachments changed)
15:23 lelit and you upgraded to 1.0.3 or something like that?
15:24 Wu yep
15:24 Wu 1.0.3 IIRC
15:24 Wu Trac==1.0.3
15:24 Wu created a virtualenv, installed 1.0.3 there
15:24 lelit ok
15:24 Wu then did trac-admin upgrade on the old environment
15:25 Wu also
15:25 Wu the previous trac install was a system-wide install
15:25 Wu this one is in a virtualenv
15:25 lelit I will setup a similar env
15:30 Wu ok
15:30 Wu I also generated a new env, just to compare a default 1.0 configuration file with mine
15:30 Wu and I adapted the details that have changed (mostly s/true/enabled and things like that)
15:32 Wu anyway, now I do have to go
15:32 Wu bbl
15:38 siel joined #darcs
15:53 siel joined #darcs
16:16 siel joined #darcs
16:48 siel joined #darcs
17:02 mizu_no_oto joined #darcs
17:14 siel joined #darcs
17:24 iago joined #darcs
17:36 mankaev joined #darcs
17:44 IbnFirnas joined #darcs
18:00 alexei joined #darcs
18:19 Wu back
18:40 Wu lelit: so, putting a pdb in update_darcsdb():
18:40 Wu http://paste.e-shell.org/text23736321/get_source?text=1
18:40 Wu /home/trac/env/lib/python2.7/site-packages/trac/versioncontrol/admin.py(159)_do_sync()
18:40 Wu -> self._sync(reponame, rev, clean=False)
18:40 Wu that's why clean is False
18:59 lelit Wu, but "clean" in that case means an action, not a state: when True, tracdarcs will reset underlying tables and restart from scratch
19:00 lelit so that does not explain why the postcommit hook does trigger a resync
19:02 Wu true
19:03 siel joined #darcs
19:07 Wu lelit: but thing is
19:07 mankaev joined #darcs
19:07 Wu if I do a manual sync
19:07 Wu I expected darcs_inventory_tstamp and youngest_rev to be added to the repository table
19:07 Wu but they are not
19:07 Wu maybe I'm wrong about that?
19:08 mizu_no_oto joined #darcs
19:14 alexei joined #darcs
19:42 lelit Wu, no, you are right, AFAICR
19:48 alexei joined #darcs
20:52 siel joined #darcs
21:12 mizu_no_oto joined #darcs
21:15 siel joined #darcs

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary