Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-06-22

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

All times shown according to UTC.

Time Nick Message
01:15 c74d joined #darcs
01:45 c74d joined #darcs
02:05 mizu_no_oto joined #darcs
02:29 gh_ joined #darcs
03:22 vikraman joined #darcs
03:22 vikraman joined #darcs
05:02 f-a joined #darcs
05:04 c74d joined #darcs
08:13 alexei_ joined #darcs
11:17 mizu_no_oto joined #darcs
11:40 f-a joined #darcs
12:38 notdan Heffalump: I've implemented HTTP Basic auth, but I don't think it's safe :(
12:38 notdan Heffalump: http://0bin.net/paste/v7jBAHgOIeDwtE21#Cc11ZgncERJvfFDrAJ8A786r3Fyk1CrB09nNO1qsMuV
13:42 bfrank joined #darcs
14:35 byorgey joined #darcs
14:50 bfrank hi, I have a git fast-export that I'd like to convert into darcs, how do I do that?
15:01 psnively joined #darcs
15:04 sm_ hi bfrank, see darcs convert import --help
15:05 f-a joined #darcs
15:05 bfrank hi, I tried this  (cd platform-config && git fast-export --all) | ~/Downloads/darcs convert import
15:05 bfrank but I get this error
15:05 bfrank darcs failed:  Not a repository: import (import/_darcs/inventory does not exist)
15:05 bfrank HINT: Do you have the right URI for the repository?
15:05 bfrank If so, check with the repository owner to see if the following files
15:05 bfrank are readable:
15:05 bfrank 1. _darcs/format    - might not exist; that's OK
15:05 bfrank 2. _darcs/inventory - should exist if #1 is missing
15:05 bfrank 3. _darcs/hashed_inventory - should exist if #2 is missing
15:06 sm ok, do a darcs init first
15:06 bfrank oh, apparently I am running 2.8?
15:07 sm ok, you'll need 2.10
15:07 bfrank 2.10 isn't compiled as binaries on the site apparently
15:08 sm yes, uh ok you'll need to cabal install http://hackage.haskell.org/package/darcs
15:08 sm or your platform's package system may provide it
15:10 sm or you could use stack, which may be easier if you're not a cabal expert (download from https://github.com/commercialhaskell/stack/releases , stack install darcs)
15:11 sm never mind, I don't know if that works
15:12 sm good luck, afk o/
15:12 bfrank if I get it compiled, could I send it somewhere to have it put on the site?
15:12 notdan well darcs should be compilable under stackage
15:13 notdan bfrank: what OS are you running?
15:13 bfrank ubuntu
15:17 notdan hm there is a debian package  https://packages.debian.org/source/sid/darcs
15:17 notdan you can try manually running it
15:19 notdan erm https://packages.debian.org/sid/darcs
15:19 bfrank hmm
15:21 notdan you can also try builds from https://launchpad.net/ubuntu/+source/darcs/2.10.0-1/
15:22 notdan (Check out the "builds" section and select your architercture)
15:33 psnively joined #darcs
15:40 notdan sm: i've got some patches for darcsden. but, of course, there is no hurry to review them
15:41 notdan sm: one of them adds a new "feature" so I guess we can discuss even if you want thiat patch in
16:22 Riastradh joined #darcs
16:37 gh_ joined #darcs
17:02 bfrank joined #darcs
17:13 sm cool notdan. I can take a quick look now if you're around
17:15 notdan yeah sure
17:15 notdan so the "Replace duplicated code with repoURL" is pretty much self-explanatory and should just work
17:16 notdan it's a shame darcsden cannot show diffs in bigger context -- that's another feature i would like to implement
17:17 notdan the "Display repository description on the user page like it is displayed on the repo page" just modifies some CSS so that  the repository list on a user page looks in accordance with the repository page itself
17:18 notdan e.g. if you go to http://hub.darcs.net/simon/ and look for `darcs-screened' you will see that the whole text is in black
17:18 notdan but if you go to http://hub.darcs.net/simon/darcs-screened you will notice that the fork part is greyed out and the link is blue
17:19 notdan and finally, the "directory changes" adds a new feature -- a button, just like the file changes button, but for directories
17:19 notdan it shows up if you go into a directory
17:19 notdan and it uses the same code as the file changes button
17:20 sm great
17:20 sm in http://hub.darcs.net/co-dan/darcsden/patch/20150620122412-21ae5 I wonder about line 443, does that introduce a partial function
17:20 notdan I also added a separate route for that because the page itself is slightly different for file changes and directory changes
17:20 notdan e.g. the annotate button
17:21 notdan sm: oh, it does, but if updateRepository fails we should error out anyway, no?
17:22 sm I haven't read the code carefully but it seems like on principle we shouldn't add more partiality than is already there
17:22 sm not a big deal, just a comment
17:22 sm I'll update the test instance, brb
17:25 notdan if you want, you can just edit the patch
17:26 notdan but the thing is, if we don't patern match on updateRepository, then the code says that we've succedded and redirects us even if the update failed
17:26 notdan in retrospect,, it's probably a better idea to display some sort of error page
17:26 notdan yeah, let me write another patch for that
17:36 notdan alright, pushed
17:38 sm Heffalump: thanks for the publicDir patch. hub-dev.darcs.net, which currently has broken stylesheets, is invoked as dist/build/darcsden/darcsden in the darcsden dir, so should I add publicDir = ./public to the ./darcsden.conf ? yes! it worked
17:39 sm I felt confused because I thought I saw the code defaulting it to ./public already
17:39 sm loving these runtime-configurable settings
17:40 notdan oooh crap I forgot to pull Ganesh's changes
17:40 bfrank joined #darcs
17:43 sm notdan: nice, yours are running at hub-dev now
17:46 sm "Display repository description on the user page like it is displayed on the repo page" makes the "website" links blue eg on user pages like http://hub-dev.darcs.net/simon
17:47 sm which is consistent with repo pages like http://hub-dev.darcs.net/simon/darcsden, as you say
17:47 sm and hyperlinks in the front page docs
17:48 sm most other hyperlinks on darcsden have minimal decoration, following alex's original aesthetic. I wonder what the policy should be
17:49 sm I guess it could be (and is) "external links are blue" ?
17:51 sm "Add the "directory changes" button" - nice!
17:52 sm maybe "changes in DIR/" would be better than "changes DIR" in the title ?
17:52 sm and the buttons layout on the right needs some review and rethinking, later
17:53 sm I'll merge these shortly unless you have more fixups
18:03 notdan hm, I might do some follow up
18:03 notdan but later
18:04 sm ok, sounds good
18:20 mizu_no__ joined #darcs
18:33 alexei_ joined #darcs
18:54 Heffalump sm: from memory, the test backend defaults to ./public
18:55 Heffalump whereas the production backend defaults to Nothing. Actually, on reflection I've made that needlessly convoluted with the Maybe type, I could have just imported Paths_darcsden in the Production backend
18:55 Heffalump anyway, I can clean that up as a follow up
18:56 sm Heffalump: sounds great. merged this one, thank you
19:12 sm but I'm still having trouble getting the production build to show styles, even with with publicDir set (unlike -dev)
19:21 sm I will try to catch it by surprise, later
20:12 Heffalump you did update the production binary, right? :-)
20:29 sm ahaha you know me well.. but yes I was testing a freshly built production binary
20:39 Heffalump you could strace to see where it's trying to read from, perhaps
20:39 Heffalump that's what I did a bit while I was playing around with the option during development
21:11 mizu_no__ joined #darcs
21:18 sm good idea
21:21 alexei_ joined #darcs
21:22 bfrank is there a way to sort commits by date?
21:33 mizu_no__ joined #darcs
21:51 c74d joined #darcs
21:55 siel_ joined #darcs
21:58 vikraman joined #darcs
22:10 Heffalump bfrank: I don't think so
22:15 zyla joined #darcs
22:22 gh_ joined #darcs
22:22 gh_ hi, I'm probably going to do the 2.10.1 release this week if it's okay
22:27 byorgey joined #darcs
23:14 sm \o/
23:31 sm we should add a stack.yaml file
23:32 sm current darcs-screened is uninstallable with ghc 7.10 due to latest dataenc requiring base < 4.8, and that should be replaced by sandi am I right ?
23:32 f-a left #darcs
23:37 sm but if so hashed-storage needs updating
23:54 Riastradh joined #darcs
23:57 dolio joined #darcs

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