This is a multi-part message in MIME format...
------------=_1508833816-21920-181
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
[
https://ovirt-jira.atlassian.net/browse/OVIRT-1508?page=com.atlassian.jir...
]
eyal edri reassigned OVIRT-1508:
--------------------------------
Assignee: infra (was: Gil Shinar)
create command line out of upstream_source_collector.py script
--------------------------------------------------------------
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
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.
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.
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.
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
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100068)
------------=_1508833816-21920-181
Content-Type: text/html; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
<html><body>
<pre>[
https://ovirt-jira.atlassian.net/browse/OVIRT-1508?page=com.atlassian.jir...
]</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=i5TMWGV99amJbNxJpS...
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>
------------=_1508833816-21920-181--