You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-dev@incubator.apache.org by Benjamin Eberlei <ko...@beberlei.de> on 2012/04/20 11:35:21 UTC

Migrating Zeta Componetns to Github

Repost into its own topic for better seperation:

I volunteered to do a migration of the code to github.

I will do the following steps:

1. Do a SVN to Git migration for every component on its own. Every
component will have its own repository with issue tracker on Github.
2. Rewrite history to add composer.json files to all stable tags
3. Push to Github

Derick already opened an Organization on Github and I guess all current
committers will get write access to it.

Adding composer helps us with the deployment issue in the short term and in
the medium/long term we could maybe setup a pirum channel on github pages
to enable PEAR installation again. Composer can work with classmaps so that
the file/class layout is no problem for autoloading and components become
instantly usable by third parties.

The next step would then be that committers claim components and we
determine the deprecated/abandoned/
maintained state of each of them. Every maintainer is then responsible for
getting the tests back running with the new schema and adding this to
travis-ci. I will attempt to do this for one component as a demonstration.

I can't give a timeframe on this but will highly prioritize this and hope
to get it done within a week.

greetings,
Benjamin

Re: Migrating Zeta Componetns to Github

Posted by Derick Rethans <de...@apache.org>.
On Fri, 20 Apr 2012, Derick Rethans wrote:

> On Fri, 20 Apr 2012, Benjamin Eberlei wrote:
> 
> > Derick already opened an Organization on Github and I guess all current
> > committers will get write access to it.
> 
> I've also set-up a mailinglist: zeta@lists.xdebug.org
> 
> You can subscribe by sending an email to zeta-subscribe@lists.xdebug.org

I go that wrong. It's: 

Send an e-mail to ecartis@lists.xdebug.org with subject "subscribe zeta"

cheers,
Derick

Re: Migrating Zeta Componetns to Github

Posted by Jérôme Vieilledent <jv...@ez.no>.
As Daniel mentioned, Composer/Packagist is probably the best way to go.
For Symfony2 users, it's even easier with deps/deps.lock files.


---
Jérôme Vieilledent
Software engineer

eZ Systems | 26 rue de la République, 69002 Lyon, France

mailto:jv@ez.no
skype lolautruche | twitter @jvieilledent


Le vendredi 20 avril 2012 à 14:35, James Pic a écrit :

> On Fri, Apr 20, 2012 at 2:26 PM, Derick Rethans <derick@apache.org (mailto:derick@apache.org)> wrote:
>  
> > On Fri, 20 Apr 2012, James Pic wrote:
> >  
> > > Can't apache just pass the repo to say Derick or something ?
> > >  
> > > https://github.com/apache/zetacomponents
> >  
> > I think we should split it up, so that we can/could orphan specific
> > components. I doubt anybody wants to maintain "PhpGenerator" f.e.
> >  
>  
>  
> I love this idea ! Make zeta components a coding standard rather than a
> centralized repo of libraries is kind of the holy grail for me ...
>  
> In that case I only see one issue: dependency management. How should the
> user specify that he wants this and that component of this or that version ?
>  
> What if a user wants to depend on a component in its trunk version, or even
> from his personal fork ? It should be super easy if we want people to fork
> and issue pull requests.
>  
> I am not aware that PEAR is capable of installing stuff directly from
> github, like pip does for python*. I eared compozer would be able to do
> that one day.
>  
> I think it's worth the experiment.
>  
> Regards
>  
> *
> http://blog.yourlabs.org/post/19725807220/django-pinax-virtualenv-setuptools-pip
>  
>  



Re: Migrating Zeta Componetns to Github

Posted by Daniel Fahlke <fl...@googlemail.com>.
Am 20. April 2012 14:35 schrieb James Pic <ja...@gmail.com>:

> On Fri, Apr 20, 2012 at 2:26 PM, Derick Rethans <de...@apache.org> wrote:
>
> > On Fri, 20 Apr 2012, James Pic wrote:
> >
> > > Can't apache just pass the repo to say Derick or something ?
> > >
> > > https://github.com/apache/zetacomponents
> >
> > I think we should split it up, so that we can/could orphan specific
> > components. I doubt anybody wants to maintain "PhpGenerator" f.e.
> >
>
> I love this idea ! Make zeta components a coding standard rather than a
> centralized repo of libraries is kind of the holy grail for me ...
>
> In that case I only see one issue: dependency management. How should the
> user specify that he wants this and that component of this or that version
> ?
>
> What if a user wants to depend on a component in its trunk version, or even
> from his personal fork ? It should be super easy if we want people to fork
> and issue pull requests.
>
> I am not aware that PEAR is capable of installing stuff directly from
> github, like pip does for python*. I eared compozer would be able to do
> that one day.
>
> I think it's worth the experiment.
>
> Regards
>
> *
>
> http://blog.yourlabs.org/post/19725807220/django-pinax-virtualenv-setuptools-pip
>


Have a look at http://getcomposer.org/
it makes this custom cases a lot easier (but it breaks sometimes, as it is
still in development and has severel commits per day)

Re: Migrating Zeta Componetns to Github

Posted by James Pic <ja...@gmail.com>.
Do you want people to maintain their components, contribute to other's
components ? If that's a need then the purpose of the migration should help
this, and not just about throwing the code at github's face.

Re: Migrating Zeta Componetns to Github

Posted by James Pic <ja...@gmail.com>.
On Fri, Apr 20, 2012 at 2:54 PM, Patrick Allaert
<pa...@gmail.com>wrote:
>
> I think we should keep this thread focused on the migration of Zeta to
> github.
>
> Feel free to change the subject to match the topic better.


One of the many fantastic concepts I learned from the components project
philosophy is to first study the needs.

The let the implementation details be an evidence based on the needs. This
is what most people **don't** do, and end up writing crappy useless code -
I've been through that myself. This is what the components **does right**.

That's how I was thinking when I wrote the above message.

If you try to define the technical details before the needs, then let me
ask you if you really understand  the components project ;)

Re: Migrating Zeta Componetns to Github

Posted by Patrick Allaert <pa...@gmail.com>.
2012/4/20 James Pic <ja...@gmail.com>:
> I love this idea ! Make zeta components a coding standard rather than a
> centralized repo of libraries is kind of the holy grail for me ...
>
> In that case I only see one issue: dependency management. How should the
> user specify that he wants this and that component of this or that version ?
>
> What if a user wants to depend on a component in its trunk version, or even
> from his personal fork ? It should be super easy if we want people to fork
> and issue pull requests.
>
> I am not aware that PEAR is capable of installing stuff directly from
> github, like pip does for python*. I eared compozer would be able to do
> that one day.
>
> I think it's worth the experiment.
>
> Regards
>
> *
> http://blog.yourlabs.org/post/19725807220/django-pinax-virtualenv-setuptools-pip

I think we should keep this thread focused on the migration of Zeta to github.

Feel free to change the subject to match the topic better.

Re: Migrating Zeta Componetns to Github

Posted by James Pic <ja...@gmail.com>.
On Fri, Apr 20, 2012 at 2:26 PM, Derick Rethans <de...@apache.org> wrote:

> On Fri, 20 Apr 2012, James Pic wrote:
>
> > Can't apache just pass the repo to say Derick or something ?
> >
> > https://github.com/apache/zetacomponents
>
> I think we should split it up, so that we can/could orphan specific
> components. I doubt anybody wants to maintain "PhpGenerator" f.e.
>

I love this idea ! Make zeta components a coding standard rather than a
centralized repo of libraries is kind of the holy grail for me ...

In that case I only see one issue: dependency management. How should the
user specify that he wants this and that component of this or that version ?

What if a user wants to depend on a component in its trunk version, or even
from his personal fork ? It should be super easy if we want people to fork
and issue pull requests.

I am not aware that PEAR is capable of installing stuff directly from
github, like pip does for python*. I eared compozer would be able to do
that one day.

I think it's worth the experiment.

Regards

*
http://blog.yourlabs.org/post/19725807220/django-pinax-virtualenv-setuptools-pip

Re: Migrating Zeta Componetns to Github

Posted by Derick Rethans <de...@apache.org>.
On Fri, 20 Apr 2012, James Pic wrote:

> Can't apache just pass the repo to say Derick or something ?
> 
> https://github.com/apache/zetacomponents

I think we should split it up, so that we can/could orphan specific 
components. I doubt anybody wants to maintain "PhpGenerator" f.e.

cheers,
Derick

Re: Migrating Zeta Componetns to Github

Posted by James Pic <ja...@gmail.com>.
Can't apache just pass the repo to say Derick or something ?

https://github.com/apache/zetacomponents

Re: Migrating Zeta Componetns to Github

Posted by James Pic <ja...@gmail.com>.
On Fri, Apr 20, 2012 at 2:16 PM, Derick Rethans <de...@apache.org> wrote:

> On Fri, 20 Apr 2012, Benjamin Eberlei wrote:
>
> > Derick already opened an Organization on Github and I guess all current
> > committers will get write access to it.
>
> I've also set-up a mailinglist: zeta@lists.xdebug.org
>

Thank you !

How can I subscribe to the ML ?

Regards

Re: Migrating Zeta Componetns to Github

Posted by Derick Rethans <de...@apache.org>.
On Fri, 20 Apr 2012, Benjamin Eberlei wrote:

> Derick already opened an Organization on Github and I guess all current
> committers will get write access to it.

I've also set-up a mailinglist: zeta@lists.xdebug.org

You can subscribe by sending an email to zeta-subscribe@lists.xdebug.org

cheers,
Derick

Re: Migrating Zeta Componetns to Github

Posted by Christian Grobmeier <gr...@gmail.com>.
On Fri, Apr 20, 2012 at 2:58 PM, Patrick ALLAERT <pa...@php.net> wrote:
> 2012/4/20 Benjamin Eberlei <ko...@beberlei.de>:
>> Adding to this: I could use some help of course, so anyone also feeling to
>> volunteer can do so.
>>
>> My idea was to create a repository with a bash/php script collection that
>> does the migration and then collaborate on that until we have the final
>> version to use.
>>
>> Starting point is here: https://github.com/zetacomponents/svn-git-migration
>
> I'd like to help here since I have a bit of this experience having
> moved eZ Publish to github.
>
> I already shared the script using a PR:
> https://github.com/zetacomponents/svn-git-migration/pull/1

This could help too:
http://help.github.com/import-from-subversion/

cheers


> I also have a local users.txt containing all the information of users
> having committed code to ezc/zeta but since it contains e-mail
> addresses, I don't really know if I should push it on github and/or
> send it here as attachment or even using a private gist.
> Feel free to have suggestion.
>
> Cheers,
> Patrick



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Re: Migrating Zeta Componetns to Github

Posted by Patrick ALLAERT <pa...@php.net>.
2012/4/20 Benjamin Eberlei <ko...@beberlei.de>:
> Adding to this: I could use some help of course, so anyone also feeling to
> volunteer can do so.
>
> My idea was to create a repository with a bash/php script collection that
> does the migration and then collaborate on that until we have the final
> version to use.
>
> Starting point is here: https://github.com/zetacomponents/svn-git-migration

I'd like to help here since I have a bit of this experience having
moved eZ Publish to github.

I already shared the script using a PR:
https://github.com/zetacomponents/svn-git-migration/pull/1

I also have a local users.txt containing all the information of users
having committed code to ezc/zeta but since it contains e-mail
addresses, I don't really know if I should push it on github and/or
send it here as attachment or even using a private gist.
Feel free to have suggestion.

Cheers,
Patrick

Re: Migrating Zeta Componetns to Github

Posted by Benjamin Eberlei <ko...@beberlei.de>.
Adding to this: I could use some help of course, so anyone also feeling to
volunteer can do so.

My idea was to create a repository with a bash/php script collection that
does the migration and then collaborate on that until we have the final
version to use.

Starting point is here: https://github.com/zetacomponents/svn-git-migration

On Fri, Apr 20, 2012 at 1:35 PM, Benjamin Eberlei <ko...@beberlei.de>wrote:

> Repost into its own topic for better seperation:
>
> I volunteered to do a migration of the code to github.
>
> I will do the following steps:
>
> 1. Do a SVN to Git migration for every component on its own. Every
> component will have its own repository with issue tracker on Github.
> 2. Rewrite history to add composer.json files to all stable tags
> 3. Push to Github
>
> Derick already opened an Organization on Github and I guess all current
> committers will get write access to it.
>
> Adding composer helps us with the deployment issue in the short term and
> in the medium/long term we could maybe setup a pirum channel on github
> pages to enable PEAR installation again. Composer can work with classmaps
> so that the file/class layout is no problem for autoloading and components
> become instantly usable by third parties.
>
> The next step would then be that committers claim components and we
> determine the deprecated/abandoned/
> maintained state of each of them. Every maintainer is then responsible for
> getting the tests back running with the new schema and adding this to
> travis-ci. I will attempt to do this for one component as a demonstration.
>
> I can't give a timeframe on this but will highly prioritize this and hope
> to get it done within a week.
>
> greetings,
> Benjamin
>

Re: Migrating Zeta Componetns to Github

Posted by Falko Menge <ma...@falko-menge.de>.
On 04/20/2012 01:35 PM, Benjamin Eberlei wrote:
> The next step would then be that committers claim components and we
> determine the deprecated/abandoned/
> maintained state of each of them. Every maintainer is then responsible for
> getting the tests back running with the new schema and adding this to
> travis-ci. I will attempt to do this for one component as a demonstration.

I'd volunteer to maintain the Reflection component.

Re: Migrating Zeta Componetns to Github

Posted by Benjamin Eberlei <ko...@beberlei.de>.
Hello everyone,

i have just completed the migration of the Apache SVN to Github
organization: Code is still pushed at the moment, these are the done tasks:

https://github.com/zetacomponents

* Each component is split into its own repository
* Author Information has been updated on frequent committers i have found
the email of (or could asked for).
* composer.json was added to every project. No dependencies were defined on
other components (even though could be done through DEPS) - because the
Base version was never specified and such the information is incomplete
anyways. Releases in the future should go and specify the dependencies of
packages more explicitly.
* All tags have been generated from the commit messages.
* MVCTools Migration didnt work, I have to try this again.
* Document has some problem with GC and is very large repo, i have to
cleanup or remigrate so i didnt push to github yet.

However code is not yet free for changes, we have some problems to tackle:

* Do we need to adjust the headers? If yes, we should do this now using a
mass-edit. Do we have to clear this with Apache legal?
* Unit-tests have still to be fixed, we need a generic approach for all
components for that.
* I fixed the Archive component as an example:

https://github.com/zetacomponents/Archive/commit/541b1faca6d63c441bead83fe8ca5d9e174afe53
Then just "composer install --dev && phpunit" from the root of the Archive
component.

* All packages have to be put on packagist.org so can be used with
Composer.

greetings,
Benjamin

On Fri, Apr 20, 2012 at 1:35 PM, Benjamin Eberlei <ko...@beberlei.de>wrote:

> Repost into its own topic for better seperation:
>
> I volunteered to do a migration of the code to github.
>
> I will do the following steps:
>
> 1. Do a SVN to Git migration for every component on its own. Every
> component will have its own repository with issue tracker on Github.
> 2. Rewrite history to add composer.json files to all stable tags
> 3. Push to Github
>
> Derick already opened an Organization on Github and I guess all current
> committers will get write access to it.
>
> Adding composer helps us with the deployment issue in the short term and
> in the medium/long term we could maybe setup a pirum channel on github
> pages to enable PEAR installation again. Composer can work with classmaps
> so that the file/class layout is no problem for autoloading and components
> become instantly usable by third parties.
>
> The next step would then be that committers claim components and we
> determine the deprecated/abandoned/
> maintained state of each of them. Every maintainer is then responsible for
> getting the tests back running with the new schema and adding this to
> travis-ci. I will attempt to do this for one component as a demonstration.
>
> I can't give a timeframe on this but will highly prioritize this and hope
> to get it done within a week.
>
> greetings,
> Benjamin
>