Project

General

Profile

Actions

action #128087

closed

coordination #127031: [saga][epic] openQA for SUSE customers

coordination #127028: [epic] openQA on SLE+packagehub

Regular cleanup of OBS project devel:openQA:* size:M

Added by tinita about 1 year ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See #127883

Acceptance Criteria

  • AC1: Projects in devel:openQA:* are in a known, clean state
  • AC2: For each package (link) in in devel:openQA:Leap:* we can understand why we have it there and what needs to be done to not need to maintain that package link anymore
  • AC3: We are notified if there's a package with a link without a reason

Suggestions

  • Use the comment feature to add information to every linked package why we need it, which version we need and possibly a related ticket.
  • Drop links which we don't have a reason to keep
  • Drop links considered obsolete
  • Automatically scan packages for comments to check that we're not missing any, e.g.
    • Check out https://api.opensuse.org/apidocs/index#/Comments/get_comments_package__project_name___package_name_
    • curl on the API to list all packages in each Leap:* repo, for each grep comments for "Reason for linking", fail if not found
    • We could use osc or read-only API, first script solution: for pkg in $(osc list devel:openQA:Leap:15.5); do osc comment list package devel:openQA:Leap:15.4 $pkg | grep -q 'Reason for linking' && continue; echo "package $pkg is missing reason for linking" && false; done
    • osc api /source/devel:openQA:Leap:15.5/perl-Perl-Tidy/_meta
    • osc api /source/devel:openQA:Leap:15.5/
    • Ask in #help-obs

Related issues 2 (0 open2 closed)

Related to openQA Infrastructure - action #156049: [alert] Scripts CI pipeline failing with No reason for devel:openQA:Leap:15.6/local-npm-registryResolvedjbaier_cz

Actions
Copied from openQA Project - action #127883: Cleanup OBS project devel:openQA:Leap:15.4Resolvedtinita2023-04-18

Actions
Actions

Also available in: Atom PDF