Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2014-01-11

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

All times shown according to UTC.

Time Nick Message
00:06 gwern joined #darcs
00:08 gwern anyone know a canned way to query repos for statistics? I want a list of day/patch-counts like '2013-01-10,1' or '2012-05-10,0'
00:08 gwern (ideally in csv output format, but if not, something I can reasonably easily turn into that)
00:09 sm gwern: I was just wanting that myself.. there used to be darcs-graph
00:09 sm http://hub.darcs.net/simon/darcs-graph/browse/Graph.hs .. which might contain some relevant code
00:11 gwern yeah, but you'd have to rewrite darcs-graph and might as well just write a filestore script
00:11 sm aha
00:12 sm that might be a good idea
00:12 sm I had forgotten about filestore. darcsden uses it but darcs does not IIRC
00:19 sm filestore and hashed-storage/fslib are quite different, I suppose
00:19 sm they seem to be slightly in the same space
00:23 gh_ joined #darcs
00:23 sm filestore is nice!
00:24 sm map revDateTime <$> history (darcsFileStore ".") [] (TimeRange Nothing Nothing) Nothing
00:25 gwern I was going with more like 'changes <history fs [] (TimeRange Nothing Nothing) Nothing;           let dates = fmap (utctDay . revDateTime) changes'
00:25 gwern but yeah
00:25 gwern then you insert into a map to get a count by day
00:31 alexei___ joined #darcs
00:32 gwern http://lpaste.net/98309
00:33 gwern the output is a bit ugly but 'tis a mere matter of formatting
01:06 gwern http://lpaste.net/98311 good enough. I'll ask john if we can put it in the filestore repo so it's public
01:06 gwern left #darcs
02:20 drostie joined #darcs
04:04 dolio joined #darcs
04:32 preflex_ joined #darcs
06:16 mizu_no_oto joined #darcs
07:24 dolio joined #darcs
07:50 lelit joined #darcs
07:51 dolio joined #darcs
08:41 donri_ joined #darcs
09:19 briarrose joined #darcs
09:45 mornfall sm: filestore is the other way around, it calls the darcs binary to talk to the darcs repo
10:02 f-a joined #darcs
10:51 donri joined #darcs
10:51 donri joined #darcs
11:09 preflex_ joined #darcs
11:50 raichoo joined #darcs
13:13 bernalex joined #darcs
13:14 bernalex joined #darcs
14:07 schlaftier joined #darcs
15:42 mizu_no_oto joined #darcs
15:48 lelix joined #darcs
15:57 drostie joined #darcs
16:41 alexei___ joined #darcs
17:34 alexei___ joined #darcs
18:16 alexei___ joined #darcs
18:56 schlaftier joined #darcs
20:37 f-a joined #darcs
20:48 bernalex joined #darcs
21:00 bernalex joined #darcs
22:21 raichoo joined #darcs

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