Pylons/trypyramid.com

Submit and administer Powered by Pyramid and Add-on entries

stevepiercy opened this issue · 1 comments

Currently when someone wants to add their item to Powered by Pyramid or Extending Pyramid, the process is tedious and manual.

  1. Use a template to submit a new issue:
  1. Steve Piercy add the item to a database.
  2. Steve Piercy run a script to export the items to JSON.
  3. Steve Piercy update the appropriate .json file in the repo.
  4. Steve Piercy make a new release.

The following is a proposal to avoid all that tedium.

Authentication would use GitHub's API for OAuth to identify a user, so that we don't have to deal with usernames, passwords, and resetting passwords.

Ideally there would be a form for the user to submit their request along with uploading any artwork.

The system would validate the data, create a record, resize the image to the appropriate size, create an issue on GitHub, and notify designated admins that a new item has been submitted (this notification may be redundant to the issue creation, since GitHub sends notifications when an issue is created).

An admin would login, review the submission, and either approve, ask questions, or reject it. For all actions, both the database and GitHub issue would be updated.

If approved, the record would be displayed.

Add-ons are now simple YAML files, and the build has been automated. This makes it much easier to add new addons and entries while not complicating matters.