[wpkg-users] [Bug 262] Wrong variable apply order

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu Jan 26 21:00:15 CET 2012


http://bugzilla.wpkg.org/show_bug.cgi?id=262

--- Comment #15 from Rainer Meier <r.meier at wpkg.org>  ---
After having a look at the code I think it's currently not working correctly
with conditional variables. The reason is that WPKG first fetches a list of
variables and then defines them. This makes the host/profile variables
unavailable during evaluation of package variable conditions.

I am working on an improvement right now.

Moreover it seems that more users want to override package variables (mainly
version) with profile or host variables. So I am thinking about reverting the
evaluation order to pre-1.3 behavior (reverse order).

Some additional changes will hopefully allow to use conditions in profiles in
order to detect whether a variable is set/unset or set to specific value in the
package.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list