Smolder::Control::Projects
Controller module that deals with actions associated with projects and test reports
Set or unset the invalid flag on a given smoke report. Uses the Projects/smoke_report_details.tmpl template.
invalid
Returns an HTML list sutiable for a Prototype based "Autocomplete" form of exising platform otpions
Returns an HTML list sutiable for a Prototype based "Autocomplete" form of exising architecture otpions
Shows the form to allow the developer to add a new smoke report to a project. Uses the Projects/add_report.tmpl template.
Projects/add_report.tmpl
Process the incoming information from the add_report mode. If validation passes we upload the file and update the database. The report is stored for permanent storage, and summary information is extracted and inserted into the database. If successful, redirects the user to the "Recent Smoke Tests" screen for the same project.
add_report
If the newly uploaded report causes the ProjectFullReportsMax configuration limit to be reached then any full reports over that limit will be purged. Their summary data will still be retained in the database, but the compressed XML file which contains the details will be removed, and the reports details will no longer be accessible.
ProjectFullReportsMax
Shows the summary info for a given smoke_report. Uses the Projects/smoke_report.tmpl template.
Shows a list of smoke reports for a given project based on the limit, offset and tag parameters. Uses the Projects/smoke_reports.tmpl template.
Show the full report for download. Does not use a template but simply outputs the pregenerated file.
Show the details of an individual test file. This is called from the HTML page generated by report_details by an AJAX call.
Return the TAP archive for a given report to the browser
Return the TAP stream for a given report and given stream index number to the browser.
Show all of the projects this developer is associated with and a menu for each one.
Show all of the public projects with and a menu for each one.
If this developer is the admin of a project then show them a form to update some project specific settings. Uses the Projects/admin_settings_form.tmpl and the Projects/admin_settings.tmpl templates.
Process the incoming information from the admin_settings mode. If it passes validation then update the database. If successful, returns to the admin_settings mode.
admin_settings
Deletes a tag that is associated with a given Project. If validation passes the database is updated and all smoke reports that were associated with this tag are either re-assigned or simply not associated with a tag (depending on what the project admin chooses). Returns to the admin_settings mode if successful.
Shows the details of a project.
Mute a group of test files.
Create a comment on a group of test files.
Show history of a particular test file in this project
Will return an XML data feed (Atom) to the browser. The 5 most recent smoke reports for a project are included in this feed. An optional type can also be specified which is can either be all or failures.Only projects that have been marked as enable_feed will appear in any feed.
type
all
failures
enable_feed
To install Smolder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Smolder
CPAN shell
perl -MCPAN -e shell install Smolder
For more information on module installation, please visit the detailed CPAN module installation guide.