Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2017-05-06

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

All times shown according to UTC.

Time Nick Message
01:49 ilbot3 joined #darcs
01:49 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.12.5 is out http://darcs.net/Releases/2.12
07:22 amgarchIn9 joined #darcs
07:34 Nesknarf joined #darcs
09:15 jeltsch joined #darcs
10:57 jeltsch joined #darcs
15:18 jeltsch joined #darcs
16:14 dolio joined #darcs
16:49 Riastradh joined #darcs
17:00 jeltsch joined #darcs
17:13 amgarchIn9 joined #darcs
19:53 jeltsch joined #darcs
20:17 Nesknarf sm: how does darcsden use PrimV1Job? That is, how does darcsden use the concrete data type for prim patches?
20:21 sm I don't know, Nesknarf
20:23 Nesknarf I ask because Darcs goes to great pain to hide the concrete implementation of patches only to leak them in Darcs.Repository.Job. the comments say that this is so that darcsden can look at the concrete representation of patches.
20:24 Nesknarf ...and the comments there suggest this should be replaced with a more abstract API
20:26 sm sounds good to me
20:30 Heffalump Nesknarf: it basically takes apart the internals of the patch and rewrites them into its own internal types
20:31 Heffalump it also is a bit fast and loose about whether it is working with V1 or V2 patch types...
20:31 Nesknarf Heffalump: why?
20:31 Heffalump historical reasons
20:31 Heffalump (i.e. it was written that way and noone has changed it)
20:31 Heffalump also, to use the darcs API more directly, it'd need witnessifying, which I'm not sure sm is too keen on
20:33 sm I'm not keen on complexity, but I wouldn't stand in the way
20:33 Nesknarf There are pieces in Darcs.Patch where we expose a limited concrete view on patches. E.g. Darcs.Patch.FileHunk. I guess this is not enough?
20:33 * sm would get out of the way
20:33 Heffalump Nesknarf: quite a lot of that stuff is newer than darcsden, so it might be enough
20:34 Nesknarf So... it just needs someone willing to try it.
20:34 Nesknarf I am extremely busy with darcs itself ATM, I cannot hack on darcsden in addition to that.
20:36 Nesknarf I guess some of you guys are familiar with at least parts of darcsden.
20:38 Nesknarf Okay, let me be bit more concrete: I have added wrappers for prim patches, a different one for V1 and V2 repo patches.
20:39 Nesknarf This was necessary in order to clean up the ShowPatch mess, where the function showPatch did not make a difference between showing for storage (on-disk format) and for display (UI).
20:41 Nesknarf The unmodified Darcs.Patch.Prim.V1 primitive patch type cannot implement ShowPatch and ReadPatch, since the concrete on-disk format is different for V1 and V2 RepoPatches
20:41 Nesknarf But a RepoPatch specific newtype wrapper can.
20:43 Nesknarf But now I am getting problems with RepoJobs where the assumption is made that the concrete implementation of primitive patches is the same and equal to PrimOf p for V1 and V2 patches.
20:44 Nesknarf Ah well, maybe I find a work-around.
20:52 Heffalump how about splitting the classes rather than adding wrappers?
20:53 Heffalump and just passing in a parameter (maybe that's what we already do with OldFormat/NewFormat)
21:44 Cthulhux is there a way to use darcs on android? is there a haskell for android in the first place to base a darcs app on?
21:44 * Cthulhux is bored
21:45 Heffalump you really want that or you just think it might be cool?
21:47 Cthulhux sometimes i update my bitbucket projects on the train
21:47 Cthulhux i wonder if i can do that for my future darcs projects
21:47 Cthulhux also, i just think it might be cool
21:48 pointfree Cthulhux: Would you use the cli on your phone or tablet?
21:52 pointfree Maybe it's possible to build darcs for Android. I don't know. https://wiki.haskell.org/Android
21:52 pointfree I find the cli on phones and tablets to be rather awkward to use. Although sometimes I would like to browse darcshub repos on my phone.
21:52 Cthulhux using a touch keyboard sucks.
21:53 Cthulhux i could use the cli if required
21:55 pointfree Cthulhux: There is the den/darcsden-local which is a kind of darcsden-based local gui. That could be a start.
21:58 * Cthulhux googles
22:01 pointfree Cthulhux: This was notdan's GSoC https://parenz.wordpress.com/2015/09/24/darcsden-darcs/
22:04 Cthulhux lovely. still not including an android client:(/
23:47 Nesknarf joined #darcs

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