New charm: PyBossa
Bug #1343194 reported by
Marvin R.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Expired
|
Undecided
|
Unassigned |
Bug Description
new charm for PyBossa
open source framework for making crowdsourcing projects
http://
Related branches
To post a comment you must log in.
Marvin,
Thank you for submitting this charm for review. On the whole, it looks great; it deploys without error, the icon seems fine, there are no warnings or errors from `charm proof`, and the README.md is detailed and informative (though, see below). However, I have a few notes and suggestions before I can give my +1 for making this an official Recommended Charm in the store.
First, I think the boilerplate config.yaml should be cleaned up. Until such time as there are actual options to control the deployment of PyBossa, I recommend replacing the config.yaml with:
options: {}
This way, it is clear at a glance that there are no options to set.
Second, I would prefer the TODO sections in the README were cleaned up, even with simple placeholder text (for example, the config section could simply be: "There are no configuration options supported at this time").
Last, I have a few small suggestions that might help make the hooks a little bit cleaner and easier to follow:
* Static files (e.g., pybossa.ini) can be put in a files/ directory and copied into place, instead of embedded into the install hook (cp $CHARM_ DIR/files/ pybossa. ini /var/www/pybossa) (also note that $CHARM_DIR will always hold the location of the charm code and files)
* The postgresql charm will create the database you request for you and fire another relation-changed hook once it's ready. It might be cleaner to just check the database name and, if not "pybossa," relation-set it and then exit.
* Given the previous, might it be possible to have the charm use the db relation instead of db-admin?
Again, thank you for this charm submission, and I look forward to getting it approved as a Recommended Charm in the store. Also, just in case you were unaware, as it has not been particularly clear to me until Chuck wrote an excellent blog post*, this charm can be deployed from the store regardless of the state of this review. So don't let my suggested improvements delay you from promoting this very good charm. :)
[1] Chuck's blog post: http:// blog.dasroot. net/the- power-of- community- charming/