Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] Xtext migrates to Git!

Hi,

this is what I'm planning to suggest to the Eclipse Webmaster:
comments/resistance?


---
Let's get specific.

- We'd like to migrate as soon as possible.
- Due to the uncertain import situation (1) it seems cleaner to only import HEAD to git and use the old CVS repository in case we need to access the history. Furthermore, I still like the idea of getting rid of historical ballast.
- We need two repositories:
  - org.eclipse.xtext.git
  - org.eclipse.xtext.releng.git
- They will be fed from
- http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tmf/org.eclipse.xtext/?root=Modeling_Project - http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tmf/org.eclipse.xtext.releng/?root=Modeling_Project

- We would like to use CVS and git in parallel for some time. By parallel I mean write access to git and CVS. It will be our responsibility to keep CVS and git synchronized - we'll probably do so by applying the same patch to both repositories. I can also think of applying all changes to git and only the critical bugfixes to CVS. This is because we haven't migrated our build infrastructure to git yet and we need to have a writable repository + integration build at all times. As soon as the build and working with git seems reliable, we'll ask to turn the CVS repository read-only.

---
1: https://bugs.eclipse.org/bugs/show_bug.cgi?id=317923#c1

regards,
  Moritz


good news everyone,

the time of suffering from slow CVS synchronizations shall soon be over.

We're about to migrate to GIT. Now that Helios has been shipped and
we're mostly busy with marketing/pr issues should be a good time.

This bug tracks the progress of the the migration:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317923
You might want to add yourself to CC.

This document is important to read for everyone:
http://wiki.eclipse.org/Git
It explains how git is different at Eclipse than it is in other
projects. For example, due to the rigorous IP process.

Git examples:
Eclipse's read-only mirror git of our CVS:
http://dev.eclipse.org/git/index.html

Projects that have already migrated to Git:
http://git.eclipse.org/c/

The git mirror I'm maintaining at my server:
http://git.softeys.de/

Now, there are three questions we have to decide:
1) About the repository structure. Here, we should keep in mind, that:
Every repository has its own history. Branching and tagging is always
repository-wide. When you initially want to "download" the source code
(git clone), only complete repositories can be downloaded. Therefore, I
propose to have exactly one repository with the structure as it
currently is in http://git.softeys.de/tmf.xtext.git/tree However, I
noticed that our releng-stuff is in
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tmf/org.eclipse.xtext.releng/?root=Modeling_Project
rather than
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tmf/org.eclipse.xtext/releng/?root=Modeling_Project
Is there a specific reason for having this special top-level-folder?
Having it in the sub-folder "org.eclipse.xtext/releng" would simplify
and unify the structure.

2) Import history vs. import import HEAD only. I propose to import HEAD
only, since with each "git clone" one has to download the repositories
complete history which for us is currently 170MB. We should have a
second, read-only repository containing the complete history for the
cases we need to do some archeology. I've asked the webmaster whether
this is possible: https://bugs.eclipse.org/bugs/show_bug.cgi?id=317923

3) Schedule.
- I think now the time is great since we're mostly busy with marketing/pr.
- Is it mandatory that our nightly build works with git *before* we migrate?
- I'll be in the U.S. from 12.7. to the beginning of August so I guess
it's before or after.

regards,
 Moritz

--
Moritz Eysholdt
Software Architect

Telefon: +49 (0) 431 / 5606-335
Mobile: +49 (0) 179 / 6788196
Telefax: +49 (0) 431 / 5606-339

http://www.itemis.de
moritz.eysholdt@xxxxxxxxx

https://www.xing.com/profile/Moritz_Eysholdt

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:

Amtsgericht Dortmund, HRB 20621

Vorstand: Jens Wagener (Vors.), Wolfgang Neuhaus, Dr. Georg Pietrek, JensTrompeter, Sebastian Neus
Aufsichtsrat: Dr. Burkhard Igel (Vors.), Stephan Grollmann, Michael Neuhaus

_______________________________________________
xtext-dev mailing list
xtext-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/xtext-dev


Back to the top