[katello-devel] Proposed change to meaning of an environment's "current changeset"

Bryan Kearney bkearney at redhat.com
Wed May 18 15:34:41 UTC 2011


On 05/18/2011 11:12 AM, Justin Sherrill wrote:
> Hi,
>
> So currently an environment has a changeset (KPEnvironment#changeset)
> and a changeset history (KPEnvironment#changeset_history).
>
> Say we have environments A->B->C
>
> Currently the meaning of B.changeset is the set of content that will be
> promoted FROM B TO C. That is when you promote the changeset in B
> everything is added to C.
>
>
> I'm proposing a change to make it so that B.changeset is actually the
> content that will be promoted FROM A to B. To me it makes more sense
> logically as B.changeset is the changeset for B, not for C.
>
> This really comes into play with multiple paths, as currently the Locker
> only has 1 changeset for an environment. So it doesn't really work if
> you can promote from locker to multiple places. That is:
>
> Locker -> A
> Locker -> B
>
> Today, we only have Locker.changeset, so the same changeset used when
> deciding what content should be promoted to A or to B doesn't really
> make any sense.
>

Why does this not make sense? If my changeset is "Latest RHEL" I could 
see wanting to move it to both A and B.

Is hte issue that we are getting too fancy looking into the next 
environemnt to see what to move? If so, I would be willing to hold back 
on that stuff.

-- bk




More information about the katello-devel mailing list