[openstack-dev] [Oslo] Improving oslo-incubator update.py

Mark McLoughlin markmc at redhat.com
Tue Nov 26 22:54:52 UTC 2013


On Fri, 2013-11-22 at 12:39 -0500, Doug Hellmann wrote:
> On Fri, Nov 22, 2013 at 4:11 AM, Flavio Percoco <flavio at redhat.com> wrote:
> 
> > Greetings,
> >
> > Based on the recent discussion that came out about not having enough
> > information in the commit message when syncing oslo-incubator modules,
> > I was thinking that besides encouraging people to write better commit
> > messages, we could also improve the script we use to sync those
> > modules.
> >
> > Some of the changes that I've been thinking of:
> >
> >    1) Store the commit sha from which the module was copied from.
> >    Every project using oslo, currently keeps the list of modules it
> >    is using in `openstack-modules.conf` in a `module` parameter. We
> >    could store, along with the module name, the sha of the commit it
> >    was last synced from:
> >
> >        module=log,commit
> >
> >        or
> >
> >        module=log
> >        log=commit
> >
> 
> The second form will be easier to manage. Humans edit the module field and
> the script will edit the others.

How about adding it as a comment at the end of the python files
themselves and leaving openstack-common.conf for human editing?

Mark.




More information about the OpenStack-dev mailing list