Ways to get a change request package?
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
Thanks,
Kevin
One answer
kkingsbu wrote:
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
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