Thread overview
[phobos] Getting the latest Phobos release
Apr 06, 2011
Walter Bright
Apr 06, 2011
Jonathan M Davis
Apr 06, 2011
Jacob Carlborg
Apr 06, 2011
Lutger Blijdestijn
April 06, 2011
In order to build and rsync d-programming-language.org, I must get the latest release of Phobos.

To do so, I need to figure out a mechanical way to fetch the latest release from github (probably in a separate tree from the one I'm working on). Then I build the html off that tree and rsync it with the website.

How can I get the last Phobos release from github?


Thanks,

Andrei
April 05, 2011
I've found this helps a lot: http://progit.org/book/

On 4/5/2011 10:19 PM, Andrei Alexandrescu wrote:
> In order to build and rsync d-programming-language.org, I must get the latest release of Phobos.
>
> To do so, I need to figure out a mechanical way to fetch the latest release from github (probably in a separate tree from the one I'm working on). Then I build the html off that tree and rsync it with the website.
>
> How can I get the last Phobos release from github?
>
>
April 05, 2011
> In order to build and rsync d-programming-language.org, I must get the latest release of Phobos.
> 
> To do so, I need to figure out a mechanical way to fetch the latest release from github (probably in a separate tree from the one I'm working on). Then I build the html off that tree and rsync it with the website.
> 
> How can I get the last Phobos release from github?

Well, if you already have a git repository there, then just run

git-pull remote-name master

(where remote-name is whatever you named the main repository as a remote branch - be it origin or upstream or whatever) and it'll grab the most recent version. If you aren't doing any development on that branch, then it'll merge just fine. The only issue that I can think of would be that it might have to deal with authentication (though if you use the http link, I think you can avoid that, since you wouldn't have commit privileges anyway). And if you want to do it from scratch every time, then just clone the repository and then run the build instead of pulling and then running the build.

- Jonathan M Davis
April 06, 2011
If you want to find the latest reachable tag, take a look at *git describe*

This should do it in a checkout of master: git checkout $(git describe
--abbrev=0)

2011/4/6 Andrei Alexandrescu <andrei at erdani.com>

> In order to build and rsync d-programming-language.org, I must get the latest release of Phobos.
>
> To do so, I need to figure out a mechanical way to fetch the latest release from github (probably in a separate tree from the one I'm working on). Then I build the html off that tree and rsync it with the website.
>
> How can I get the last Phobos release from github?
>
>
> Thanks,
>
> Andrei
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110406/962c8bab/attachment.html>
April 06, 2011
I need the latest release e.g. 2.052, not the latest and greatest in master. So this is more of an issue on how we tag releases in github and how I can get the most recent such tag.

Andrei

On 04/06/2011 01:34 AM, Jonathan M Davis wrote:
>> In order to build and rsync d-programming-language.org, I must get the latest release of Phobos.
>>
>> To do so, I need to figure out a mechanical way to fetch the latest release from github (probably in a separate tree from the one I'm working on). Then I build the html off that tree and rsync it with the website.
>>
>> How can I get the last Phobos release from github?
>
> Well, if you already have a git repository there, then just run
>
> git-pull remote-name master
>
> (where remote-name is whatever you named the main repository as a remote branch - be it origin or upstream or whatever) and it'll grab the most recent version. If you aren't doing any development on that branch, then it'll merge just fine. The only issue that I can think of would be that it might have to deal with authentication (though if you use the http link, I think you can avoid that, since you wouldn't have commit privileges anyway). And if you want to do it from scratch every time, then just clone the repository and then run the build instead of pulling and then running the build.
>
> - Jonathan M Davis
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
April 06, 2011
Is this what you're looking for: https://github.com/D-Programming-Language/phobos/tree/phobos-2.052

-- 
/Jacob Carlborg

On 6 apr 2011, at 15:34, Andrei Alexandrescu wrote:

> I need the latest release e.g. 2.052, not the latest and greatest in master. So this is more of an issue on how we tag releases in github and how I can get the most recent such tag.
> 
> Andrei
> 
> On 04/06/2011 01:34 AM, Jonathan M Davis wrote:
>>> In order to build and rsync d-programming-language.org, I must get the latest release of Phobos.
>>> 
>>> To do so, I need to figure out a mechanical way to fetch the latest release from github (probably in a separate tree from the one I'm working on). Then I build the html off that tree and rsync it with the website.
>>> 
>>> How can I get the last Phobos release from github?
>> 
>> Well, if you already have a git repository there, then just run
>> 
>> git-pull remote-name master
>> 
>> (where remote-name is whatever you named the main repository as a remote branch - be it origin or upstream or whatever) and it'll grab the most recent version. If you aren't doing any development on that branch, then it'll merge just fine. The only issue that I can think of would be that it might have to deal with authentication (though if you use the http link, I think you can avoid that, since you wouldn't have commit privileges anyway). And if you want to do it from scratch every time, then just clone the repository and then run the build instead of pulling and then running the build.
>> 
>> - Jonathan M Davis
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos