Can I get a list of files changed since 1st January?
(RTC 4.0.4, Visual Studio 2010 or Eclipse) We need to ensure that the correct copyright is placed in our C++ files. Before our next software release is there an easy way to produce a list of all files that have been delivered to a stream this year?
Accepted answer
Starting in 6.0.3, this can be achieved in the Eclipse Client by exporting a change log from the change explorer or change summary views.
The steps are roughly:
- Search for change sets using Search > Jazz Source Control > Change Sets, with appropriate date, location and component set.
- In the search results tab, select the change sets and select Open With > Change Explorer
- In the Change Explorer view menu, select Save Change Log...
One other answer
Hi Eddie,
I know that e.g. git has such feature so why there is a good reason to create RFE for that: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=297000
Feel free to subscribe to this rfe to track the progress.
I know that e.g. git has such feature so why there is a good reason to create RFE for that: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=297000
Feel free to subscribe to this rfe to track the progress.
Comments
Henning Sternkicker
JAZZ DEVELOPER Jan 09 '14, 9:54 a.m.Have you tried to use the "Search" feature in the Eclipse Client? It is not possible to search for files directly, but you can search for change sets. Try the "Search" Menu item in the Eclipse client, select Jazz Source Code Control as the Menu Item with the subnode "Change Sets" and in the Search dialog in the upper part you can select the context for the search, e.g. the stream that you want to control and in the "properties" section of the search you can adjust the Date. That will bring up a list of all change sets that have been delivered to the stream after the date you set.
Ist that what you want to achieve?
Henning
Eddie Breeveld
Jan 09 '14, 10:28 a.m.Thanks for your suggestion. Unfortunately I'd like files, not change sets. For instance, one file may be changed in 30 change sets, I don't want to check the same file 30 times!
Eddie Breeveld
Jan 09 '14, 10:32 a.m.A colleague (Ken McRae) suggested that I create a new workspace from the stream, discard all change sets since 1st Jan, then compared the workspace with the stream. I haven't tried it yet.
Shashikant Padur
JAZZ DEVELOPER Jan 10 '14, 5:02 a.m.If you are going to write a script you could use the command line. Command line can print the output in json format so that it can be easily parsed.
Eddie Breeveld
Jan 10 '14, 9:01 a.m.Thanks. I've not heard of json format before. Can the output be in plain text, or CSV?
Shashikant Padur
JAZZ DEVELOPER Jan 12 '14, 10:35 p.m.The default output is in plain text (if you omit the --json option). But we recommend using json output format as any changes to plain text format could break the scripts.