ogd: should probably add jbenet/transformer jbenet/data jbenet/datadex to dat-git-bot?
rasklz joined the channel
rasklz has quit
mafintosh
jbenet: transformer looks like its growing up fast!
floppy joined the channel
jbenet: you might wanna change require(path.join(__dirname, 'filename.js')) to require('./filename') to make it browserifyable
jbenet
@mafintosh thanks :D
@mafintosh: won't that break windows compatibility?
fff. got used slack. mafintosh ^
mafintosh
jbenet: no node is really *really* clever about paths
jbenet: stuff like fs.readFile('./foo/bar/baz') also works
jbenet: and path.join('c:\\foo', 'foo', 'bar/baz') also returns kinda what you would expect
dybskiy has quit
dybskiy joined the channel
jbenet
mafintosh: ah, nice. so, why is path used all over the place?
mafintosh
jbenet: Its to support custom backends i would assume. since you need to require them somewhere !== __dirname
dybskiy has quit
ogd: o/
rasklz joined the channel
dybskiy joined the channel
dybskiy_ joined the channel
dybskiy has quit
dybskiy_ has quit
ladekjaer joined the channel
dybskiy joined the channel
dybskiy has quit
floppy has quit
floppy joined the channel
dybskiy joined the channel
dybskiy has quit
taterbase has quit
rasklz has quit
rasklz_ joined the channel
dybskiy joined the channel
rasklz_ has quit
dybskiy has quit
dybskiy joined the channel
dybskiy has quit
rasklz joined the channel
dybskiy joined the channel
dybskiy has quit
paulfitz joined the channel
floppy has quit
floppy joined the channel
dybskiy joined the channel
dybskiy has quit
floppy1 joined the channel
floppy has quit
dybskiy joined the channel
dybskiy has quit
taterbase joined the channel
shama joined the channel
floppy joined the channel
floppy1 has quit
[o__o] joined the channel
dybskiy has quit
dybskiy joined the channel
dybskiy_ joined the channel
dybskiy has quit
dybskiy_ has quit
dybskiy joined the channel
dybskiy_ joined the channel
dybskiy has quit
dybskiy_ has quit
dybskiy joined the channel
dybskiy has quit
dybskiy joined the channel
floppy has quit
[o__o] joined the channel
NOTICE: [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
ogd
mafintosh: oh i thought only ./foo.js worked but not ./foo/bar/baz, but i dont relaly know
jbenet: dat-git-bot is just the github irc hook, you can configure it from your repo settings
jbenet: you can only do it 1 repo at a time
paulfitz has quit
mafintosh: hey whats the status on the appveyor integration? did you want me to take a stab at it?
ogd: feel weird about taking someone else's name. another reason i'm all for namespacing :) -- it may be ok to use `dat-transformer`
ogd
jbenet: nah it's normal to take unused modules, but only if they are inactive (this one is)
it has no activity in 2 years and no dependents
dybskiy joined the channel
mafintosh
ogd: I'm only got so far as finding out that it should be easy to do. fell free to start out - i'll can join in and contribute.
ogd
mafintosh: im thinking we should postpone the fully automated builds for now
mafintosh: and instead just do them by hand
mafintosh: (on windows)
mafintosh
ogd: good idea. we can just build them in the vms
ogd
actually probably should just do them by hand on all machines
mafintosh
I'm doing that all weekend. Finally got some free time :)
floppy joined the channel
ogd
we should probably just have a shell script that dumps the build somewhere and we can hand upload them to gh-releases or whatever
mafintosh
*dat
ogd
haha
jbenet
ogd mafintosh: that's what i was doing for data. I have scripts that fire up the vms, compile, and copy the files. Look at https://github.com/jbenet/data/tree/master/plat... it doesn't have windows yet, but the makefiles do it all automatically.
ogd
later we can get travis/appveyor to publish releases for us but i'd like to deprioritize that for now
mafintosh
My brain does auto correct for me.
jbenet
Ah!!! ogd: that's where that link was! I couldn't find it in my email. :]
but havent seen anything to fully automate booting + building
jbenet: those vagrantfiles look useful
jbenet
it had a more general repo here: https://github.com/jbenet/platform-vms the idea is clone `platform-vms` into your project (like into `data/platforms`) and then modify as needed. any general stuff can be pushed back upstream.
ogd: the makefile automatically (a) builds in every platform, (b) extracts the binaries, (c) packages the tarballs with a readme, ready to drag + drop to github.
mafintosh o/
ogd
whoa perfect
ogd hugs eveyrone
jbenet
:D
`tar.README.md` is what's put into the tarball. it's a template, has a simple script there that filled in the values. can just port that to js.
ogd: happy to help with this, if you show me an example of how the builds work right now, i can `vm-platformize` dat.
floppy has quit
ogd
we only need it for leveldown + leveldown-hyper actually as the rest of dat is just JS
i think mafintosh has an example of building leveldown
mafintosh
Sorry. A bit slow. Danish culture dictates that we spend the entire friday drinking beer :)