-
Notifications
You must be signed in to change notification settings - Fork 148
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
Fixes #12970 - Package patternfly-sass #944
Fixes #12970 - Package patternfly-sass #944
Conversation
d4c0363
to
c930711
Compare
Release: 1%{?dist} | ||
Summary: Red Hat's Patternfly, converted to Sass and ready to drop into Rails | ||
Group: Development/Languages | ||
License: Apache-2.0 |
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.
ASL 2.0
in a spec file
|
It looks like you're updating a lot of packages to fully implement the changes in #4629, so you might find this easier in one PR and/or with a temporary repo (e.g. using mockchain or copr) to show the changes work together - including the changes to foreman/foreman.spec. |
c930711
to
4ea70c1
Compare
It looks like I have to:
I think that would be it, I'll add it to the original comment as a check list. @domcleal, you said you would prefer all of these changes in this PR, plus a copr with the packages then? Most of the items in the list above don't necessarily have to rely on one another so they could be merged independently. |
I doubt very much that you could get this changed in the rh-ror41 SCL, since it's a rebuild of a Red Hat product, so the "upstream" has a policy of no rebases. I don't mind if this is in one PR or many, but I think the series of packages will need to be chainbuilt to prove that it all works together (mockchain with the configs in mock/ and SRPMs from |
Don't worry about Redmine tickets for each change too, it's not necessary here - just more admin work. |
4ea70c1
to
d971a2e
Compare
@@ -140,6 +140,7 @@ | |||
<packagereq type="default">rubygem-multi_json-doc</packagereq> | |||
<packagereq type="default">rubygem-multi-select-rails-doc</packagereq> | |||
<packagereq type="default">rubygem-net-ldap-doc</packagereq> | |||
<packagereq type="default">rubygem-patternfly-sass-doc</packagereq> |
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.
missing the main package?
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.
It's on line 75
d971a2e
to
bbd2606
Compare
Please let me know when you have a set of packages tested together. It should be possible to use mockchain with the configs provided in the mock/ directory to build all of these packages in sequence and then the SRPM of foreman. At the moment they're also going to have quite a few merge conflicts in foreman.spec, which'll make it a bit trickier. |
I'm building this temporary repo now with: for dir in rubygem-*; do
(cd "$dir" &&
tito build --srpm --test\
--builder tito.builder.MockBuilder\
--arg mock_config_dir=mock/ --arg mock=el7-scl);
done
mockchain -r el7-scl -l /tmp/patternfly/ --recurse /tmp/tito/*.src.rpm |
Duh, it looks like rubygem(ejs) is not packaged. I'll take it from https://github.com/domcleal/sclo-ror42/tree/master/rubygem-ejs |
For the record I'm keeping a branch with all of the changes here If that builds properly (currently it doesn't), I'll port the relevant changes to every PR on the checklist. |
Success! I'll start updating the PRs with the few changes I made, basically dLobatog@ad77506 |
Find the output of mockchain at patternfly.zip |
You should then be able to build foreman itself on top of that. Get an SRPM with the latest develop code with |
It's not building now because rubygem(sass) from ror41 is also too old.
I'll bundle it too. |
4561f4f
to
9eed59a
Compare
@domcleal I built foreman with mockchain + the other packages. Find the zip here: patternfly.zip I worked out of this branch https://github.com/dLobatog/foreman-packaging/commits/rpm/patternfly-all then split it all in all the various PRs you can see here. |
Thanks, all looks good except for one comment on sprockets I think it was. I'm working through the PRs in this order to match the build order:
Once the previous one's merged the next is almost certainly going to need a rebase. Don't worry about rebasing all of them as it'll just generate PR test load. |
Could you rebase this please @dLobatog? |
9eed59a
to
a00de2c
Compare
@domcleal Rebased, it only conflicted on foreman.spec w/ autoprefixer-rails |
Fixes #12970 - Package patternfly-sass
Thanks @dLobatog, merged and building. |
The core Foreman package has been rebuilt and passed tests. Thanks for the updates @dLobatog! |
patternfly.zip
cc - theforeman/foreman#294