[cairo] Cairo and the GitLab pipeline
bryce at bryceharrington.org
Thu Mar 14 16:29:12 UTC 2019
On Wed, Mar 13, 2019 at 05:24:51PM +0100, Uli Schlachter wrote:
> Hi everyone,
> since the floating point formats were merged , cairo depends on
> pixman 0.36.0. This made the pipeline on GitLab fail earlier than
> before, because now the provided pixman version is too old. In , I
> propose to switch the pipeline to Fedora rawhide to get a newer pixman
> version (*). Are there any thoughts / comments / review for this?
I suppose it depends on what the testing goal for this should be(*).
Tracking a development version of a distro, like Rawhide, will get data
from building against the current versions of dependencies, and thus be
helpful from an integration testing POV. On the other hand, Cairo's
test suite compares render output against ref images that can depend on
Pixman, so if Pixman changes in Rawhide, keeping the Cairo testsuite
passing may be tougher to manage.
Tracking a more stable version of a distro, like Latest, will keep
dependencies more to static, stable versions, and thus the Cairo
testsuite will be more likely to continue to run consistently, and only
fail when there are regressions in Cairo itself. The downside is that
as Cairo's required dependency versions change, as in this case, it will
require manual updating.
Either approach is good, just depends on what types of issues you're
most interested in.
* -- I see from the MR this change is suggested to be a temporary
workaround, but it's still a good question, and one that's bound to come
up again in the future, so hopefully the above is good food for thought.
>From a scientific experimentation POV, where you want to minimize the
number of variables, an approach might be to do both approaches, but run
stable Cairo on the development distro, and development Cairo on the
> : https://gitlab.freedesktop.org/cairo/cairo/merge_requests/14
> (*): And I dare to call this measure "temporary". I look forward to
> figuring out how long "temporary" is.
> "Are you preparing for another war, Plutarch?" I ask.
> "Oh, not now. Now we're in that sweet period where
> everyone agrees that our recent horrors should never
> be repeated," he says.
> cairo mailing list
> cairo at cairographics.org
More information about the cairo