The package manager mostly calls out to git to do stuff in the "correct" 
order, but there is very little that Pkg does that you cannot do manually 
with git, given that you know what should be done.

// T

On Sunday, September 28, 2014 8:34:31 PM UTC+2, Sal Mangano wrote:
>
> Okay, thanks. I just thought there were also things you needed to do with 
> the Julia Pkg manager as well as at the git level.
> I
> On Sep 28, 2014, at 2:28 PM, Andreas Noack <[email protected] 
> <javascript:>> wrote:
>
> Then I'm not sure exactly what you are asking about. Each package is a git 
> repository so you can just make your own branch of it in 
> ~/.julia/SomePackage and when you think it is ready for submission you can 
> follow the steps from my last mail, i.e. fork, push and open pull request.
>
> Med venlig hilsen
>
> Andreas Noack
>
> 2014-09-28 14:15 GMT-04:00 Sal Mangano <[email protected] <javascript:>>:
>
>> That is fine. I know how to use git. I guess what I am asking is how to 
>> go about using the modified and testing the package I modified before I am 
>> ready to commit changes.
>>
>> Is it something like:
>>
>> 1) Pkg.checkout("SomePackage")
>> 2) Edit the code in ~/.julia/SomePackage/src
>> 3) Pkg.test("SomePackage")
>> 4) ... ????Not sure what to do next assuming above is right
>>
>>
>>
>>
>> On Sunday, September 28, 2014 1:28:25 PM UTC-4, Andreas Noack wrote:
>>>
>>> You'll have to know how to use git. It will require some investment 
>>> costs if you don't already know how to use it, but it is really convenient 
>>> for cooperative package development.
>>>
>>> It is a good idea to commit the changes you have made to the package to 
>>> a new branch. Then you'll have to fork the original repository and push 
>>> your branch to your fork on github (so you'll need a github account, it you 
>>> haven't got one yet.) When that is done, you'll see an option for opening a 
>>> pull request at your personal github page.
>>>
>>> Med venlig hilsen
>>>
>>> Andreas Noack
>>>
>>> 2014-09-28 11:45 GMT-04:00 Sal Mangano <[email protected]>:
>>>
>>>> Say I install a new Package using Julia's package manager. After using 
>>>> it for a while I find a bug that I'd like to try to fix myself. Or maybe 
>>>> I'd like to enhance the package in some way.
>>>> What is the recommended workflow for doing this? Do I use 
>>>> Pkg.checkout('SomePkg') and then edit the source/unit tests? 
>>>> What happens when I am done and would like to contribute my changes to 
>>>> the author of the package? 
>>>>
>>>>
>>>>
>>>
>
>

Reply via email to