Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Towards Git for Orbit: submodules + composite repo?

I assume you are aware of bug 349048?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=349048

That is a better place to discuss proposals.

(But in short, I don't think anyone would disagree with some form of submodules, but not sure I agree with what you propose. And to emphasize, the hard part of moving Orbit to Git has never been putting files in Git ... the hard part will be converting the build system).

Thanks for your interest.




From:        Mickael Istria <mistria@xxxxxxxxxx>
To:        orbit-dev@xxxxxxxxxxx,
Date:        06/30/2014 02:08 AM
Subject:        [orbit-dev] Towards Git for Orbit: submodules + composite repo?
Sent by:        orbit-dev-bounces@xxxxxxxxxxx




Hi all,

It looks like Orbit is the Last of the Mohicans, the only active Eclipse project that's still using CVS instead of Git.
Orbit is indeed different from other projects, since multiple branch of the same bundles are active and built simultaneously. It's not a regular master + feature + maintenance branches model.

I have the impression Orbit could be a set of Git repositories: 1 for each bundle, with their tags, like on current CVS.
Then there would be a releng Git repo that would contain the build stuff and that would also be a composite repository referencing the right tags of the bundle repositories. Since some recent version of Git, submodules not only allow to reference a given commit, but also a given tag, which would make it easy to do that.
Composite repo structure would contain the multiple folders for the multiple version of bundles, for example:
* orbit/bundles/
** javax.servlet_2.3.0  (submodule referencing tag v200806031603 of repo javax.servlet)
** javax.servlet_2.4.0  (submodule referencing tag v200806031604 of repo javax.servlet)
** ...
** javax.servlet_3.1.0  (submodule referencing tag v20140303-1611 of repo javax.servlet)
** javax.servlet.jsp_1.2.0  ((submodule referencing tag v200806031606 of repo javax.servlet.jsp)
** javax.servlet.jsp_2.0.0  ((submodule referencing tag v201101211617 of repo javax.servlet.jsp)
** ...

What do you think about it?

--
Mickael Istria
Eclipse developer at
JBoss, by Red Hat
My blog - My Tweets_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


Back to the top