churchyard reported a new issue against the project: `releng` that you are following: `` ## Describe the issue
According to [the FTBFS/FTI policy](https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_...):
A week before the mass branching, any packages which still have open FTBFS bugs from the previous release will be retired. This can be requested via a releng issue.
A week before the mass branching, according to [the schedule](https://fedoraproject.org/wiki/Releases/31/Schedule), is at **2019-08-06**.
There are currently [~800 open F30FTBFS bugzillas](https://bugzilla.redhat.com/showdependencytree.cgi?id=F30FTBFS&hide_reso...), 20-30 of them are ON_QA.
Prior to the retiring, I suggest we close bugs for packages that built after the mass rebuild. (I've tried to run [mass-rebuild-close-bugs.py](https://pagure.io/releng/blob/master/f/scripts/mass-rebuild-close-bugs.py) but ti apparently sees no build, as it did nothing but skip all. Either I using it wrong or it is broken.)
## When do you need this?
On 2019-08-06.
## When is this no longer needed or useful?
Final F30 Freeze (2019-10-08) makes this not useful for F30, but stil useful for rawhide/F31.
## If we cannot complete your request, what is the impact?
8 hundred FTBFS packages that nobody fixes.
``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` Anyone who knows how to use mass-rebuild-close-bugs.py correctly? ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
mohanboddu added a new comment to an issue you are following: `` I have to look into it. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` Thanks. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` (I wanted to talk to @mohanboddu on Friday over IRC, but I completely forgot.) ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` Here's a draft:
```bash tracker=${1:-1674516} date="${2:-2019-07-24 09:40:00.000000}"
for line in $(bugzilla query --blocked $tracker --status NEW,ASSIGNED,POST,MODIFIED --outputformat "%{id}:%{component}"); do bug_component=( ${line/:/ } ) bug=${bug_component[0]} component=${bug_component[1]} # XXX any better way to get rid of epel and fc29 builds? builds=$(koji list-builds --package $component --after "$date" --state=COMPLETE --quiet | egrep "fc(30|31)" | cut -f1 -d' ' | tr '\n' ' ') if [ -z "$builds" ]; then echo "Let's retire $component" if false; then fedpkg clone $component (cd $component && fedpkg retire "This package fails to build from source waaaay to long, bye bye!") rm -rf $component bugzilla modify --status CLOSED --close EOL --comment "The package was retired." $bug fi else echo "The following builds were made: $builds" if false; then bugzilla modify --status CLOSED --close WORKSFORME --comment "The following builds were made: $builds" $bug fi fi
done
``` ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
ignatenkobrain added a new comment to an issue you are following: `` @churchyard no need to reinvent the wheel.
I have written script which does something what you want here: https://pagure.io/releng/blob/master/f/scripts/mass-rebuild-close-bugs.py ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
ignatenkobrain added a new comment to an issue you are following: `` (it does not handle fedpkg retire, but that is easy to integrate). Just wanted to point out to not write same scripts over and over. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` As written 3 weeks ago:
I've tried to run mass-rebuild-close-bugs.py but it apparently sees no builds, as it did nothing but skipped all. Either I've used it wrong or it is broken.
And two weeks ago:
Anyone who knows how to use mass-rebuild-close-bugs.py correctly?
If you can run it an close the bugz, good. I could have not. Nobody else replied. I'd rather reinvent the wheel than have another Fedora release where we just fail to retire the packages again. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` Note to self: the date is wrong (from current mass rebuild), will update when I get back to a computer. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` I've talked to @mohanboddu over IRC. The conclusion was:
- @mohanboddu to send an announcement about this happening (when?) - @mohanboddu is on vacation on Tuesday, @kevin is traveling to Flock, but will try to run this - delay to Wednesday if the above fails to happen
(I'll try to meet @kevin at Flock if that helps.) ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` Today is the scheduled day to retire the FTBFS packages. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
churchyard added a new comment to an issue you are following: `` Hello @kevin, @mohanboddu. Any chance this will be done today? ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
The status of the issue: `F30: Retire FTBFS packages on 2019-08-06` of project: `releng` has been updated to: Closed as Fixed by churchyard.
churchyard added a new comment to an issue you are following: `` This is now done. Thank you @mohanboddu. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/8522
rel-eng@lists.fedoraproject.org