galaxyproject / cloudman

Easily create and manage compute clusters on any Cloud.
https://galaxyproject.org/cloudman/
37 stars 23 forks source link

Make sure project namespace is used instead of project name #122

Closed nuwang closed 4 years ago

nuwang commented 4 years ago

Currently, some places in the code is using project.name instead of project.namespace, which results in errors if the project.name has spaces or is not RFC1123 compliant. It looks like we also need more than just project.name in the context. Have added the following:

context.project.name
context.project.namespace
context.project.access_path

Will probably need the domain name in the context too.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.02%) to 94.096% when pulling 20e3ffb6a2b6ac5acfe6640e49a2858189350823 on use_project_namespace into 173ad5e82f09902cd04b00f0e72af9b5940bd962 on master.