I think your problem could be solved by using branches rather than labels.
In fact this is how many shops organize their work in clearcase. In your
case, for example, you could maintain a test branch, and a release branch.
Every time a (set of) version(s) is ready for testing, the developers should
merge it to the test branch. Likewise, when you have a stabilized, and
complete configuration on your test branch, you might want to merge it to
the production branch.
You can reproduce the production, or test configuration as of any date by
using time rules in your config spec:
..
time 2-Jun-99.12:00
element * .../production/LATEST
end time
This approach has its own set of problems, however (see recent discussion
about "UCM and stream locking"). Probably you're best off with a mixture of
structured labeling, and a branching scheme like this.
- Axel.
> -----Ursprüngliche Nachricht-----
> Von: owner-cciug@rational.com [mailto:owner-cciug@rational.comIm
> Auftrag von Rune K.Christensen
> Gesendet am: Dienstag, 12. September 2000 14:47
> An: cciug@rational.com
> Betreff: AW: [cciug] config spec question -Svar
>
>
> Then you might be able to help me with the real
> problem.
>
> I have two environments. One for test and one for
> production. Every time a developer have files ready for
> the test environment I label the versions with
> test_(date/time) and every time the versions are ready
> for production they are labeled production_(date/time).
>
> Now if I want to reproduce my test/production
> environment from a given date how do I do that?
> I cannot use the config spec to look at the labels
> because the versions in test are marked with different
> labels. I cannot use the time because then I would get
> the test and production versions in a mixture.
> How do I diffrensate between the two environments?
>
> Best regards,
> Rune Christensen
>
> >>> "Axel Mahler" <Axel.Mahler@lmse.de> 12-09-00 13.50
> >>>
>
>
>
>
> Hi again,
>
> you ask:
> > Is it possible to make a config spec that:
> >
> > get the versions from a specific date/time
> Yes. Use time rules in conjunction with LATEST, e.g.
>
> ..
> time 2-Jun-99.12:00
> element * .../mybranch/LATEST
> end time
> ..
>
> > get the versions with a specific wildcard label
> > (test_*)
>
> No way! Most unfortunately! I'm sure many people could
> use this. However,
> this would make Cspecs MUCH more complex.
>
> Cheers, Axel.
>
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:26:31 EDT