It's all about the answers!

Ask a question

search for changesets delivered during a specific timeframe


Andrew Pham (2111) | asked Sep 21 '11, 5:53 p.m.
retagged Jun 09 '14, 10:56 a.m. by David Lafreniere (4.5k7)
Hi,

I've been trying to find out a way to look for changesets delivered during a specific timeframe, e.g. the last 12 hours. I found that creating snapshots is one way to do this but trying to find a less invasive way (like without having to create and checkin stuff). I've been looking around a bit but haven't found anything yet. Be able to do this with a query would be nice but it seems like query is for work items mostly.

The whole purpose of this is for debugging when someone delivered code that caused a regression. Being able to list all the changesets since the last successful execution would help pin point the culprit quicker.

Thanks,
Andy

12 answers



permanent link
Geoffrey Clemm (29.6k23035) | answered Sep 22 '11, 12:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you tried opening the change set history of the stream to which the
change sets were delivered? That will show you an ordered sequence of
change-sets.

Cheers,
Geoff

On 9/21/2011 6:23 PM, apham wrote:
Hi,

I've been trying to find out a way to look for changesets delivered
during a specific timeframe, e.g. the last 12 hours. I found that
creating snapshots is one way to do this but trying to find a less
invasive way (like without having to create and checkin stuff). I've
been looking around a bit but haven't found anything yet. Be able to
do this with a query would be nice but it seems like query is for
work items mostly.

The whole purpose of this is for debugging when someone delivered code
that caused a regression. Being able to list all the changesets since
the last successful execution would help pin point the culprit
quicker.

Thanks,
Andy

permanent link
Andrew Pham (2111) | answered Sep 22 '11, 9:44 a.m.
I was looking around in RTC but didn't find anything like that. Couldn't find it when "right-click on the stream -> show" neither. How do you view the change set history view of a stream?

Andy


Have you tried opening the change set history of the stream to which the
change sets were delivered? That will show you an ordered sequence of
change-sets.

Cheers,
Geoff

On 9/21/2011 6:23 PM, apham wrote:
Hi,

I've been trying to find out a way to look for changesets delivered
during a specific timeframe, e.g. the last 12 hours. I found that
creating snapshots is one way to do this but trying to find a less
invasive way (like without having to create and checkin stuff). I've
been looking around a bit but haven't found anything yet. Be able to
do this with a query would be nice but it seems like query is for
work items mostly.

The whole purpose of this is for debugging when someone delivered code
that caused a regression. Being able to list all the changesets since
the last successful execution would help pin point the culprit
quicker.

Thanks,
Andy

permanent link
Tim Mok (6.6k38) | answered Sep 22 '11, 11:14 a.m.
JAZZ DEVELOPER
There's nothing quite suitable for you to search for change sets delivered to a stream in the past 12 hours. You can show history on a component but not for the entire stream. There are also stream events that would show change set deliveries but I think events disappear at some point (maybe when you've read them or accepted the changes).

permanent link
Andrew Pham (2111) | answered Sep 22 '11, 12:38 p.m.
sounds more and more like creating snapshots is the only solution.

There's nothing quite suitable for you to search for change sets delivered to a stream in the past 12 hours. You can show history on a component but not for the entire stream. There are also stream events that would show change set deliveries but I think events disappear at some point (maybe when you've read them or accepted the changes).

permanent link
Geoffrey Clemm (29.6k23035) | answered Sep 23 '11, 12:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
History is kept on a per-component basis, so you'd have to open up the
stream folder, and under it, you would see entries for each component in
the stream. Right click on any of those component entries, and you'll
get the change-set history of that component in that stream.

But if you don't have an idea about what component you want to look at,
and you have a large number of components in the stream, then this would
be cumbersome.

Cheers,
Geoff


On 9/22/2011 9:53 AM, apham wrote:
I was looking around in RTC but didn't find anything like that.
Couldn't find it when "right-click on the stream -
show" neither. How do you view the change set history view of a
stream?

Andy


gmclemmwrote:
Have you tried opening the change set history of the stream to which
the
change sets were delivered? That will show you an ordered sequence
of
change-sets.

Cheers,
Geoff

On 9/21/2011 6:23 PM, apham wrote:
Hi,

I've been trying to find out a way to look for changesets delivered
during a specific timeframe, e.g. the last 12 hours. I found that
creating snapshots is one way to do this but trying to find a less
invasive way (like without having to create and checkin stuff).
I've
been looking around a bit but haven't found anything yet. Be able
to
do this with a query would be nice but it seems like query is for
work items mostly.

The whole purpose of this is for debugging when someone delivered
code
that caused a regression. Being able to list all the changesets
since
the last successful execution would help pin point the culprit
quicker.

Thanks,
Andy


permanent link
Andrew Pham (2111) | answered Sep 23 '11, 4:16 p.m.
Yeah our source has quite a number of components and we're under a very active development cycle with changes coming from all over the places. Sounded like, using snapshot would be the best solution in this scenario wouldn't everyone agree?

Thanks all for very helpful inputs.

Andy

History is kept on a per-component basis, so you'd have to open up the
stream folder, and under it, you would see entries for each component in
the stream. Right click on any of those component entries, and you'll
get the change-set history of that component in that stream.

But if you don't have an idea about what component you want to look at,
and you have a large number of components in the stream, then this would
be cumbersome.

Cheers,
Geoff


On 9/22/2011 9:53 AM, apham wrote:
I was looking around in RTC but didn't find anything like that.
Couldn't find it when "right-click on the stream -
show" neither. How do you view the change set history view of a
stream?

Andy


gmclemmwrote:
Have you tried opening the change set history of the stream to which
the
change sets were delivered? That will show you an ordered sequence
of
change-sets.

Cheers,
Geoff

On 9/21/2011 6:23 PM, apham wrote:
Hi,

I've been trying to find out a way to look for changesets delivered
during a specific timeframe, e.g. the last 12 hours. I found that
creating snapshots is one way to do this but trying to find a less
invasive way (like without having to create and checkin stuff).
I've
been looking around a bit but haven't found anything yet. Be able
to
do this with a query would be nice but it seems like query is for
work items mostly.

The whole purpose of this is for debugging when someone delivered
code
that caused a regression. Being able to list all the changesets
since
the last successful execution would help pin point the culprit
quicker.

Thanks,
Andy


permanent link
Tim Mok (6.6k38) | answered Sep 23 '11, 5:09 p.m.
JAZZ DEVELOPER
If you run daily builds with JBE, you can compare builds that will show you differences.

permanent link
Andrew Pham (2111) | answered Sep 23 '11, 5:25 p.m.
Actually looking back at event log again it seems promising. Once you filter it down to just showing source control changes.

Team Dashboard -> configure -> Filters -> Source Control Changes

Though it doesn't seem to allow specifying a timeframe but it will work for me for now.

History is kept on a per-component basis, so you'd have to open up the
stream folder, and under it, you would see entries for each component in
the stream. Right click on any of those component entries, and you'll
get the change-set history of that component in that stream.

But if you don't have an idea about what component you want to look at,
and you have a large number of components in the stream, then this would
be cumbersome.

Cheers,
Geoff


On 9/22/2011 9:53 AM, apham wrote:
I was looking around in RTC but didn't find anything like that.
Couldn't find it when "right-click on the stream -
show" neither. How do you view the change set history view of a
stream?

Andy


gmclemmwrote:
Have you tried opening the change set history of the stream to which
the
change sets were delivered? That will show you an ordered sequence
of
change-sets.

Cheers,
Geoff

On 9/21/2011 6:23 PM, apham wrote:
Hi,

I've been trying to find out a way to look for changesets delivered
during a specific timeframe, e.g. the last 12 hours. I found that
creating snapshots is one way to do this but trying to find a less
invasive way (like without having to create and checkin stuff).
I've
been looking around a bit but haven't found anything yet. Be able
to
do this with a query would be nice but it seems like query is for
work items mostly.

The whole purpose of this is for debugging when someone delivered
code
that caused a regression. Being able to list all the changesets
since
the last successful execution would help pin point the culprit
quicker.

Thanks,
Andy


permanent link
Scott Russell (4688) | answered Sep 26 '11, 5:28 p.m.
Actually looking back at event log again it seems promising. Once you filter it down to just showing source control changes.

Team Dashboard -> configure -> Filters -> Source Control Changes

Wondering if the following would be of help:

Search -> Jazz Source Control -> Change sets...


Anyone know how to programmatically issue those searches?

permanent link
Tim Mok (6.6k38) | answered Sep 27 '11, 10:16 a.m.
JAZZ DEVELOPER
Actually looking back at event log again it seems promising. Once you filter it down to just showing source control changes.

Team Dashboard -> configure -> Filters -> Source Control Changes

Wondering if the following would be of help:

Search -> Jazz Source Control -> Change sets...


Anyone know how to programmatically issue those searches?The change set search cannot specify a time window when they were delivered to the stream. It can only check the change set creation date.

I would recommend the best practice to be using the JBE to perform the builds. It creates snapshots of each build. When testing the build and finding a defect, the build snapshot can be compared to the last known good build to determine the changes.

For any other use case, an enhancement work item will be necessary since there is no current way to retrieve all delivered change sets in the past X hours.

Your answer


Register or to post your answer.