Thank you for these detailed instructions. I *think* I've done all the steps correctly.
On Mon, Sep 8, 2014 at 4:32 PM, Isaiah Norton <[email protected]> wrote: > > But I don't understand what to do or what this exactly means. > > > I thought we had a guide for this somewhere, but I can't find it right > now. So here is a quick shot at outlining the steps. > > Right now the git commit representing that "Tag 0.0.1" message in your > output log only lives on your own computer. By "forking" the main METADATA > repository, you can create a personal copy (of METADATA.jl) under your > GitHub account. Once that copy exists, you can push your local changes to > your copy (just like any other GitHub project). The trick is that GitHub > keeps track of the difference between your fork and the master repository, > and provides a nice button to make a request to merge your changes. That's > all a pull request is. There are also some buttons for METADATA admins to > merge those changes, which makes the workflow convenient all around and > also facilitates some nice things like automatic testing integration. > > 1) go to http://github.com/JuliaLang/METADATA.jl and create your own fork: > > [image: Inline image 1] > This will create a personal clone of the METADATA repository under your > github account, so that you can commit to it. > > 2) add your fork as a remote repository for the METADATA repository on > your local computer (in the terminal): > > # cd /Users/ers/.julia/METADATA > # git remote add ers *https://github.com/scheinerman/METADATA.jl.git > <https://github.com/scheinerman/METADATA.jl.git>* > > 3) push your changes to your fork: > > # git push ers metadata-v2 > > 4) If all of that works, then go back to the GitHub page for your fork, > and click the "pull request" link: > > [image: Inline image 2] > > The next page should show a preview of the changes, which should only > include the single commit with the message "Tag 0.0.1", and then a "Create > Pull Request" button at the bottom on the page. > > > On Mon, Sep 8, 2014 at 3:39 PM, Ed Scheinerman < > [email protected]> wrote: > >> I tried following the instructions here: >> http://docs.julialang.org/en/release-0.3/manual/packages/#publishing-your-package >> to publish my "Permutations" module (available here: >> https://github.com/scheinerman/Permutations.jl >> ) >> >> Here's the output I got: >> >> julia> Pkg.publish() >> INFO: Validating METADATA >> INFO: Pushing Permutations permanent tags: v0.0.1 >> Permission denied (publickey). >> fatal: Could not read from remote repository. >> >> Please make sure you have the correct access rights >> and the repository exists. >> ERROR: failed process: Process(`git >> --work-tree=/Users/ers/.julia/v0.3/Permutations >> --git-dir=/Users/ers/.julia/v0.3/Permutations/.git push -q origin >> refs/tags/v0.0.1:refs/tags/v0.0.1`, ProcessExited(128)) [128] >> in wait at >> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib >> (repeats 2 times) >> in wait at task.jl:48 >> in sync_end at >> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib >> in publish at pkg/entry.jl:319 >> in anonymous at pkg/dir.jl:28 >> in cd at >> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib >> in __cd#227__ at >> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib >> in publish at pkg.jl:57 >> >> Help!? Thanks. >> >> PS I did read this on the Julia documentation page: >> >> For various reasons Pkg.publish() sometimes does not succeed. In those >> cases, you may make a pull request on GitHub, which is not difficult. >> >> But I don't understand what to do or what this exactly means. >> >> >> >> > -- Ed Scheinerman ([email protected])
