https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842019-10-15T10:25:57ZopenSUSE Project Management ToolopenQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2501542019-10-15T10:25:57Zokurzokurz@suse.com
<ul><li><strong>Blocks</strong> <i><a class="issue tracker-4 status-1 priority-3 priority-lowest" href="/issues/53546">action #53546</a>: Easier dependencies handling for packages, e.g. reduce duplication of build requirements in spec, documentation, Dockerfile</i> added</li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2587402019-11-20T08:30:58Zcoolocoolo@suse.com
<ul></ul><p>not started, just blocking</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2805132020-02-25T10:36:55Zokurzokurz@suse.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/280513/diff?detail_id=277234">diff</a>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>Workable</i></li><li><strong>Assignee</strong> deleted (<del><i>coolo</i></del>)</li></ul><p>Apparently you have no capacity to pick this up.</p>
<p>Updated description with "Motivation", "Acceptance criteria", "Suggestions</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2903192020-04-02T11:41:35Zlivdywanliv.dywan@suse.com
<ul><li><strong>Target version</strong> changed from <i>Current Sprint</i> to <i>Ready</i></li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2903372020-04-02T11:54:05Zokurzokurz@suse.com
<ul><li><strong>Target version</strong> changed from <i>Ready</i> to <i>Current Sprint</i></li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2903432020-04-02T12:04:35Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>How about creating a YAML or JSON file for the requirements and generate <code>cpanfile</code> and rpm from that?</p>
<p>Seems easier especially regarding dependencies per component. Not sure if that is actually possible with the <code>cpanfile</code> format.</p>
<p>Also <code>cpanfile-dump</code> doesn't support module versions, at least <code>cpanfile-dump --help</code> doesn't show anything regarding that.</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2903462020-04-02T12:13:14Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Status</strong> changed from <i>Workable</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>tinita</i></li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2923612020-04-13T08:12:17Zokurzokurz@suse.com
<ul></ul><p>yes, a generic dependency format looks interesting but if this is the problem then it's a generic problem that I hope was already solved. Do you have experiences from other non-pure perl projects how it is handled there? How about META.json or so? Or does <a href="https://metacpan.org/pod/App::mymeta_requires" class="external">https://metacpan.org/pod/App::mymeta_requires</a> help? Don't have experience in this field.</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2926732020-04-14T09:59:59Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Sorry, I was already working on something before I went into vacation/holiday.<br>
<a href="https://github.com/perlpunk/openQA/tree/deps" class="external">https://github.com/perlpunk/openQA/tree/deps</a><br>
<a href="https://github.com/perlpunk/openQA/blob/deps/dependencies.yaml" class="external">https://github.com/perlpunk/openQA/blob/deps/dependencies.yaml</a></p>
<p>I think it's hard to solve with tools that target only perl, because we currently have different versions for perl and rpm, e.g.<br>
<a href="https://github.com/perlpunk/openQA/blob/deps/dependencies.yaml#L72-L73" class="external">https://github.com/perlpunk/openQA/blob/deps/dependencies.yaml#L72-L73</a></p>
<pre><code>perl(DBD::Pg):
perl: '>= 3.007004'
rpm: '>= 3.7.4'
</code></pre> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2927962020-04-14T16:52:25Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Draft PR: <a href="https://github.com/os-autoinst/openQA/pull/2934" class="external">https://github.com/os-autoinst/openQA/pull/2934</a></p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2937472020-04-17T14:05:45Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2983122020-05-06T14:55:25Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>PR <a href="https://github.com/os-autoinst/openQA/pull/2934" class="external">https://github.com/os-autoinst/openQA/pull/2934</a> was merged</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2994732020-05-12T10:04:11Zokurzokurz@suse.com
<ul></ul><p>As we see the approach useful for openQA we want to consider the same approach for os-autoinst. As discussed with tinita the specific problem of generating rpm requires from cpanfile should be solvable the same in os-autoinst. Open point is where to save the script that helps us generating the dependencies. We see the following options:</p>
<ol>
<li>put the script in os-autoinst and make openQA depend on os-autoinst -> we already depend on os-autoinst, e.g. for the full stack test, so this should be doable</li>
<li>copy-paste into both repos – we obviously don't want that :) </li>
<li>move the script into a 3rd location and link into both, either as package dependencies or with git submodules/subrepo</li>
</ol>
<p>With tinita and mkittler and me we decided for option 1, so</p>
<ul>
<li>store dependency generation script in os-autoinst</li>
<li>delete from openQA</li>
<li>add dependencies.yaml and check in os-autoinst</li>
</ul>
<p>after that we should be done with this ticket and can continue in <a class="issue tracker-4 status-1 priority-3 priority-lowest" title="action: Easier dependencies handling for packages, e.g. reduce duplication of build requirements in spec,... (New)" href="https://progress.opensuse.org/issues/53546">#53546</a></p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=2999112020-05-13T13:04:10Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>I created <a href="https://github.com/os-autoinst/os-autoinst/pull/1401" class="external">https://github.com/os-autoinst/os-autoinst/pull/1401</a> to move the Dockerfile used for os-autoinst testing from the openQA repo.<br>
After that we need to change the URL here: <a href="https://build.opensuse.org/package/view_file/devel:openQA/openqa_dev/_service?expand=1" class="external">https://build.opensuse.org/package/view_file/devel:openQA/openqa_dev/_service?expand=1</a></p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3017682020-05-20T13:34:05Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>We are using this package now: <a href="https://build.opensuse.org/package/show/devel:openQA/os-autoinst_dev" class="external">https://build.opensuse.org/package/show/devel:openQA/os-autoinst_dev</a></p>
<p>Now I'll remove the dependencies that were only used by openQA.</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3017712020-05-20T13:34:19Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>In Progress</i></li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3017922020-05-20T16:25:32Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>PR for removing dependencies: <a href="https://github.com/os-autoinst/os-autoinst/pull/1414" class="external">https://github.com/os-autoinst/os-autoinst/pull/1414</a> (merged)</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3018042020-05-20T16:52:35Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>I disabled the build in <a href="https://build.opensuse.org/package/meta/devel:openQA/openqa_dev" class="external">https://build.opensuse.org/package/meta/devel:openQA/openqa_dev</a></p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3026112020-05-26T14:34:29Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>PR <a href="https://github.com/os-autoinst/os-autoinst/pull/1416" class="external">https://github.com/os-autoinst/os-autoinst/pull/1416</a> - Dependencies: add tools/update-deps<br>
was merged.</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3029292020-05-27T11:55:32Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Created <a href="https://github.com/os-autoinst/os-autoinst/pull/1420" class="external">https://github.com/os-autoinst/os-autoinst/pull/1420</a> - Dependencies: Add code to update Dockerfile</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3033642020-05-28T12:18:40Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul> openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3043302020-06-02T08:18:31Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Created <a href="https://github.com/os-autoinst/os-autoinst/pull/1423" class="external">https://github.com/os-autoinst/os-autoinst/pull/1423</a> - CI: Install possibly new dependencies</p>
openQA Project - action #56525: Create rpm requires from cpanfilehttps://progress.opensuse.org/issues/56525?journal_id=3114232020-07-03T09:00:48Zlivdywanliv.dywan@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>The alternative PR <a href="https://github.com/os-autoinst/os-autoinst/pull/1430" class="external">https://github.com/os-autoinst/os-autoinst/pull/1430</a> got merged. The script is still evolving but in this the context of this ticket I think it can be considered done.</p>