<div dir="ltr">Thanks for the effort put into this! My 2 cents in case you overlooked it: jobs and nodepool scripts need to be checked as they depend on the sf repo; these changes might impact them.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 4:31 AM, Tristan Cacqueray <span dir="ltr"><<a href="mailto:tdecacqu@redhat.com" target="_blank">tdecacqu@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On March 27, 2017 9:28 am, Tristan Cacqueray wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello folks,<br>
<br>
with the recent packaging effort, it seems like the main<br>
software-factory repository could be split further:<br>
<br>
* sf-docs for docs/<br>
* sf-config for config/<br>
* sf-release for upgrade/<br>
* <a href="http://release.softwarefactory-project.io" rel="noreferrer" target="_blank">release.softwarefactory-projec<wbr>t.io</a> (or github similar page) for the README<br>
* sf-ci for the rest<br>
<br>
What do you think?<br>
-Tristan<br>
<br>
</blockquote>
<br></div></div>
Hello folks,<br>
<br>
here is a follow-up on this new organisation:<br>
<br>
* Content imported<br>
<br>
I used git filter-branch to keep the history and took this opportunity<br>
to remove the jar files that was in the history. The sf-config now weigh<br>
4MB instead of 24MB :)<br>
<br>
<br>
* sf-config<br>
<br>
This package respects linux directory hierarchy, the main differences are:<br>
- Only sfconfig.py is installed in PATH, the rests of the scripts are now<br>
located in /usr/share/sf-config/scripts<br>
- The rest of static files are installed in /usr/share/sf-config, for<br>
exampels ansible roles are no longer copied in /etc/ansible<br>
- Lastly, all the generated content now lives in /var/lib/software-factory.<br>
<br>
<br>
* sf-release<br>
<br>
This package only contains the yum.repos.d file and the /etc/sf-release.<br>
More work is required to include the upgrade.sh script and its playbook.<br>
<br>
<br>
* sf-ci<br>
<br>
With this new structure, I'd like to initiate this project with local<br>
host based testing (without the image and lxc stuff). This work can happens<br>
in parallel with the current workflow to ensure a smooth transition.<br>
<br>
The test playbook would looks like this (on any centos slave):<br>
<br>
yum install sf-release<br>
yum install sf-config<br>
sfconfig.py<br>
nosetests -sv tests/<br>
<br>
The upgrade test would be written like this:<br>
<br>
yum install sf-release-${PREVIOUS_VER}<br>
yum install sf-config<br>
sfconfig.py<br>
yum update sf-release<br>
upgrade.sh<br>
nosetests -sv tests/<br>
<br>
Hopefully this should cut down test time by half!<br>
<br>
<br>
* software-factory/software-fact<wbr>ory change<br>
<br>
Now the tricky part is to avoid desynchronisation...<br>
Both sf-docs and sf-config are forked from 96d0771 (current HEAD), thus<br>
I'd like to fast-track:<br>
<a href="https://softwarefactory-project.io/r/7507" rel="noreferrer" target="_blank">https://softwarefactory-proje<wbr>ct.io/r/7507</a> : remove config/ from main repo<br>
<a href="https://softwarefactory-project.io/r/7465" rel="noreferrer" target="_blank">https://softwarefactory-proje<wbr>ct.io/r/7465</a> : remove docs/ from main repo<br>
<br>
<br>
Thanks in advance!<span class="HOEnZb"><font color="#888888"><br>
-Tristan<br>
</font></span><br>______________________________<wbr>_________________<br>
Softwarefactory-dev mailing list<br>
<a href="mailto:Softwarefactory-dev@redhat.com">Softwarefactory-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/softwarefactory-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/<wbr>softwarefactory-dev</a><br>
<br></blockquote></div><br></div>