users@jms-spec.java.net

[jms-spec users] Re: [jsr368-experts] Re: svn -> git (GitHub)

From: Ivar Grimstad <ivar.grimstad_at_gmail.com>
Date: Mon, 29 Feb 2016 14:22:40 +0000

Yes, this is what I had in mind!
The two-way-sync is probably difficult enough even when the svn repo
follows the stdLayout.
In our case it is probably close to impossible...

Ivar

On Mon, Feb 29, 2016 at 2:45 PM arjan tijms <arjan.tijms_at_gmail.com> wrote:

> Hi,
>
> On Mon, Feb 29, 2016 at 1:12 PM, Werner Keil <werner.keil_at_gmail.com>
> wrote:
>
>> at least one sub-project of Apache DeviceMap has an SVN/Git mirror
>> mechanism set up and I believe it works 2-way, so SVN commits trigger a
>> GitHub update and vice versa.
>>
>
> We experimented for a while with that over at the JSF EG, but could not
> get the 2-way svn-git mirror to work properly. Just in time for the quiet
> period the JSF SVN repo was migrated to git.
>
> About the official repo, you're always free to work in whatever repo you
> want of course. For JSF I have access to the java.net git repo, but I
> still work in my own repo on GitHub (it kinda acts as a feature branch,
> only in this case it would be a "feature repo").
>
> Now if I would share this "feature repo" with others, then according to
> the rules this should still be okay. It's just a working repo still.
>
> So, I guess you could make a GitHub repo for JMS where "everybody" works
> in and/or sends PRs too. This would then be the ad hoc official working
> repo. Periodically someone then syncs this working repo to the java.net
> one, where it becomes the mentioned "source of truth".
>
> Would that work?
>
> Kind regards,
> Arjan Tijms
>
>
>
>
>
>
>
>
>> Therefore if the "source of truth" can't be migrated to Git on java.net
>> right now, we could still get a mirror on GitHub if necessary.
>>
>> Cheers,
>> Werner
>>
>> On Mon, Feb 29, 2016 at 1:06 PM, Ivar Grimstad <ivar.grimstad_at_gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> What do you think of using this unfortunate "quiet period" to move from
>>> Subversion to Git?
>>>
>>> The way the java.net svn repo is organized does not allow for easy
>>> migration to Git, but here is a suggestion that should be feasible:
>>>
>>> - Migrate the jms2.1 folder to a new Git repository as the master
>>> branch.
>>> - Migrate the www folder to a new Git repository (separate from the
>>> above)
>>> - Keep the rest in the Subversion repo as is
>>>
>>> Why GitHub and not java.net?
>>>
>>> - GitHub offers better support for collaboration and pull requests
>>> - I don't have access to create repositories on java.net
>>> - The future of java.net is uncertain (rumor has it...)
>>> - When and if we have a java.net Git repo, we can move everything
>>> there, treat as master and use the GitHub repo as a mirror.
>>>
>>> Any objections? Or suggestions otherwise?
>>> I will be happy to fix this and for the purpose I have created a GitHub
>>> group/organization:
>>> (we have done the same thing with JSR 371 and JSR 375)
>>>
>>> https://github.com/jms-spec
>>>
>>> I will add all of you to this group if I can find your github user.
>>> Please email me your username if you don't get an invitation.
>>>
>>> Ivar
>>>
>>>
>>