<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]</pre>
<h3>eyal edri reassigned OVIRT-1508:</h3>
<pre>Assignee: infra (was: Gil Shinar)</pre>
<blockquote><h3>create command line out of upstream_source_collector.py script</h3>
<pre> Key: OVIRT-1508
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1508
Project: oVirt - virtualization made easy
Issue Type: Task
Reporter: Gil Shinar
Assignee: infra</pre>
<p>The benefits we will have by moving it into a a separate script are: 1) Not embedding the script inside Jenkins – We want to move to pipeline jobs in the future and in that matter we want to embed code in yamls as little as possible.</p>
<pre>The way to do it is to move the upstream_source_collector.py to a seperate script that'll be called from a jenkins step.
The only embedded code will be a very short and simple code that'll get the script from upstream before actually calling it.</pre>
<p>2) use the script as command line tool – When developers wants to run it locally on their cloned D/S projects. 3) Use hash as U/S projects folders – When using as command line tool, avoid looking for a way to match D/S to its U/S corresponding.</p>
<pre>Hashing means, hash the URL of the U/S repo and name the folder you are going to clone into with the hash code.
That way, U/S folder name will be by the hash of the rep URL in the upstream_sources.yaml file.
Another benefit will be the fact that we will never use two copies of U/S clone to two different D/S repos that their U/S repo is the same</pre></blockquote>
<p>— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100068)</p>
<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz1YAYkF1g9lMRujB7ReTubRBmohKTHxK9i-2B7-2BHElJkIV-2BOCvngNckqmcfwwrNSz6NWP4IiKN0gpsrGsRwjqywXFwgbL8nO5jaCtGqCg11Fi7-2FBbh4olYueqcH4gTZ1jb3rvTqEzM9wL-2F0aG7wcv5duA-2FuUfAmLaxtbhAnsyZr814kkxrDku4MEs73LtIS-2Fw31s-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>