Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

search for changesets delivered during a specific timeframe

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

0 votes



12 answers

Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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).

0 votes


Permanent link
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).

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
If you run daily builds with JBE, you can compare builds that will show you differences.

0 votes


Permanent link
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

0 votes


Permanent link
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?

0 votes


Permanent link
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.

0 votes

1–15 items
page 1of 1 pagesof 2 pages

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202
× 67

Question asked: Sep 21 '11, 5:53 p.m.

Question was seen: 9,977 times

Last updated: Jun 09 '14, 10:56 a.m.

Confirmation Cancel Confirm