diff --git a/projects.txt b/projects.txt index 379aa87dda..3f90d857a9 100644 --- a/projects.txt +++ b/projects.txt @@ -26,7 +26,6 @@ openstack/python-openstackclient openstack/python-savannaclient openstack/python-swiftclient openstack/python-troveclient -openstack/requirements openstack/savanna openstack/savanna-dashboard openstack/savanna-image-elements @@ -34,7 +33,9 @@ openstack/savanna-extra openstack/swift openstack/tempest openstack/trove +openstack-dev/devstack openstack-dev/hacking +openstack-infra/devstack-gate stackforge/climate stackforge/solum stackforge/python-climateclient diff --git a/update.py b/update.py index be8384cc7f..ae7cd87a51 100644 --- a/update.py +++ b/update.py @@ -149,10 +149,13 @@ def _copy_requires(suffix, dest_dir): def _write_setup_py(dest_path): - print("Syncing setup.py") target_setup_py = os.path.join(dest_path, 'setup.py') + # If it doesn't have a setup.py, then we don't want to update it + if not os.path.exists(target_setup_py): + return has_pbr = 'pbr' in open(target_setup_py, 'r').read() if has_pbr: + print("Syncing setup.py") # We only want to sync things that are up to date with pbr mechanics with open(target_setup_py, 'w') as setup_file: setup_file.write(_setup_py_text)