SCM commands to copy changeset into a separate environment
6 answers
We have a requirement such that, we need to pick specific work items and copy the change sets in it into a separate environment. Is there any way we can achieve this through the scm tools ?
Thank you,
Regards,
Hi, I am not sure I understand the intention. what does environment mean in this context? Can you go a bit more into details?
Hi Ralph,
We would like to pick changesets from specific tasks and load them into a seperate Unix environment.
Hi, I am not sure I understand the intention. what does environment mean in this context? Can you go a bit more into details?
We would like to pick changesets from specific tasks and load them into a seperate Unix environment.
We have a requirement such that, we need to pick specific work items and copy the change sets in it into a separate environment. Is there any way we can achieve this through the scm tools ?
Thank you,
Regards,
Hi, I am not sure I understand the intention. what does environment mean in this context? Can you go a bit more into details?
Hi Ralph,
We would like to pick changesets from specific tasks and load them into a seperate Unix environment.
We have a requirement such that, we need to pick specific work items and copy the change sets in it into a separate environment. Is there any way we can achieve this through the scm tools ?
Thank you,
Regards,
Hi, I am not sure I understand the intention. what does environment mean in this context? Can you go a bit more into details?
Hi Sunita,
this might be a terminology issue here. Do you want the files represented with their history and the change set loaded?
RTC provides the SCM command line that can be used to load SCM data for instance workspaces onto disk. To pick the change sets you want you would typically either set up a repository workspace that contains the changesets or have a baseline that you would use to create such a workspace. I don't think SCM provides a way to just load a certain changeset (which could, including the file history, possible represent the state of several files). The only option that comes into mind that would allow narrowing down what to load would be component load rules.
Manually you could try to use the web interface to open the work item, open file that contains the change set you want and load the files with its history and the change set somewhere you want it.
Other than that, I currently don't know if there are other ways to do that. I am not sure if it would be possible to simply create an automation either. i assume it is possible, since the Web UI and Eclipse does it, but I am not sure how big of an effort it is.
Maybe others can help if we really understand the use case.
Hi Ralph,
Apologies for not having posted our requirement more clearly.
Your understanding is correct on what we would require. As you've said that you don't think there is a way we can load a changeset specifically using the scm commands.
The purpose of this is try and automate our compilation and build process. If we load a repository workspace, we do not see an option of picking particular changesets from them.
Please let me know if you require more clarification on this.
Many Thanks
Sunita
Hi, I am not sure I understand the intention. what does environment mean in this context? Can you go a bit more into details?
Hi Sunita,
this might be a terminology issue here. Do you want the files represented with their history and the change set loaded?
RTC provides the SCM command line that can be used to load SCM data for instance workspaces onto disk. To pick the change sets you want you would typically either set up a repository workspace that contains the changesets or have a baseline that you would use to create such a workspace. I don't think SCM provides a way to just load a certain changeset (which could, including the file history, possible represent the state of several files). The only option that comes into mind that would allow narrowing down what to load would be component load rules.
Manually you could try to use the web interface to open the work item, open file that contains the change set you want and load the files with its history and the change set somewhere you want it.
Other than that, I currently don't know if there are other ways to do that. I am not sure if it would be possible to simply create an automation either. i assume it is possible, since the Web UI and Eclipse does it, but I am not sure how big of an effort it is.
Maybe others can help if we really understand the use case.
Apologies for not having posted our requirement more clearly.
Your understanding is correct on what we would require. As you've said that you don't think there is a way we can load a changeset specifically using the scm commands.
The purpose of this is try and automate our compilation and build process. If we load a repository workspace, we do not see an option of picking particular changesets from them.
Please let me know if you require more clarification on this.
Many Thanks
Sunita
Hi Ralph,
We would like to pick changesets from specific tasks and load them into a seperate Unix environment.
We have a requirement such that, we need to pick specific work items and copy the change sets in it into a separate environment. Is there any way we can achieve this through the scm tools ?
Thank you,
Regards,
Hi, I am not sure I understand the intention. what does environment mean in this context? Can you go a bit more into details?
Hi Sunita,
this might be a terminology issue here. Do you want the files represented with their history and the change set loaded?
RTC provides the SCM command line that can be used to load SCM data for instance workspaces onto disk. To pick the change sets you want you would typically either set up a repository workspace that contains the changesets or have a baseline that you would use to create such a workspace. I don't think SCM provides a way to just load a certain changeset (which could, including the file history, possible represent the state of several files). The only option that comes into mind that would allow narrowing down what to load would be component load rules.
Manually you could try to use the web interface to open the work item, open file that contains the change set you want and load the files with its history and the change set somewhere you want it.
Other than that, I currently don't know if there are other ways to do that. I am not sure if it would be possible to simply create an automation either. i assume it is possible, since the Web UI and Eclipse does it, but I am not sure how big of an effort it is.
Maybe others can help if we really understand the use case.
Hi Ralph,
Apologies for not having posted our requirement more clearly.
Your understanding is correct on what we would require. As you've said that you don't think there is a way we can load a changeset specifically using the scm commands.
The purpose of this is try and automate our compilation and build process. If we load a repository workspace, we do not see an option of picking particular changesets from them.
Please let me know if you require more clarification on this.
Many Thanks
Sunita
Hi Sunita,
the idea with building and integrating with RTC is that the source related to a build typically is a consistent set of files. To make it reproduce-able the set of files is typically baselined.
Back to your usecase, I assume this is not different for your situation. In fact, you probably have several files that you want to build and potentially be able to reproduce. Is that correct?
I assume you would like to be able to pick change sets with new changes for some files from a work item, load the resulting files and build them to test them. Is that correct?
If both cases are correct, you could have a repository workspace somewhere, based on a "good" baseline/snapshot. You could also accept the changesets you want to pick directly from the work item open in Eclipse (Links section, right click the changeset and select accept in the menu) into this workspace.
You could use the JBE to build this workspace privately. If satisfied with the outcome you could deliver the tested changes to the integration stream, baseline, build,.... that stream
I am not sure if this is what you attempt. If not, what am I missing?