Browse code

Rename python-openstacksdk to openstacksdk

Change-Id: Ia77163f330f674146b369dfebea56bd97820057e
Depends-On: https://review.openstack.org/554662

Monty Taylor authored on 2018/03/23 22:27:57
Showing 5 changed files
... ...
@@ -147,13 +147,13 @@ oaktree                                `git://git.openstack.org/openstack/oaktre
147 147
 octavia                                `git://git.openstack.org/openstack/octavia <https://git.openstack.org/cgit/openstack/octavia>`__
148 148
 octavia-dashboard                      `git://git.openstack.org/openstack/octavia-dashboard <https://git.openstack.org/cgit/openstack/octavia-dashboard>`__
149 149
 omni                                   `git://git.openstack.org/openstack/omni <https://git.openstack.org/cgit/openstack/omni>`__
150
+openstacksdk                           `git://git.openstack.org/openstack/openstacksdk <https://git.openstack.org/cgit/openstack/openstacksdk>`__
150 151
 os-xenapi                              `git://git.openstack.org/openstack/os-xenapi <https://git.openstack.org/cgit/openstack/os-xenapi>`__
151 152
 osprofiler                             `git://git.openstack.org/openstack/osprofiler <https://git.openstack.org/cgit/openstack/osprofiler>`__
152 153
 oswin-tempest-plugin                   `git://git.openstack.org/openstack/oswin-tempest-plugin <https://git.openstack.org/cgit/openstack/oswin-tempest-plugin>`__
153 154
 panko                                  `git://git.openstack.org/openstack/panko <https://git.openstack.org/cgit/openstack/panko>`__
154 155
 patrole                                `git://git.openstack.org/openstack/patrole <https://git.openstack.org/cgit/openstack/patrole>`__
155 156
 picasso                                `git://git.openstack.org/openstack/picasso <https://git.openstack.org/cgit/openstack/picasso>`__
156
-python-openstacksdk                    `git://git.openstack.org/openstack/python-openstacksdk <https://git.openstack.org/cgit/openstack/python-openstacksdk>`__
157 157
 qinling                                `git://git.openstack.org/openstack/qinling <https://git.openstack.org/cgit/openstack/qinling>`__
158 158
 rally                                  `git://git.openstack.org/openstack/rally <https://git.openstack.org/cgit/openstack/rally>`__
159 159
 rally-openstack                        `git://git.openstack.org/openstack/rally-openstack <https://git.openstack.org/cgit/openstack/rally-openstack>`__
... ...
@@ -411,12 +411,6 @@ function use_library_from_git {
411 411
 function lib_installed_from_git {
412 412
     local name=$1
413 413
     local safe_name
414
-    # TODO(mordred) This is a special case for python-openstacksdk, where the
415
-    # repo name and the pip name do not match. We should either add systemic
416
-    # support for providing aliases, or we should rename the git repo.
417
-    if [[ $name == 'python-openstacksdk' ]] ; then
418
-        name=openstacksdk
419
-    fi
420 414
     safe_name=$(python -c "from pkg_resources import safe_name; \
421 415
         print(safe_name('${name}'))")
422 416
     # Note "pip freeze" doesn't always work here, because it tries to
... ...
@@ -28,6 +28,7 @@ GITDIR["cliff"]=$DEST/cliff
28 28
 GITDIR["cursive"]=$DEST/cursive
29 29
 GITDIR["debtcollector"]=$DEST/debtcollector
30 30
 GITDIR["futurist"]=$DEST/futurist
31
+GITDIR["openstacksdk"]=$DEST/openstacksdk
31 32
 GITDIR["os-client-config"]=$DEST/os-client-config
32 33
 GITDIR["osc-lib"]=$DEST/osc-lib
33 34
 GITDIR["osc-placement"]=$DEST/osc-placement
... ...
@@ -51,7 +52,6 @@ GITDIR["oslo.versionedobjects"]=$DEST/oslo.versionedobjects
51 51
 GITDIR["oslo.vmware"]=$DEST/oslo.vmware
52 52
 GITDIR["osprofiler"]=$DEST/osprofiler
53 53
 GITDIR["pycadf"]=$DEST/pycadf
54
-GITDIR["python-openstacksdk"]=$DEST/python-openstacksdk
55 54
 GITDIR["stevedore"]=$DEST/stevedore
56 55
 GITDIR["taskflow"]=$DEST/taskflow
57 56
 GITDIR["tooz"]=$DEST/tooz
... ...
@@ -133,7 +133,7 @@ export USE_PYTHON3=$(trueorfalse False USE_PYTHON3)
133 133
 # base name of the directory from which they are installed. See
134 134
 # enable_python3_package to edit this variable and use_python3_for to
135 135
 # test membership.
136
-export ENABLED_PYTHON3_PACKAGES="nova,glance,cinder,uwsgi,python-openstackclient,python-openstacksdk"
136
+export ENABLED_PYTHON3_PACKAGES="nova,glance,cinder,uwsgi,python-openstackclient,openstacksdk"
137 137
 
138 138
 # Explicitly list services not to run under Python 3. See
139 139
 # disable_python3_package to edit this variable.
... ...
@@ -525,6 +525,10 @@ GITREPO["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_REPO:-${GIT_BASE}/opensta
525 525
 GITBRANCH["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_BRANCH:-$TARGET_BRANCH}
526 526
 GITDIR["ceilometermiddleware"]=$DEST/ceilometermiddleware
527 527
 
528
+# openstacksdk OpenStack Python SDK
529
+GITREPO["openstacksdk"]=${OPENSTACKSDK_REPO:-${GIT_BASE}/openstack/openstacksdk.git}
530
+GITBRANCH["openstacksdk"]=${OPENSTACKSDK_BRANCH:-$TARGET_BRANCH}
531
+
528 532
 # os-brick library to manage local volume attaches
529 533
 GITREPO["os-brick"]=${OS_BRICK_REPO:-${GIT_BASE}/openstack/os-brick.git}
530 534
 GITBRANCH["os-brick"]=${OS_BRICK_BRANCH:-$TARGET_BRANCH}
... ...
@@ -542,10 +546,6 @@ GITBRANCH["os-vif"]=${OS_VIF_BRANCH:-$TARGET_BRANCH}
542 542
 GITREPO["osc-lib"]=${OSC_LIB_REPO:-${GIT_BASE}/openstack/osc-lib.git}
543 543
 GITBRANCH["osc-lib"]=${OSC_LIB_BRANCH:-$TARGET_BRANCH}
544 544
 
545
-# python-openstacksdk OpenStack Python SDK
546
-GITREPO["python-openstacksdk"]=${OPENSTACKSDK_REPO:-${GIT_BASE}/openstack/python-openstacksdk.git}
547
-GITBRANCH["python-openstacksdk"]=${OPENSTACKSDK_BRANCH:-$TARGET_BRANCH}
548
-
549 545
 # ironic common lib
550 546
 GITREPO["ironic-lib"]=${IRONIC_LIB_REPO:-${GIT_BASE}/openstack/ironic-lib.git}
551 547
 GITBRANCH["ironic-lib"]=${IRONIC_LIB_BRANCH:-$TARGET_BRANCH}
... ...
@@ -38,7 +38,7 @@ ALL_LIBS+=" oslo.versionedobjects oslo.vmware keystonemiddleware"
38 38
 ALL_LIBS+=" oslo.serialization"
39 39
 ALL_LIBS+=" python-openstackclient osc-lib osc-placement"
40 40
 ALL_LIBS+=" os-client-config oslo.rootwrap"
41
-ALL_LIBS+=" oslo.i18n oslo.utils python-openstacksdk python-swiftclient"
41
+ALL_LIBS+=" oslo.i18n oslo.utils openstacksdk python-swiftclient"
42 42
 ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy"
43 43
 ALL_LIBS+=" debtcollector os-brick os-traits automaton futurist oslo.service"
44 44
 ALL_LIBS+=" oslo.cache oslo.reports osprofiler cursive"