Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-07-27

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

All times shown according to UTC.

Time Nick Message
00:40 mizu_no_oto joined #darcs
01:36 mizu_no_oto joined #darcs
02:01 mizu_no_oto joined #darcs
02:53 byorgey joined #darcs
02:53 byorgey joined #darcs
03:12 lf94 joined #darcs
03:34 dolio joined #darcs
04:48 dolio joined #darcs
05:41 lf94 joined #darcs
07:04 amgarchIn9 joined #darcs
08:37 notdan Heffalump: sorry, http://hub.darcs.net/co-dan/darcsden-local-take2/
08:37 notdan sm: hi! do you want to do another round of merging soon?
09:40 notdan Hm, when we are talking about "first" and "last" patches, are the last ones those that we get latter on when we do `darcs pull`?
09:42 notdan If so, I don't understand why the variable 'deps' here <http://hub.darcs.net/darcs/darcs-2.10/browse/src/Darcs/Patch/Choices.hs#206> is called this way
09:42 notdan those are the patches that depend on lp, right?
09:42 notdan or, well, on lp'
09:43 amgarching joined #darcs
10:18 c74d3 joined #darcs
10:24 lambdabot joined #darcs
11:08 mizu_no_oto joined #darcs
11:19 sea-gull joined #darcs
11:57 fr33domlover joined #darcs
11:57 fr33domlover hello!
11:58 fr33domlover I've been using Darcs at darcs.rel4tion.org running Darcsweb, I'm going to install darcsden there and hopefully contribute any fixes/patches I make back to upstream
11:58 fr33domlover just wanted to say hello, especially since I'll be running my own instance etc.
12:04 amgarching joined #darcs
13:48 notdan cool :)
13:54 notdan we'll soon have a plain-fail based darcsden that can work very much like darcsweb
14:51 sm hi notdan! yes, current goal is to merge the http tests, I'm waiting for you to present those patches in a logical group
14:54 sm I'm moving in two days so right now can only chat for a few minutes here and there
14:54 sm fr33domlover: welcome!
15:13 fr33domlover notdan, sm, :-)
15:14 fr33domlover it is safe to run latest darcsden on a home server?
15:14 fr33domlover security wise
15:14 fr33domlover Because then I have the latest code to hack on
15:14 fr33domlover I saw there were many changes since the latest hackage release 1.1.1
15:15 fr33domlover (I do tiny bits of hacking on an lpaste instance I run, so I hope to expand the habit to darcsden too)
15:31 sm fr33domlover: it can be, sure. You don't have to expose the http port (or ssh port if you're testing that) to the outside world
15:33 sm though it can be nice to make it public for demo/discussion purposes, like http://darcs.updog.xyz/updog
15:33 fr33domlover sm, I want to run an instance for actual use :)
15:33 fr33domlover I usually hack on the same instance I run
15:33 fr33domlover I suppose having a small home server gives me some space to do that without much risk of breaking stuff etc.
15:33 sm if (I suppose when :( ) someone cracks darcsden's http auth, they could.. obliterate your repos I guess
15:36 sm fr33domlover: yes dogfooding++
15:42 fr33domlover sm, that's why I ask: If there's a somewhat high risk of the auth getting cracked, maybe I shouldn't take the risk etc.
15:43 fr33domlover I ask because some projects have their master branch as the default for running on the server (especially young projects and web apps)
15:43 fr33domlover I like that because then I can hack on it when I have some time
15:43 sm that's what we do
15:44 fr33domlover Except the hub runs on a VPS
15:44 fr33domlover I have a home server, without any VM etc.
15:44 fr33domlover so it's riskier :P
15:45 fr33domlover Actually I could run 2 instances, one public and one for dev, if it doesn't take too much RAM together
15:45 sm what's the purpose of making it public ? if it's just for dev demo & discussions, you can start it temporarily just when needed
15:45 fr33domlover sm, it's for regular dev use
15:45 fr33domlover in place of darcsweb
15:45 fr33domlover because people want to send patches to my darcs repos
15:46 fr33domlover and darcsweb doesn't have support SSH
15:46 fr33domlover (I use gitolite for git, there's no darcs version for it)
15:47 fr33domlover So far I take patches/branches using project wikis/tickets, but it can be much more intuitive with darcsden
15:48 sm ok, so you need a permanent public instance, but under your control.. well you could rent a vps (pretty cheap), or you can run it on your home server but try to keep it a bit obscure (only share the url with collaborators), or put it behind a HTTPS proxy (that's probably a good move)
15:49 sm and have some way of noticing if some suspicious activity happens
15:50 sm and review/discuss the security situation more with folks here
15:51 fr33domlover sm, the reason I don't use hub.darcs.net is just to create decentralization
15:51 fr33domlover otherwise I meant to have a public instance, except it's meant for a small number of people
15:51 sm sounds good
15:52 fr33domlover Anyone thought about adding federation features etc.?
15:52 fr33domlover If darcs had that before git...
15:52 sm afk, see you later
15:52 fr33domlover bye
16:01 notdan sm: ok, I seemed to misunderstood you. What kind of logical group are you talking about? Do you want me to send you a list of patch names/hashes or do you want me to actually rebase the patchset so that tests are closer to each other in the history?
16:04 notdan Also the HTTP auth is supposed to be secure as regular auth
16:05 notdan to think of it I should add an ability to turn it off
16:05 Riastradh joined #darcs
16:08 notdan sm: (I will try not to bother you very much, moving is super duper stressful -- at least for me -- and it sucks!)
16:10 byorgey joined #darcs
16:13 sm notdan: <sm> notdan: can you rebase the patches introducing the http test suite so they're together, and earliest so I can easily pull just those. And having done that much, you might want to merge a few of the fixup patches as well. At least right now, it's hard for me to tell what's going on from the history - cleaner patches will greatly assist anyone trying to compare branches, troubleshoot, darcs trackdown etc.
16:13 sm to which you you said group them in history ? yeah I can do that
16:14 sm I'm still polling for that to happen :)
16:14 notdan argh, sorry
16:14 sm don't worry about bothering me, just forgive me if I get briefer and less responsive. I'll still read everything you say/ask here
16:14 sm (just not in real time)
16:20 sm fr33domlover: I think the short story on securing a public darcsden currently is don't expose it to the outside world, keep it behind a apache/nginx enforcing HTTPS. In your case you also need the ssh server, which is unavoidably exposed - Heffalump hardened it a bit this year, but that's about all we can say about it. You could run it on a non-standard port at the cost of significant inconvenience for you rusers
16:22 fr33domlover sm, I already have SSH for other things - doesn't that require to use a non-standard port anyway?
16:22 fr33domlover I wish SSH server could (or can they?) be stacked like with web servers / apps
16:23 fr33domlover My home server already has many things running, all of them public
16:23 fr33domlover so I generally don't mind an SSH/HTTP/etc. that is world-visible
16:24 fr33domlover (world-visible is exactly what I want, encourage people to join and even run more instances etc.)
16:34 amgarching joined #darcs
16:50 byorgey joined #darcs
16:55 sm (PS and none of us follow that HTTPS advice yet, including darcs hub which probably should)
16:55 sm fr33domlover: I run it on the standard port and moved the system ssh to a non-standard one, for convenience of users
16:55 Heffalump fr33domlover: re federation, I have a long-term goal to make all darcsden's data be under version control, which is not quite the same thing but might help
16:57 Heffalump notdan: got it, thakns, didn't realise there'd be a draft patch in that branch
17:09 fr33domlover Heffalump, cool idea. If it doesn't interfere with the scalability etc. that DBs provide
17:09 fr33domlover The general idea I had in mind is like in GNU social and Pump.io etc., i.e. the specific server you have an account on is transparent in the UI
17:10 fr33domlover users can send patches to different servers, make teams of users fromm different servers etc., transparently
17:10 fr33domlover perhaps some oauth/webfinger/etc. and a protocol that sends JSON-over-HTTP between instances
17:11 fr33domlover that still needs some planning :P
17:15 Heffalump notdan: I tried the tests and got some failures - sent them to you by email
17:29 notdan thanks Heffalump
17:31 notdan Heffalump: this is so weird -- the unrecored changes tests are actually passing.. does it still give you the error if you go to <http://localhost:8900/local/repos%2funrecorded_changes/record>?
17:38 Heffalump ok: so now renderedunrecorded does work, but the record page still misbehaves when there are no unrecorded changes
17:38 Heffalump also, it's contacting code.jquery.com which isn't good for my offline habits
17:38 Heffalump (I noticed because I was going through a tunnel at the time :-))
17:39 Heffalump I'm now trying it with an unrecorded change and I'm not quite sure what's happening
17:43 notdan misbehaves as in still gives you the error?
17:52 Heffalump the 'record' page still hangs trying to load the changes
17:53 Heffalump ok, it's also doing that when there are unrecorded changes
17:53 Heffalump i.e. it hangs indefinitely at "Fetching the changes"
17:59 notdan Uh whyyyyyyyy :(
18:09 Heffalump pass :-) I guess this is just the kind of thing that the selenium tests could in theory help with, but not if it's disproportionate effort for you to set them up
18:09 Heffalump btw I tried to get it darcsden-local running on Windows too, had a couple of problems, but nothing that seems really fundamental
18:10 Heffalump firstly, rawSystem "start" doesn't really work - I think start is a builtin to the 'cmd' shell. "explorer" seems like the right alternative, but it barfs on URLs containing @ symbols :-(
18:10 Heffalump but given you are going to switch to an HTML page anyway perhaps that's ok
18:11 Heffalump also I think getHomeDirectory is the wrong way to find the folder for the config file - perhaps check what darcs does to find its config directory?
18:11 Heffalump it wound up returning c:/users/Ganesh where I think config files belong somewhere deeper like c:/users/Ganesh/AppData/<something>
18:12 Heffalump most seriously the repo itself isn't found relative to the configured home directory, but I need to investigate more why that is.  Again probably fairly trivial to fix once I understand it.
18:15 notdan Heffalump: should we move ~/.darcsden.conf -> ~/.darcs/darcsden.conf
18:15 notdan and alternative vis a vis windows?
18:26 notdan Heffalump: if I may bug you even more, can you perhaps take a look at the console/developer tools output regarding XHR requests?
18:33 Heffalump notdan: makes sense for the conf file
18:33 Heffalump will do when I have time (later this evening probably)
19:35 stulli joined #darcs
20:49 lf94 joined #darcs
20:56 Heffalump oh, I see what happened with the record stuff. My fault.
20:57 Heffalump I'd pointed publicDir to the public folder of a different checkout. So it couldn't find record.js because it wasn't there. Completely obvious once I looked in the console!
20:57 Heffalump Sorry for the noise. It seems fine now.
20:58 Heffalump it's fine whether or not there are changes to record. But it is still going to code.jquery.com I think.
21:02 amgarching joined #darcs
21:20 Heffalump still, I guess it would have been more friendly to have failed with a clear error :-)
22:56 mizu_no_oto joined #darcs

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