[openstack-dev] [requirements][packaging] Normalizing requirements file
tony at bakeyournoodle.com
Wed Jun 22 05:23:43 UTC 2016
On Wed, Jun 22, 2016 at 06:45:31AM +0200, Haïkel wrote:
> as a packager, I spend a lot of time to scrutinize the requirements
> repo, and I find it easier to read if specifiers are ordered.
> So in a quick glance, you can check which is the min version required
> and max one without trying to search them among other specifiers.
> I scripted a basic linter to do that (which also normalize comments to
> PEP8 standards)
> Initial review is here:
> script is available here;
> Your thoughts?
I'm fine with doign something like this. I wrote  some time ago but didn't
push on it as I needed to verify that this wouldn't create a "storm" of
pointless updates that just reorder things in every projects *requirements.txt.
I think the first step is to get the 'tool' added to the requirements repo to
make it easy to run again when things get out of wack.
perhaps openstack_requirements/cmds/normalize ?
we can bikeshed on the output format / incrementally improve things if we have
a common base.
So I think that's a -1 on your review as it stands until we have the tool merged.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: not available
More information about the OpenStack-dev