Skip to content

Instantly share code, notes, and snippets.

@laceysanderson
Last active May 30, 2019 19:40
Show Gist options
  • Save laceysanderson/d4c4534e6ac41ece3063f9b1270d749b to your computer and use it in GitHub Desktop.
Save laceysanderson/d4c4534e6ac41ece3063f9b1270d749b to your computer and use it in GitHub Desktop.
Tripal Module Rating PR

This GIST provides a template for PRs requesting Tripal Extension Module Badges. Add Yes, No (with couple word explanation) or Not appicable (with couple word explanation) under status for each requirement. Making the status a link to an example of how this requirement is fullfilled is recommended but not required.

This module rating system is meant to aid Tripal Site Administrators in choosing extension modules for their site. It is also meant to guide developers in module best practices and celebrate modules which achieve these goals.

We encourage Tripal module developers to rate their modules. This can be done by Adding your Module to this list!

Documentation

Description

This issue is in preparation for request for a gold Tripal extension module badge.

Repository: https://github.com/tripal/tripal_blast/

Bronze

Requirement Status
Has a public release.
Should install on a Tripal site appropriate for the versions it supports.
Defines any custom tables or materialized views in the install file (if applicable).
Adds any needed controlled vocabulary terms in the install file (Tripal3).
Provides Installation and admin instructions README.md (or RTD).
Has a license (distributed with module).

Silver

Requirement Status
Follows basic Drupal Coding standards; specifically, code format and API documentation.
Uses Tripal API functions. Specifically, it should use the Chado Query API for querying chado (if using chado as the storage system).
Tripal Jobs API for long running processes.
TripalField class to add data to pages (Tripal3).
Provides ways to customize the module (e.g. drush options, field/formatter settings, admin UI).
Latest releases should follow Drupal naming best practices. e.g. first release for Drupal 7 should be: 7.x-1.x.

Gold

Requirement Status
Extensive documentation for the module (similar to Tripal User’s Guide).
Unit testing is implemented using PHPUnit with the TripalTestSuite or something similar.
Continuous integration is setup (e.g. such as with TravisCI).
Imports data via Tripal’s importer class (Tripal3).
Tripal 3 fields are Fully compatible with web services.
The elementInfo function is fully implemented.
The query and queryOrder functions fully implemented.
Web Services uses Tripal’s Web Service Classes (Tripal3).
Code sniffing and testing coverage reports (optional but encouraged).
Drupal.org vetted release (optional but encouraged).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment