cool-script-to-generate-example-project

Registered by Jim Jiang

Sometimes we want to build openstack project easily, not only copy common libs to new project but generate whole project, including api example and db example, that will let our user did more easily.

We can simplely change update.sh, make the experience like devstack :)

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Jim Jiang
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Doug Hellmann

Related branches

Sprints

Whiteboard

a script that can help build a project skeleton including,

1. API code base (pecan + wsme)
2. DB code base (db.api & sqlalchemy.db.api)
3. openstack common libraries (using update.py)
4. default tox file and setup.py file.

the script should handle dependency among all modules.

a user scenario could be,

# ./skel --base projectx --skel api,db --modules rpc,uuidutils ~/devel/projectx

I think cookiecutter, combined with the template at https://git.openstack.org/cgit/openstack-dev/cookiecutter/ probably handles this, doesn't it? - dhellmann

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.