COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: EarthDog on 15 May 2015 12:51:40 AM

Title: Git source control on specific reports
Post by: EarthDog on 15 May 2015 12:51:40 AM
If i wanted to do a git source control on specific reports, what i would do?

Go to Tool->show specification, copy paste this in a text file and put this in source control?
Title: Re: Git source control on specific reports
Post by: bdbits on 15 May 2015 09:10:30 AM
Yes. About the only other thing you could do is export the report(s), then upload the zip file into git. The advantage is that you could automate the version control. But then it is a binary file, so you have no way to for example compare the report specs between versions, if that is one of the goals.

Of course, you can get integrated version control if you buy a product like our gracious host's MetaManger.  8)
Title: Re: Git source control on specific reports
Post by: EarthDog on 16 May 2015 03:13:48 AM
Quote from: bdbits on 15 May 2015 09:10:30 AM
Yes. About the only other thing you could do is export the report(s), then upload the zip file into git. The advantage is that you could automate the version control. But then it is a binary file, so you have no way to for example compare the report specs between versions, if that is one of the goals.

Of course, you can get integrated version control if you buy a product like our gracious host's MetaManger.  8)

Thanks for the heads up!
Title: Re: Git source control on specific reports
Post by: navissar on 16 May 2015 11:10:53 PM
You can also probably automate the Git process by exporting the report to XML, or via the SDK.
Title: Re: Git source control on specific reports
Post by: EarthDog on 17 May 2015 12:50:11 AM
Quote from: Nimrod Avissar on 16 May 2015 11:10:53 PM
You can also probably automate the Git process by exporting the report to XML, or via the SDK.

I was trying just that with a c# console application. I think that this is the way i will go if i need to widen my needs...