Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2014-08-01

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

All times shown according to UTC.

Time Nick Message
00:33 Rastus_Vernon joined #darcs
02:01 thorkilnaur_ joined #darcs
02:04 thorkilnaur_ joined #darcs
02:06 favonia joined #darcs
02:28 mizu_no_oto joined #darcs
02:35 joelteon joined #darcs
02:35 joelteon what does the "binaries" preference do?
03:00 alegadea joined #darcs
03:01 byorgey joined #darcs
03:51 ilbot3 joined #darcs
03:51 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.8.4 is out http://darcs.net/Releases/2.8
04:08 edwardk joined #darcs
04:28 lelf` joined #darcs
06:06 edwardk joined #darcs
06:13 Heffalump joelteon: it's to change which files darcs recognises as binary by default (I think)
06:51 edwardk joined #darcs
07:23 edwardk joined #darcs
08:03 bishboria joined #darcs
10:30 alegadea_ left #darcs
11:00 mizu_no_oto joined #darcs
11:12 mizu_no_oto joined #darcs
13:19 mizu_no_oto joined #darcs
14:22 joelteon Heffalump: if i've added a file to binaries since i first added it to the project, can i make darcs recognize the change
14:26 joelteon is there an equivalent to git commit --amend?
14:29 joelteon oh, amend-record
14:35 gh_ joined #darcs
14:38 joelteon does darcshub not display binary files?
14:38 joelteon or does darcs not track them at all?
14:46 gh_ well.. http://hub.darcs.net/darcs/darcs-wiki/browse/Using/hunk-dependency.png
14:50 gh_ it does track them
14:51 gh_ it's only that it does it in a dumb way (it does not use binary diff)
14:52 joelteon so mine should show up in the browser at least
14:56 gh_ yes
14:56 joelteon how do i make sure it's in the repo?
15:03 joelteon "the following file is already in the repository: assets/narwhal.ai"
15:03 joelteon but it's not here http://hub.darcs.net/joelteon/narwhal/browse/assets
15:03 joelteon i've done something wrong
15:14 gh_ joelteon, does it appear in "darcs show files" ?
15:14 joelteon yes
15:14 joelteon but it's not in the file browser
15:15 joelteon and if I darcs get it, it doesn't show up either
15:15 gh_ hmm, sm  ? :)
15:15 joelteon sm?
15:15 gh_ he's the admin of hub.darcs.net
15:15 joelteon oh, it's a person
15:15 joelteon I thought it was a darcs subcommand
15:15 gh_ haha :)
15:16 gh_ I never met him.. but I think he passes the Turing test
15:25 sm joelteon: your initial commit included that file, your second last commit removed it, and your last one seems like an empty commit of some kind
15:29 joelteon oh dear
15:29 joelteon what have I done wrong
15:31 sm ssh hub.darcs.net obliterate narwhal  will let you delete that commit if you want
15:31 sm then locally, something like darcs obliterate --last 1; darcs add assets/FILE; darcs record assets/FILE -am '...'; darcs push
15:31 sm good luck
15:32 joelteon ooh, it's in now
15:48 haasn joined #darcs
16:40 favonia joined #darcs
16:53 favonia joined #darcs
17:19 favonia joined #darcs
17:29 favonia joined #darcs
17:52 amgarching joined #darcs
18:06 favonia joined #darcs
18:18 lelf joined #darcs
18:35 favonia joined #darcs
20:26 joelteon my darcs clone is failing because of "(.: openBinaryTempFile: permission denied (Permission denied))"
20:26 joelteon what causes that?
20:46 joelteon does that mean that I'm in a working directory that I don't have write permission for?
20:46 Heffalump err, I guess so
20:47 Heffalump can you make a directory with mkdir?
20:47 joelteon this is coming from a systemd service
20:47 Heffalump you're doing a darcs clone inside a systemd service?
20:47 joelteon yeah, it's hydra
20:47 joelteon it does periodic builds of projects
20:48 joelteon looks like this: https://gist.githubusercontent.com/joelteon/13ce82dc1416e7f44842/raw/12186b14effe96bd2d8d3582bb3c4258e20b8594/gistfile1.txt
20:48 Heffalump hmm, so you'd expect it do be running things in a folder it can write to
20:48 burp joined #darcs
20:48 joelteon i'd think so yes
20:48 Heffalump hydra as in the nixos builder, right?
20:48 joelteon yes
20:49 Heffalump actually, that error could be coming from the remote end
20:49 joelteon oh, could it?
20:49 Heffalump well, "Not a repository" normally refers to problems with the remote end
20:49 joelteon Heffalump, can you clone that repo?
20:49 joelteon i can
20:49 Heffalump but, I can get that URL, so I can't see why you'd be any different
20:50 Heffalump or hydra for that matter
20:50 joelteon i can get it too
20:51 Heffalump ok, I can repro your precise error when I can't write to my working directory
20:51 Heffalump so it must be that
20:51 Heffalump if this is running from a script you control, perhaps chmod u+w . as the linebefore the darcs clone?
20:51 Heffalump and/or add a mkdir test in
20:51 joelteon okay, interesting
20:51 joelteon yeah, i'll try that
20:55 joelteon yeah, that fixed it
20:56 Heffalump very odd that hydra leaves a build folder in that place
20:58 Heffalump s/place/state/
21:01 joelteon well, it clones to /var/lib/hydra/scm/...
21:01 joelteon but apparently darcs creates a lock file in . no matter where you're cloning to
22:09 Heffalump ah
22:10 Heffalump that's not ideal
22:10 favonia joined #darcs
22:10 joelteon nah
22:11 joelteon but i did get it fixed by changing the pwd of the service to somewhere the hydra user can write to
22:16 Heffalump so the clone is something like darcs clone http://foo/blah /var/lib/hydra/scm/blah ?
22:18 Heffalump the code seems to be trying to find somewhere to make a temporary directory. I'm not sure why.
22:18 Heffalump since it then doesn't actually use the directory (!)
22:29 joelteon yeah!
22:29 joelteon maybe I'll file a bug
22:31 joelteon hmm, darcshub doesn't have an issue tracker
22:31 Heffalump bugs.darcs.net
22:32 Heffalump darcshub does have issue trackers but they won't be enabled for darcs itself because it's not the primary site for darcs (though it probably will become so in time)
23:14 favonia joined #darcs

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