Figured it out, I believe I now have a proper pull request in place. My guess is that until Pkg.publish() works for folks without write access to METADATA (automatically creating a pull request), this is a bit cumbersome.
What I did (more maybe for my own benefit :-( in a few weeks): 1) Forked JuliaLang/METADATA.jl to goedman/METADATA.jl 2) Cloned goedman/METADATA.jl to my machine 3) Manually copied over my updated package info ( from .julia/v0.3/METADATA/HyperDualNumbers to directory with the cloned goedman/METADATA.jl ) 4) Committed goedman/METADATA.jl to github 5) Created a pull request on base JuliaLang/METADATA.jl (from head goedman/METADATA. Rob J. Goedman goed...@icloud.com On Apr 21, 2014, at 10:12 AM, Robert J Goedman <goed...@icloud.com> wrote: > Hi, > > In trying to update the registered package HyperDualNumbers (from v0.1.1 to > v0.1.2, a few very minor changes to the README.md), I think I got myself in a > pickle. > > I tried to follow the relevant doc section. I don't think I have write access > to METADATA. Details on what I did are attached below. > > Maybe I should not have worked in the .julia/v0.3 directory? But if I were to > clone HyperDualNumbers and/or METADATA.jl, how would Pkg.tag() find that? > Once I get METADATA updated, to generate a pull request (initially Jiahao was > so kind to add the initial version of the package for me), should I use the > GitHub tool? > > Any help would be appreciated! > > Regards, > Rob J. Goedman > goed...@icloud.com > > ------------------------------------------------------------------- > > I updated the HyperDualNumbers package in the ~/.julia/v0.3 directory and > committed the changes to the git repository and ran > Pkg.tag("HyperDualNumbers"): > > julia> Pkg.tag("HyperDualNumbers") > INFO: Tagging HyperDualNumbers v0.1.2 > INFO: Committing METADATA for HyperDualNumbers > > robs-15inch-2:HyperDualNumbers rob$ cd ~/.julia/v0.3/HyperDualNumbers && git > tag > v0.1.0 > v0.1.2 > robs-15inch-2:HyperDualNumbers rob$ cd ~/.julia/v0.3/HyperDualNumbers && git > show --stat > commit d405891a0188a0a3e4cd59156775405b71e63aed > Author: Rob J. Goedman <goed...@mac.com> > Date: Mon Apr 21 09:07:30 2014 -0700 > > Update to tag v0.1.2 > > README.md | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > I was surprised v0.1.1 was not listed. And METADATA does not seem to have > been updated for HyperDualNumbers: > > robs-15inch-2:HyperDualNumbers rob$ cd ~/.julia/v0.3/METADATA && git show > commit 9ece76e2246e1166aa2d0a0c59ab13e9f9dd747b > Merge: 0daf52c cc00e5e > Author: Robert J. Ennis <r...@sdf.org> > Date: Mon Apr 21 17:01:45 2014 +0200 > > Merge pull request #779 from rennis250/metadata-v2 > > Tag SDL v0.1.2 > > julia> Pkg.available("HyperDualNumbers") > 2-element Array{VersionNumber,1}: > v"0.1.0" > v"0.1.1" > > I tried Pkg.publish() anyway and expected to get a rejection because I don't > have write permissions, but I think it did not even get to that point: > > julia> Pkg.update() > INFO: Updating METADATA... > INFO: INFO: INFO: INFO: INFO: INFO: Updating ApproxFun...INFO: Updating > HyperDualNumbers...Updating NumericalMath...Updating RevMode...Updating > Calculus2...Updating RmathDist...Updating PGM... > > INFO: Computing changes... > INFO: No packages to install, update or remove > > julia> Pkg.publish() > ERROR: METADATA is behind origin/metadata-v2 – run `Pkg.update()` before > publishing > in publish at pkg/entry.jl:308 > in anonymous at pkg/dir.jl:28 > in cd at file.jl:20 > in cd at pkg/dir.jl:28 > in publish at pkg.jl:57 > >