Re: [julia-users] Re: Change url of a package
Indeed ! There was a tag v0.1.2. I suppressed it and tagged again the correct version before using Pkg.publish(). It should be in order now. Thanks for your help. On Fri, 17 Jun 2016 at 22:59 Tony Kelman <t...@kelman.net> wrote: > How about in Pkg.dir("StochDynamicProgramming"), check `git tag`, is there > a v0.1.2 there? > > > > On Friday, June 17, 2016 at 5:16:06 AM UTC-7, vincent leclere wrote: > >> Thanks for the answer, I updated the url directly on github. >> >> As for tagging the new version I could not find any file 0.1.2 in my >> Pkg.dir("METADATA")/StochDynamicProgramming/versions >> >> Any ideas ? >> >> On Thu, 16 Jun 2016 at 20:03 Tony Kelman <to...@kelman.net> wrote: >> >>> You can just edit >>> https://github.com/JuliaLang/METADATA.jl/blob/metadata-v2/StochDynamicProgramming/url >>> and propose that change in a pull request. >>> >>> It seems like you have locally created an 0.1.2 tag already? Check in >>> your `Pkg.dir("METADATA")` for the current git status and whether the files >>> under StochDynamicProgramming/versions/0.1.2 are what you want them to be? >>> >>> >>> >>> On Thursday, June 16, 2016 at 10:15:57 AM UTC-7, vincent leclere wrote: >>>> >>>> Hello, >>>> >>>> I submitted a package (StochDynamicProgramming) a few weeks ago linked >>>> to my >>>> personal github repo. Since then the repo was transferred to Julia-Opt. >>>> I do not know >>>> how to update the metadata accordingly. I also have a new release to >>>> tag. >>>> I tried : >>>> Pkg.register("StochDynamicProgramming") but got an error (already >>>> registered) >>>> Pkg.publish() but got an error (no metada changes) >>>> Pkg.tag("StochDynamicProgramming") but got an error (fatal: tag >>>> 'v0.1.2' already exists) >>>> >>>> I am lost there... >>>> >>> -- >> Vincent Leclère >> > -- Vincent Leclère
Re: [julia-users] Re: Change url of a package
Thanks for the answer, I updated the url directly on github. As for tagging the new version I could not find any file 0.1.2 in my Pkg.dir("METADATA")/StochDynamicProgramming/versions Any ideas ? On Thu, 16 Jun 2016 at 20:03 Tony Kelman <t...@kelman.net> wrote: > You can just edit > https://github.com/JuliaLang/METADATA.jl/blob/metadata-v2/StochDynamicProgramming/url > and propose that change in a pull request. > > It seems like you have locally created an 0.1.2 tag already? Check in your > `Pkg.dir("METADATA")` for the current git status and whether the files > under StochDynamicProgramming/versions/0.1.2 are what you want them to be? > > > > On Thursday, June 16, 2016 at 10:15:57 AM UTC-7, vincent leclere wrote: >> >> Hello, >> >> I submitted a package (StochDynamicProgramming) a few weeks ago linked to >> my >> personal github repo. Since then the repo was transferred to Julia-Opt. I >> do not know >> how to update the metadata accordingly. I also have a new release to tag. >> I tried : >> Pkg.register("StochDynamicProgramming") but got an error (already >> registered) >> Pkg.publish() but got an error (no metada changes) >> Pkg.tag("StochDynamicProgramming") but got an error (fatal: tag 'v0.1.2' >> already exists) >> >> I am lost there... >> > -- Vincent Leclère
[julia-users] Change url of a package
Hello, I submitted a package (StochDynamicProgramming) a few weeks ago linked to my personal github repo. Since then the repo was transferred to Julia-Opt. I do not know how to update the metadata accordingly. I also have a new release to tag. I tried : Pkg.register("StochDynamicProgramming") but got an error (already registered) Pkg.publish() but got an error (no metada changes) Pkg.tag("StochDynamicProgramming") but got an error (fatal: tag 'v0.1.2' already exists) I am lost there...
[julia-users] Int or Int64
Hi all, quick question: I am building a package and has been defining types with Int64 or Float64 properties. Is there any reason why I should be using Int and Float instead ? (Does Int64 work on 32bits processors ?) Will it be at the price of efficiency loss ? Thanks
[julia-users] sort and indexes
Hello, I couldn't find an easy way to sort an array and have the corresponding indexes of the original array. An example of what I want : [array_sorted, Indexes] = sort ( [20 10 30]) giving array_sorted = [10 20 30] Indexes = [2 1 3] any help welcomed