Signed-off-by: Mohan Boddu mboddu@bhujji.com
Please let me know if its good and I will add some comments
rebased onto 20a3e53c743d23ec71e68dd0664ca10984963b60
pretty please pagure-ci rebuild
rebased onto e6bb2f6db617f9210d829bd860d29fd3e043d523
rebased onto e98a9b32228d6aa776ff78b71709d83d79db4892
rebased onto 148d10b1c319a19c7a0957f5e6072afc2e67693a
Thanks, @mohanboddu, I am open to merge it. Do you want to add some additional code/comments?
So "epel\d-playground" is a correct branch name, right? There was a discussion about it at https://pagure.io/fedpkg/issue/334
@onosek, I am making adjustments to this PR, since we decided to automatically request epel\d-playground when someone requests epel\d.
PR will be updated with notes in few min.
rebased onto 27bbff9c755aa78ec748128de0a56dfec22e05c9
rebased onto 9e839b542cd23f1fb1eb54671ee143fa5f0dcd73
onosek yes.. epel\d-playground is the correct name. when we get to epel10 in 2026 it will be epel\d+-playground
rebased onto aee00a4c7e2d724d9bf37b09eda4c1e4d733ca78
Why is this None here but boolean later? Shouldn't it be False?
None
False
Sorry it got carried from my previous patch, it should be false, you are right.
false
I think we should probably consider disallowing epel\d+-playground from being requested specifically as well. We don't want to allow a situation where only that one is available.
epel\d+-playground
Right now, if I read this correctly, if someone did fedpkg new-branch epel8-playground, epel_playground would be False and it would create a module branch called epel8-playground, which we don't want.
fedpkg new-branch epel8-playground
epel_playground
epel8-playground
I think we should expressly disallow requesting epel\d+-playground branches and allow them to be created only alongside epel\d+.
epel\d+
rebased onto 59a89a837eeb961c6c9c505d83c86ed6bd38635f
Fixed.
LGTM now.
@onosek Please review it now and let me know, thanks.
A colon is missing. This is why unittests are failing.
rebased onto a08763ba61b79d551d3770aa1017807d3acc3a85
Thanks @onosek , it has been fixed now.
rebased onto 02618f756ee915da322c6ac42918a0c5501c3c78
minor - epel\d+-playground. A dash is missing.
'+' should not be at the end of the expression but behind the '\d'.
Minor. Add '+' behind '\d'. Or use *-playground.
@mohanboddu I am sorry for later review. I had to leave early on Friday.
rebased onto 024fe6bea23d5852342f6c5a275615012185adfd
I updated it with your comments.
@onosek I added the check for epel7, as we are planning to roll it initially to epel8 only.
We need to remove it later when we enable it for epel7
I am not completely sure, what is the purpose of this. But this construction probably needs comparison with a string like '7' (it is currently integer).
BTW thanks for updates for my comments.
rebased onto e33b71e7acaa22bff61ee9575708ac4ee93ae3c3
We are only enabling it for epel8 for now and we will definitely have it for epel9 and onwards.
I dont know when we will enable it for epel7, hence the check.
I changed it to int to check the versions, Thanks for the catch, not in a good day today.
Commit eabb5ae7 fixes this pull-request
Pull-Request has been merged by onosek
I did some additional modifications in the commit eabb5ae7. But the result should be the same. I also prepared some unittest for this functionality. Thank you for the contribution, @mohanboddu.
@onosek Yeah, I was trying to avoid change at multiple places when we enable it for epel7, thats all :smile:
I am not completely sure, what is the purpose of this. But this construction probably needs comparison with a string like '7' (it is currently integer). We are only enabling it for epel8 for now and we will definitely have it for epel9 and onwards. I dont know when we will enable it for epel7, hence the check. I changed it to int to check the versions, Thanks for the catch, not in a good day today.
We are only enabling it for epel8 for now and we will definitely have it for epel9 and onwards. I dont know when we will enable it for epel7, hence the check. I changed it to int to check the versions, Thanks for the catch, not in a good day today.
@mohanboddu, I have a additional question. @lsedlar mentioned something which I didn't realize. Currently, the code enables 'epel_playground' for epel branches including version 7 and next. There is an uncertainity, if I have to release as it is and epel_playground will be enabled for epel7. What is a plan for this?
OK thanks for the info. The idea is to have epel7-playground out in the fall after we have gotten epel8 and epel8-playground out the door. The goal would be to follow what we did in epel8 so workflows and tools are the same.
Signed-off-by: Mohan Boddu mboddu@bhujji.com