-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Framework: Prevent noarch builds without DSM 5.2 #6249
Conversation
@hgy59, after publishing several |
we need another solution, noarch is still needed for DSM 5.2 |
Is it possible to rename Do you have any other thoughts on what might be causing the issue? EDIT: My suspicion is that this block isn't triggering: Lines 83 to 93 in 711444b
|
This reverts commit 06554f6.
@hgy59, I've reconsidered my approach assuming that the reason the block fails is that the EDIT: So that didn't work. I'm open to other ideas on this. |
I guess that we need to make TCVERSION mandanory for noach builds. currently to rebuild all noarch packages use (in the spk/{package} folder):
this should be changed to
|
Unfortunately, I've tried these two variations but neither work: Original Lines 71 to 76 in 711444b
Option 1
Option 2
|
One problem is the It would be easier to use something like |
I'm not entirely sure how to address that suggestion, as it's getting a bit beyond my current understanding. However, an alternative approach could be to segment the
This way, the builds will align with the appropriate DSM version, and we can avoid the need for additional handling for |
This reverts commit 64e25d5.
@hgy59, I've tested the simplified approach in my fork, and the build works as expected. Do you think this solution is ready for merging? |
sorry, I have worked on an other solution, using |
No problem, once the issue with |
Superseded by #6250. |
Description
This update ensures
noarch
builds only occur when DSM 5.2 is selected. Previously,noarch
builds were triggered even when DSM 5.2 wasn't chosen. Now,noarch
,noarch-6.1
andnoarch-7.0
are properly tied to DSM 5.2, DSM 6.2 and DSM 7.x, respectively, improving build accuracy.Follow-up on #6247 and #6229 (comment).
Checklist
all-supported
completed successfullyType of change