Write script to push dependency update proposals to each project when common dependency list changes

Bug #1082819 reported by Monty Taylor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Low
Monty Taylor

Bug Description

When we change the common requirements, it's entirely easy to create commits that run the depend sync script and create code reviews for it to the other projects.

Revision history for this message
Clark Boylan (cboylan) wrote :

openstack/requirements is now a thing with traction. We can now start automagically proposing updates to projects when the common requirements update. This should happen as a post job for the openstack/requirements repo.

tags: added: low-hanging-fruit
Changed in openstack-ci:
milestone: grizzly → havana
Revision history for this message
Susan Tan (susan-tan-fleckerl) wrote :

Hi,

I'm a new beginner (volunteer) contributor to Open Stack looking at easy-picking tickets and this one is an interesting ticket. I have devstack installed and running locally on a Vagrant VM; I've just cloned the requirements repo and have carefully read the update.py file inside that repo.

I have a few beginner-type questions:
1) Should I be making the code patch directly in update.py? Is this the right file to make the code changes? If not, then, are you expecting a ".sh" bash script file to be added into the requirements repo?
2) The update.py file takes in only 1 argument, the directory path. Should the new script automatically find the directory path to the relevant open stack repos (such as the nova repo, cinder repo, glance repo, etc)?
3) What is a "post job"? Do you mean a "cron job" that runs a new script relying on update.py every so often?

Revision history for this message
Jeremy Stanley (fungi) wrote :

This is actually already underway in https://review.openstack.org/40068 but should provide a good example of what this bug was suggesting.

Jeremy Stanley (fungi)
Changed in openstack-ci:
assignee: Clark Boylan (cboylan) → Monty Taylor (mordred)
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.