On March 27, 2017 9:28 am, Tristan Cacqueray wrote:
Hello folks,with the recent packaging effort, it seems like the main software-factory repository could be split further: * sf-docs for docs/ * sf-config for config/ * sf-release for upgrade/ * release.softwarefactory-project.io (or github similar page) for the README * sf-ci for the rest What do you think? -Tristan
Hello folks,
here is a follow-up on this new organisation:
* Content imported
I used git filter-branch to keep the history and took this opportunity
to remove the jar files that was in the history. The sf-config now weigh
4MB instead of 24MB :)
* sf-config
This package respects linux directory hierarchy, the main differences are:
- Only sfconfig.py is installed in PATH, the rests of the scripts are now
located in /usr/share/sf-config/scripts
- The rest of static files are installed in /usr/share/sf-config, for
exampels ansible roles are no longer copied in /etc/ansible
- Lastly, all the generated content now lives in /var/lib/software-factory.
* sf-release
This package only contains the yum.repos.d file and the /etc/sf-release.
More work is required to include the upgrade.sh script and its playbook.
* sf-ci
With this new structure, I'd like to initiate this project with local
host based testing (without the image and lxc stuff). This work can happens
in parallel with the current workflow to ensure a smooth transition.
The test playbook would looks like this (on any centos slave):
yum install sf-release
yum install sf-config
sfconfig.py
nosetests -sv tests/
The upgrade test would be written like this:
yum install sf-release-${PREVIOUS_VER}
yum install sf-config
sfconfig.py
yum update sf-release
upgrade.sh
nosetests -sv tests/
Hopefully this should cut down test time by half!
* software-factory/software-factory change
Now the tricky part is to avoid desynchronisation...
Both sf-docs and sf-config are forked from 96d0771 (current HEAD), thus
I'd like to fast-track:
https://softwarefactory-project.io/r/7507 : remove config/ from main repo
https://softwarefactory-project.io/r/7465 : remove docs/ from main repo
Thanks in advance!
-Tristan
pgpvrj1QrWbdH.pgp
Description: PGP signature
_______________________________________________ Softwarefactory-dev mailing list [email protected] https://www.redhat.com/mailman/listinfo/softwarefactory-dev
