It's all about the answers!

Ask a question

force unchanged files into a changeset


Bernd van Oostrum (21735671) | asked Jan 19 '10, 8:47 a.m.
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.

4 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 19 '10, 2:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Bernd van Oostrum (21735671) | answered Jan 27 '10, 4:25 a.m.
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.

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 27 '10, 5:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.


permanent link
Bernd van Oostrum (21735671) | answered Jan 28 '10, 4:06 a.m.
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.

Your answer


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