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

force unchanged files into a changeset

Hi,

I am wondering if it is possible to force files into a changeset even if they didn't change.

Thanks in advance.

Regards,
Bernd van Oostrum.

0 votes



4 answers

Permanent link
I believe the answer is "no" (at least from the GUI ... but there might
be some command line option I'm not aware of).

Just for interest's sake, why would you want to do this?

Cheers,
Geoff

berndyman wrote:
Hi,

I am wondering if it is possible to force files into a changeset even
if they didn't change.

Thanks in advance.

Regards,
Bernd van Oostrum.

0 votes


Permanent link
Hi Geoff,

I'm putting EGL-files into RTC. These files contain program-parts but can also contain for instance (only) record-parts, which are valueholders.
If a recordA defined in fileA is being used by programB defined in fileB, in fact fileB should be rebuild when recordA changes because it contains the program.

This means I need RTC to know fileA AND fileB belong to a changeset. I understand that RTC doesn't detect the link between the change and 2 files, but there should be a possibility to force an unchanged file into a changeset.

Other SCM-tools do support this feature.
Is this something which can be implemented one way or another?

Regards,
Bernd.

I believe the answer is "no" (at least from the GUI ... but there might
be some command line option I'm not aware of).

Just for interest's sake, why would you want to do this?

Cheers,
Geoff

berndyman wrote:
Hi,

I am wondering if it is possible to force files into a changeset even
if they didn't change.

Thanks in advance.

Regards,
Bernd van Oostrum.

0 votes


Permanent link
I agree that this kind of dependency is important to track, but I would
suggest not trying to implement them by having humans add unchanged
files to change sets. In particular, many of the key use cases around
change sets depend on a file actually having been changed for it to be
entered into the change set. For example, change flow between streams
and workspaces ensure that all changed versions of a change set appear
in the destination workspace, and the addition of non-changed files will
often create unnecessary change-flow conflicts.

And even if you did push those non-changed files into change sets, RTC
has fast-loading optimizations which would skip loading files that
haven't changed.

The reason some tools allow you to just push this into change-sets is
that they don't support any of those change set use cases, so it does no
harm in those tools to just add files to change sets for whatever
purpose you want. Also they don't support the "fast loading"
optimizations would would skip re-loading those unchanged files.

Ideally, these dependencies would be computed by a tool, and used to
create the appropriate build-time dependences (in whatever format your
build tool uses to track build-time dependencies) ... such as the unix
"make-depend" tool.

Cheers,
Geoff

berndyman wrote:
Hi Geoff,

I'm putting EGL-files into RTC. These files contain program-parts but
can also contain for instance (only) record-parts, which are
valueholders.
If a recordA defined in fileA is being used by programB defined in
fileB, in fact fileB should be rebuild when recordA changes because
it contains the program.

This means I need RTC to know fileA AND fileB belong to a changeset. I
understand that RTC doesn't detect the link between the change and 2
files, but there should be a possibility to force an unchanged file
into a changeset.

Other SCM-tools do support this feature.
Is this something which can be implemented one way or another?

Regards,
Bernd.

gmclemmwrote:
I believe the answer is "no" (at least from the GUI ... but
there might
be some command line option I'm not aware of).

Just for interest's sake, why would you want to do this?

Cheers,
Geoff

berndyman wrote:
Hi,

I am wondering if it is possible to force files into a changeset
even
if they didn't change.

Thanks in advance.

Regards,
Bernd van Oostrum.

0 votes


Permanent link
Okay, I see...
The goal is to give the end-user the opportunity to put (some, not necessarily all of the) related programs into a changeset in order to get a particular changeset/workitem built (TEST/ACCEPT/PRODUCTION).
Because it seems forcing is not possible, I'm thinking about implementing this by performing a dummy change to the user's code by a tool after selection by the end-user. However, personally I don't like the idea of dummy changes in order to get something done...

Thanks for your help.

Regards,
Bernd.

I agree that this kind of dependency is important to track, but I would
suggest not trying to implement them by having humans add unchanged
files to change sets. In particular, many of the key use cases around
change sets depend on a file actually having been changed for it to be
entered into the change set. For example, change flow between streams
and workspaces ensure that all changed versions of a change set appear
in the destination workspace, and the addition of non-changed files will
often create unnecessary change-flow conflicts.

And even if you did push those non-changed files into change sets, RTC
has fast-loading optimizations which would skip loading files that
haven't changed.

The reason some tools allow you to just push this into change-sets is
that they don't support any of those change set use cases, so it does no
harm in those tools to just add files to change sets for whatever
purpose you want. Also they don't support the "fast loading"
optimizations would would skip re-loading those unchanged files.

Ideally, these dependencies would be computed by a tool, and used to
create the appropriate build-time dependences (in whatever format your
build tool uses to track build-time dependencies) ... such as the unix
"make-depend" tool.

Cheers,
Geoff

berndyman wrote:
Hi Geoff,

I'm putting EGL-files into RTC. These files contain program-parts but
can also contain for instance (only) record-parts, which are
valueholders.
If a recordA defined in fileA is being used by programB defined in
fileB, in fact fileB should be rebuild when recordA changes because
it contains the program.

This means I need RTC to know fileA AND fileB belong to a changeset. I
understand that RTC doesn't detect the link between the change and 2
files, but there should be a possibility to force an unchanged file
into a changeset.

Other SCM-tools do support this feature.
Is this something which can be implemented one way or another?

Regards,
Bernd.

gmclemmwrote:
I believe the answer is "no" (at least from the GUI ... but
there might
be some command line option I'm not aware of).

Just for interest's sake, why would you want to do this?

Cheers,
Geoff

berndyman wrote:
Hi,

I am wondering if it is possible to force files into a changeset
even
if they didn't change.

Thanks in advance.

Regards,
Bernd van Oostrum.

0 votes

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

Question asked: Jan 19 '10, 8:47 a.m.

Question was seen: 6,408 times

Last updated: Jan 19 '10, 8:47 a.m.

Confirmation Cancel Confirm