IRC channel logs
2015-02-23.log
back to list of logs
<davexunit>what a terrible, terrible build system. nearly every ruby gem does this, too. <bavier>davexunit: could we provide a parameter to git-fetch to tell it to keep the .git directory? <davexunit>the best fix would be: convince the Ruby community at large of their sin and get them to repent <davexunit>I haven't been able to come up with a practical, automated solution <bavier>could we remove the impurities while keeping .git intact? <bavier>I'm not familiar with git internals <davexunit>the big issue with the .git directory is that it will be different depending on when you clone it <davexunit>if you clone guix now, and then clone guix tomorrow after some commits have been made, you'd get a different result if you 'guix hash'd the contents. <mark_weaver>davexunit: how about initializing a fresh git repo from the result of git-fetch? <mark_weaver>what exactly does it need from the git repo? if it only does something like 'git describe', it would be easy to make a fake git script for that. <davexunit>mark_weaver: it varies from gem to gem, but 'git ls-files' is common <davexunit>it's hard to automatically fix stuff like this, because the git subcommands used vary <davexunit>but I could right a phase that gets common patterns <davexunit>replacing 'git ls-files' with a Ruby array of file-names in the source tree <paroneayea>davexunit: btw, would you possibly be interested in looking at mediagoblin's current ~solution to configure/make stuff <paroneayea>I'm trying to both support virtualenv/bower type stuff for those who want to use it and also not force that, since "cleaner" environments clearly don't want that <davexunit>paroneayea: I guess I would just make sure that configure and make don't download dependencies <davexunit>maybe an additional make target could get the deps? <paroneayea>./configure && make by default *does* build the virtualenv <paroneayea>even though we have ./configure --without-virtualenv <paroneayea>if I had an infinite amount of time, I'd write a guile replacement for ./configure :) <paroneayea>even though "but shell scripts" (I know, and don't buy it) <davexunit>I added a new 'gitify' phase to the ruby-build-system that initializes a git repo in the source tree and stages all of the files. <davexunit>it's hilarious when you find a rather simple ruby library that requires rails in order to run tests <davexunit>anyway, if I can find a gem that doesn't require any external dependencies to run the test suite, I'll mail a patch set for this stuff. until then, good night. <davexunit>just when I think I may have found my way to the bottom of the Ruby dependency graph, I find a gem that requires rspec for tests. <davexunit>I intend to make sure that guix has good support for Ruby. <davexunit>the NixOS hackers just import stuff from rubygems.org <davexunit>which means that they don't run the test suite, among other things. <bavier`>it occurs to me now, seeing rekado-'s perl module patches, that I could probably trickle-commit some of these perl modules that I'm packaging for hydra. <rekado_>I was worrying that maybe I'd step on your feet and repackage perl modules you already packaged for hydra. <bavier`>rekado_: I think I had one or two of the modules you packaged, so no biggie <bavier`>but yes, I'd feel silly squating on packages when other people might need them, and this hydra package is proving to be more work that I had imagined. <davexunit>getting any web app packaged is a lot of work. <davexunit>I have long term goals of getting mediagoblin and gitlab packaged, which require packaging a ton of python and ruby libraries. <rekado_>when using snippets are the sources unpacked twice? <rekado_>I have this application that comes with huge data files and it certainly looks as if the whole thing is unpacked twice. <davexunit>rekado_: the source tarball is unpacked, then the snippet is applied, then it is repacked. <davexunit>which will then be unpacked when used as the source of a package recipe. <bavier`>rekado_: and hydra serves up substitutes for the patched tarball too <Xiaoman>What needs to be done for slim to run an Xfce session? <Xiaoman>It seems that there are no predfined xfce-session-type <Xiaoman>and I cannot find any slim.conf that does anything to the slim instance <rekado->Xiaoman: you can create an ~/.xsession file for your user account. <Xiaoman>is slim even looking in /root/.guix-profile/etc/slim.conf? <Xiaoman>What would I need to define in .xsession? <Xiaoman>I cannot even see xfce when cycling sessions in SLiM with F1 <Xiaoman>No matter what I do SLiM will only let me choose wmaker or ratpoison :/ <rekado->even with .xsession you won't see any session option in SLiM, but it will start whatever you specified there, ignoring the selected session in SLiM. <Xiaoman>Do you actually use xfce in GuixSD? Because I really cannot seem to get it to work with SLiM :/ <davexunit>Xiaoman: iyzsong is the original packager for the XFCE programs, so maybe he could help? :) <rekado->Xiaoman: .xsession must be executable. *taylanub was just about to type "I miss civodul", sees e-mails from him on the ML <taylanub>ouch, I was about to add an import for (gnu packages audio) to (gnu packages video), then noticed one of my previous patches does it the other way around already. :\\ will need to split up some modules I guess. maybe Audacity into its own file? <davexunit>"will davexunit ever make it to the bottom of the dependency graph? tune in next week!" <davexunit>I think I need to make an rspec package that doesn't run the test suite so that I have an rspec package to feed to all of the packages that rspec depends on to its tests. <davexunit>now I've found a gem that doesn't require an external dependencies, but it doesn't tag releases or provide tarballs! hahahaha