Project

General

Profile

coordination #123301

[qe-core] Guarantee os-autoinst-disti-opensuse (or another metapackage) is all a test developer needs to work.

Added by szarate 2 months ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Refactor/Code Improvements
Target version:
-
Start date:
2023-01-18
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

For a test developer, all they should have to do is to install a single metapackage:

https://suse.slack.com/archives/C02CANHLANP/p1674045401600369
https://suse.slack.com/archives/C02CANHLANP/p1673614981349019?thread_ts=1673612944.290799&cid=C02CANHLANP

Following https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/16232, we can have one that installs only what is needed, possibly avoiding os-autoinst but including Perl::Tidy required by os-autoinst (it could be that we can't decouple it) and document it in the contributing guide.

Marking this as an epic for now, hopefully it can be linked to the platform team transition story.

History

#3 Updated by szarate 29 days ago

  • Tags changed from platform-team, qe-core-january-sprint, qe-core-february-sprint to platform-team, qe-core-january-sprint

#4 Updated by szarate 22 days ago

  • Tags changed from platform-team, qe-core-january-sprint to platform-team, qe-core-april-sprint

#5 Updated by szarate 17 days ago

in theory we have a metapackage, but is not in factory yet... but for a test developer the requirements are different:

os-autoinst-distri-opensuse-deps + os-autoinst-devel are needed, along with (possibly) the following change

diff --git a/Makefile b/Makefile
index 4235f2230..496639dbf 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ help:
 .PHONY: prepare
 prepare:
    git clone https://github.com/os-autoinst/os-autoinst.git
-   ./tools/wheel --fetch
+   ./tools/wheel --fetch || true
    $(MAKE) check-links
    cd os-autoinst && cpanm -nq --installdeps .
    cpanm -nq --installdeps .

on the other hand, we can add a specific target for test development?

Also available in: Atom PDF