Anyone have a script to take a set of Packages and commit them in chronological order to a git repo?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Anyone have a script to take a set of Packages and commit them in chronological order to a git repo?

Paul DeBruicker
Hi,

I'm thinking to use travisci.org to build and test some of the MIT licensed packages I've been maintaining.  I'd like to get those packages development histories into git in an orderly way, so the information is there for curiosity's sake.

Thanks

Paul
Reply | Threaded
Open this post in threaded view
|

Re: Anyone have a script to take a set of Packages and commit them in chronological order to a git repo?

Goubier Thierry
Hi Paul,

as far as I have experienced, if you fetch and push a package with a Gofer script, it will push them in the target repo from oldest to newest. I've done that with gitfiletree: as a target a few times, and this recreates the history in the git repo, but without the 'original' date and 'original' author however.

If you do the same with FileTree, then this won't work, however. You need to do a git commit after each package is written to the repository.

Thierry

________________________________________
De : Pharo-users [[hidden email]] de la part de Paul DeBruicker [[hidden email]]
Date d'envoi : mercredi 30 octobre 2013 22:37
À : Any question about pharo is welcome
Objet : [Pharo-users] Anyone have a script to take a set of Packages and        commit them in chronological order to a git repo?

Hi,

I'm thinking to use travisci.org to build and test some of the MIT licensed packages I've been maintaining.  I'd like to get those packages development histories into git in an orderly way, so the information is there for curiosity's sake.

Thanks

Paul

Reply | Threaded
Open this post in threaded view
|

Re: Anyone have a script to take a set of Packages and commit them in chronological order to a git repo?

Stéphane Ducasse
In reply to this post by Paul DeBruicker

On Oct 30, 2013, at 10:37 PM, Paul DeBruicker <[hidden email]> wrote:

> Hi,
>
> I'm thinking to use travisci.org to build and test some of the MIT licensed packages I've been maintaining.  

excellent!
I hope that inria will pay us an engineer for doing that for all the community packages.


> I'd like to get those packages development histories into git in an orderly way, so the information is there for curiosity's sake.
>
> Thanks
>
> Paul