-
Notifications
You must be signed in to change notification settings - Fork 122
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
Prepare dist-git sources using rpmbuild -bp
#2641
Conversation
Note: when squashing - reference #1482 |
@happz finally I'm down to single mypy complain. But I can't fix it, any help greatly appreciated |
95188ea
to
3b3704c
Compare
3b3704c
to
fba41ac
Compare
Rebased to the current main (mainly to have PROVISION_HOW available) |
Seems that |
fba41ac
to
fd2b758
Compare
issues should be fixed now |
I've omitted |
I believe it is a good to go now (feature PoV). I'll start updating docs... |
a97e461
to
94fda70
Compare
Should |
Investigatig |
a7b3dd4
to
2c15d93
Compare
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.
Thanks a lot for implementing this! Looks good. Added some comments and suggestions.
package-manager PR was merged so I'm going to incorporate it here. |
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.
One typo.
6937a8b
to
5543a12
Compare
Using package_manager now and added coverage for 'install-builddeps' showed its implementation was buggy. |
Hit #2744 again. |
@psss Added
|
pre-commit find issue which will happen after the rebase. fixing. |
5485471
to
9ed8322
Compare
That package_manager fact is really flaky. dist-git patch requires 'dnf' (or 'dnf5') so the test failed because
And later test failed on package_manager None which is the same issue - fact gathering failed (the order is dnf->yum) just for dist-git case the 'yum' probe was successful but in /prepare/ansible even this probe failed... |
Something fishy in the world of |
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.
Thanks for all the adjustments! Looks good. Added some last fine tuning changes we discussed on the chat in 8047fe6.
8047fe6
to
a5d5b2b
Compare
rpmbuild -bp
Hm, just tried a full test using the following plan in the discover:
how: fmf
dist-git-source: true
test: /tests/core/ls
execute:
how: tmt And it seems that the
The test requires |
Good catch, working on it:
|
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.
Thanks, now works fine, just one suggestion/question.
Thanks for the call, as mentioned I'll fix the 'list(set)' to make dependencies unique. |
9996c7d
to
1292ee0
Compare
I had to split DiscoverFMF.go() to have something to call from prepare step, could be a conflict with #2448.
Also I've duplicated
GuestPackageManager
intoPrepareDistGit
so this shouldn't be blocked by #2557 - Once that PR is merged I will change the code to be nicer but lets get this working ...Feedback wanted mostly for:
discover.post_dist_git
method as way to run test discovery from preparePull Request Checklist