[julia-users] Re: Adding Julia package to METADATA.jl

2014-09-06 Thread Samuel S. Watson
Thanks to everyone for the help! I think I got it sorted out. On Friday, September 5, 2014 2:41:54 AM UTC-4, Samuel S. Watson wrote: > > I have a package I put on GitHub that I'd like to request be added to > METADATA.jl. My understanding is that I'm supposed to fork > JuliaLang/METADATA.jl, ad

Re: [julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Kevin Squire
Just to expand on Leah's answer, there's a nice section in the manual on Package development , which includes information about publishing to METADATA.jl. Cheers, Kevin On Fri, Sep 5, 2014 at 7:11 AM, Leah Hanson wr

Re: [julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Leah Hanson
If you run `Pkg.register("YourPkgName")` at the Julia REPL, it will generate that folder for you (complete with the commit hashes). Does that work for you? On Fri, Sep 5, 2014 at 9:06 AM, Samuel S. Watson wrote: > OK, that's a fair point. What I should have said is that my interpretation > of

Re: [julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Samuel S. Watson
OK, that's a fair point. What I should have said is that my interpretation of what he said wasn't the right thing to do. It hinges on what stuff is supposed to be added to the directory. I had assumed it was the package stuff, and in fact it's supposed to be a directory containing some version

Re: [julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Jacob Quinn
On Tim's point, I usually keep a totally separate METADATA.jl directory apart from the one installed in .julia/0.3 or .julia/0.4. I hate to be sharing all my "manual" package dev tips, but I will say I'm thoroughly looking forward to the much-mentioned Pkg overhaul. -Jacob On Fri, Sep 5, 2014 a

Re: [julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Tim Holy
I haven't followed this thread, and these steps require a bit of git savvy, but: you probably need to go into the package METADATA directory, create a branch with all your registrations, then check out metadata-v2 again. Do a rebase on origin/metadata-v2 and edit it to keep just the registration

Re: [julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Jacob Quinn
"wasn't the right thing to do"... I don't think I'd say that. It's essentially what Pkg.publish() is doing underneath anyway (or tries to do). The steps he listed are actually how I bump packages all the time, since I've had troubles with Pkg.publish() as well. -Jacob On Fri, Sep 5, 2014 at 9:3

[julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Samuel S. Watson
For the record, I tried Mauro's suggestion, and it worked but it wasn't the right thing to do. And the step where I'm stuck is Pkg.publish(), not Pkg.register(). That's the one that the documentation says often breaks, and it also doesn't take any arguments, which makes me think it's going to p

[julia-users] Re: Adding Julia package to METADATA.jl

2014-09-05 Thread Ivar Nesje
See the docs for package development http://docs.julialang.org/en/latest/manual/packages/#package-development You seem to be stuck at Pkg.register ("yourpackage") On Friday, September 5, 2014 8:41:54 AM U