#11685 Retire FTI packages in NEW state
Closed: Fixed 2 years ago by churchyard. Opened 2 years ago by churchyard.

I will handle this, no need to do anything

According to the schedule

https://fedorapeople.org/groups/schedule/f-39/f-39-key-tasks.html

we need to follow https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ and retire (and orphan) packages with NEW fails to install bugzillas with at least 2 reminders on 2023-09-26.

Currently, the list would be:
RBTools andriller androwarn brd btest eric fedora-gather-easyfix libssh2-python pico-wizard pyflowtools pyftpdlib python-acora python-adext python-aiozeroconf python-airthings python-alarmdecoder python-btlewrap python-cypari2 python-dominate python-flask-bootstrap python-fpylll python-gccinvocation python-grako python-ipgetter python-jsonrpc-server python-lacrosse python-lazr-smtptest python-leveldb python-liblarch python-logging-tree python-nose_fixes python-notario python-py9p python-pyaes python-pybv python-pydiffx python-pytenable python-pytest-metadata python-restfly python-smart-gardena python-sphinxcontrib-actdiag python-stdio-mgr python-tambo python-upoints python-uri-templates python-yamlordereddictloader python-yourls python3-script pyutil sagemath sword php-ocramius-generated-hydrator php-symfony4 golang-github-alicebob-miniredis

https://bugzilla.redhat.com/buglist.cgi?bug_id=2219926,2219929,2219931,2219951,2219953,2219988,2219992,2220028,2220070,2220081,2220082,2220099,2220102,2220106,2220107,2220108,2220140,2220179,2220198,2220232,2220240,2220246,2220263,2220283,2220291,2220301,2220303,2220305,2220308,2220312,2220363,2220364,2220420,2220421,2220423,2220425,2220455,2220458,2220481,2220509,2220514,2220524,2220530,2220545,2220547,2220569,2220572,2220582,2220584,2220593,2220606,2223262,2223263,2227164

Attached is a script to generate the list:

import bugzilla
import sys
import time
from datetime import datetime


TRACKER = 2168845  # F39FailsToInstall
JUDGEMENT_DAY = datetime.fromisoformat("2023-09-26")

bzapi = bugzilla.Bugzilla("bugzilla.redhat.com")
fields = ["component", "creation_time"]
query = bzapi.build_query(product="Fedora", include_fields=fields)
query["blocks"] = TRACKER
query["status"] = "NEW"
query["limit"] = 1000
bugzillas = bzapi.query(query)
assert len(bugzillas) < 1000


def is_reminder(c):
    return (c["creator"].startswith("mhroncok@") and "reminder" in c["text"] or
        c["creator"].startswith("fti-bugs@") and "reminder" in c["text"])


def two_reminders(bug):
    return sum(is_reminder(c) for c in bug.getcomments()) >= 2


retire_ids = []
retire_packages = []

for bug in bugzillas:
    creation_time = datetime.fromtimestamp(time.mktime(bug.creation_time.timetuple()))
    delta = JUDGEMENT_DAY - creation_time
    symbol = "\N{GREEN HEART}"
    if delta.days >= 8 * 7 and two_reminders(bug):
        symbol = "\N{SKULL}"
        retire_ids.append(bug.id)
        retire_packages.append(bug.component)
    print(bug.component, f"{delta.days // 7} weeks", symbol, file=sys.stderr)

print(
    "https://bugzilla.redhat.com/buglist.cgi?bug_id="
    + ",".join(str(b) for b in retire_ids)
)
print(" ".join(retire_packages))

Packages orphaned (only pyftpdlib wasn't already). Retirement in distgit (rawhide and f39 branches) is in progress.

Packages retired in dist-git. Waiting for the compose to block them in Koji.

Metadata Update from @churchyard:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata