[openstack-dev] [packaging][all] Sample Config Files in setup.cfg
Jesse.Pretorius at rackspace.co.uk
Thu Sep 28 14:50:24 UTC 2017
There’s some history around this discussion , but times have changed and the purpose of the patches I’m submitting is slightly different  as far as I can see – it’s a little more focused and less intrusive.
The projects which deploy OpenStack from source or using python wheels currently have to either carry templates for api-paste, policy and rootwrap files or need to source them from git during deployment. This results in some rather complex mechanisms which could be radically simplified by simply ensuring that all the same files are included in the built wheel. Distribution packagers typically also have mechanisms in place to fetch the files from the source repo when building the packages – including the files through pbr’s data_files for packagers may or may not be beneficial, depending on how the packagers do their build processes.
In neutron , glance , designate  and sahara  the use of the data_files option in the files section of setup.cfg is established and has been that way for some time. However, there have been issues in the past implementing something similar – for example in keystone there has been a bit of a yoyo situation where a patch was submitted, then reverted.
I’ve been proposing patches  to try to make the implementation across projects consistent and projects have, for the most part, been happy to go ahead and merge them. However concern has been raised that we may end up going through another yo-yo experience and therefore I’ve been asked to raise this on the ML.
Do any packagers or deployment projects have issues with this implementation? If there are any issues, what’re your suggestions to resolve them?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev