It's all about the answers!

Ask a question

Ways to get a change request package?


Kevin Kingsbury (611310) | asked Oct 10 '08, 8:00 a.m.
Is there a way to get the files that are part of a change set put in a zip file format (or something similar). I know that there is a patch function, but that will just get the diffs for that change set. I would like to get the entire fileset in a package instead. Trying to find out if there is either an option in jazz to do this or if someone has some ideas on how to programatically do this.

Thanks,
Kevin

One answer



permanent link
John Camelon (1.7k14) | answered Oct 10 '08, 3:17 p.m.
JAZZ DEVELOPER
kkingsbu wrote:
Is there a way to get the files that are part of a change set put in a
zip file format (or something similar). I know that there is a patch
function, but that will just get the diffs for that change set. I
would like to get the entire fileset in a package instead. Trying to
find out if there is either an option in jazz to do this or if someone
has some ideas on how to programatically do this.

Thanks,
Kevin


We do not provide a means of doing this out of the box w/RTC.

Programmatically, I would just fetch the change set and then iterate
over its IChange's, for each change I would fetch the after state if it
exists, and for each IFileItem after State I would fetch the contents.
You could build a relative path zipfile this way.

If you needed full absolute paths, you would need to interpret these
changes within a workspace or baseline's configuration.

HTH,
JohnC
SCM Server

Your answer


Register or to post 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.