GIT and RTC integration via scm command line
Hello,
We're looking at integrating GIT repositories into RTC SCM. We need to create an automation that would access the .git directories and store them into RTC on a daily base.
Is there any sample code on how to use the scm command line to achieve what we need? How would scm handle the daily code changes?
Thank you in advance for any pointers.
|
Accepted answer
One other answer
Hi,
It answers on a bit different question, however there is GIT adapter for RTC: https://jazz.net/library/article/854/ Let us know if it helps you as well. Comments
Geoffrey Clemm
commented Sep 12 '13, 7:47 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't think the current GIT adapter for RTC is relevant for this question ... it links GIT commits to RTC work items, but doesn't do any import of the actual GIT commits into the RTC SCM system.
EclipseTalk .
commented Sep 13 '13, 8:39 a.m.
That's correct we're not looking for an adapter |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Just for interest's sake, why would you store a GIT repository inside of an RTC SCM repository?
That's a good question and I don't quite agree but it's a customer requirement...
If the customer cannot explain to you why they are doing it, there's a good chance that doing so will not achieve whatever result they are hoping to achieve. For example, if they are looking for some kind of integration between RTC-SCM and GIT, this is unlikely to achieve it. Or if they are looking for some mechanism to back-up their GIT repositories, this wouldn't be a good way to do so.
I totally agree with you Geoffrey; any recommendations?