<div dir="ltr">Bonjour fellow Montrealer! <div><br></div><div>As Thomas mentioned, I dont think there is a fixed standard for config files vs code.</div><div><br></div><div>That said, most configuration file that are used by Openstack services (nova, cinder, glance, neutron) are usually ending in .conf and have the following contents.</div><div><br></div><div>[section_name_blocks]</div><div>key=value</div><div>#comments</div><div><br></div><div>If the file looks like that, it's usually a good indication that it's a configuration file and not code.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 19, 2021 at 4:39 PM Bessghaier, Narjes <<a href="mailto:narjes.bessghaier.1@ens.etsmtl.ca">narjes.bessghaier.1@ens.etsmtl.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px">Dear OpenStack team,</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"><br>
I’m a Ph.D. student in software engineering at the ETS Montreal, <u></u>
University<u></u> of Quebec working on the quality and configuration of web-based software systems.<br>
I’m particularly interested in analyzing configuration files from different OpenStack files. One of the main challenges I am currently facing is the proper identification of configuration files. I’m mostly confused between the python files used for production
 and the python files used for configuration. I am kindly requesting your precious help with the following questions:</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"> </span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px">1- How to distinguish between python files used for configuration and python files used for production? It will be very helpful if there are some configuration-based patterns (eg, textual patterns or expressions) that we can find in
 python files to help us distinguish between source code and configuration files?</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"> </span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"><br>
</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px">2- Certain python files use the oslo_config to access and define configuration options. Could "all" these python files be considered as configuration files? For example, the following python file of the keystone project: keystone/keystone/conf/auth.py,
 is it considered a source code or configuration file?</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"> </span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"><br>
</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px">3- Why are there different source code and configuration repositories for OpenStack projects (eg, nova and puppet-nova)? For instance, does the OpenStack-nova service have some configuration files in its repository and have the puppet-nova
 as a separate configuration repository as well?</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"><br>
</span></p>
<p style="color:rgb(32,31,30);font-size:11pt;font-family:Calibri,sans-serif;margin:0px">
<span style="margin:0px"><br>
Thank you very much in advance for your time and your help!<br>
<br>
Kind regards,<br>
Narjes Bessghaier</span></p>
<br>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_6025101325293392842Signature">
<div>
<div></div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal">Narjes Bessghaier</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal"></span>
<p style="text-align:start;margin:0px;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">Ph.D student in Software Engineering</span></p>
<p style="text-align:start;margin:0px;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal"></span><span style="font-family:calibri,arial,helvetica,sans-serif;font-size:12pt;line-height:normal;color:rgb(0,0,0);background-color:rgba(0,0,0,0)"></span></p>
<p style="margin:0px;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal"></span><span style="margin:0px;font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal;color:rgb(0,0,0);background-color:rgba(0,0,0,0)">École
 de Technologie Supérieure (ETS)| University of Quebec</span></p>
<p style="margin:0px;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal"></span><span style="margin:0px;font-family:Calibri,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0);background-color:rgba(0,0,0,0);line-height:normal">Montreal,
 Canada</span></p>
<p style="margin:0px;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">
<a href="mailto:yasmine.makroum.1@ens.etsmtl.ca" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt;line-height:normal;color:rgb(12,100,192);background-color:rgba(0,0,0,0)">narjes.bessghaier.1@ens.etsmtl.ca</span></a></p>
<br>
</div>
</div>
</div>
</div>
</div>

</blockquote></div>