-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: detect if there are packages with multiple versions #526
Conversation
66d5d43
to
07efe5f
Compare
versions=$(echo "$the_versions" | wc -w) | ||
# the compiler is allowed to have more than one version because it's a | ||
# separate rpm. xenctrl has 2 versions: dummy and master | ||
if [ "$versions" -gt 1 ] && echo "$pkg" | grep -vqE '^ocaml$|^ocaml-base-compiler$|^ocaml-system$|^xenctrl$' ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to match only 4 exact patterns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about the ppxlib? I think that needs 2 versions. One for 4.08 and one for 4.10, or does the latest version work with both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We used to have to versions of the ppx_tools_versiones for 4.06 and 4.08.
With the current ppx ecosystem I don't think we need to have 2 version of any library to support two versions.
I think Ppxlib abstracts over the differences in the ASTs exposed through ocaml-migrate-parsetrees. We cannot use the latest versions of ppxlib or O-M-P because bisect_ppx (PR) and shared-block-ring (unmaintaned) haven't been migrated yet.
Early detection for a situation that causes problems when building the rpm for the whole repository. Signed-off-by: Pau Ruiz Safont <[email protected]>
This avoid situations like the last merge which broke building the rpm package for xs-opam.