How mitlibraries/thing works
ETD is a Rails application for electronic thesis deposit, processing, publication, and preservation. Students submit thesis metadata and files; registrar imports and department transfers support batch intake; library staff review and process records before publication and downstream exports. The README documents the major integration workflows, while the excerpts show the thesis controller’s publication-queue dispatch and route mappings. Several subsystem implementations were not sampled, so documented capability links use the README as evidence rather than implying inspected call details.
Main entry points: thesis_controller.rb Thesis metadata · routes.rb Web routes · thesis_dashboard.rb Processing dashboard · transfer_controller.rb Batch file transfer
Components 22
Deposit and intake
- Thesis metadata
app/controllers/thesis_controller.rb - Batch file transfer
app/controllers/transfer_controller.rb - Registrar import
app/jobs/registrar_import_job.rb - Thesis records
app/models/thesis.rb - File attachments
app/models/active_storage_attachment_extension.rb
Staff operations
- Processing dashboard
app/dashboards/thesis_dashboard.rb - Thesis holds
app/dashboards/hold_dashboard.rb - Staff reporting
app/controllers/report_controller.rb - Admin management
app/controllers/admin/application_controller.rb
Publication and preservation
- Publication preparation
app/jobs/dspace_publication_prep_job.rb - DSpace publication
app/jobs/dspace_publication_job.rb - Publication results
app/jobs/dspace_publication_results_job.rb - Archivematica preparation
app/jobs/preservation_submission_job.rb - MARC catalog export
app/jobs/marc_export_job.rb - ProQuest export
app/jobs/proquest_export_job.rb - AWS SQS
Application platform
- Authentication
app/controllers/users/omniauth_callbacks_controller.rb - Web routes
config/routes.rb
Other components
- Student
- Registrar staff
- Department admin
- Library staff
Connections 23
- Student → Thesis metadata: submits metadata
- Department admin → Batch file transfer: uploads files
- Registrar staff → Registrar import: starts batch import
- Thesis metadata → Thesis records: saves metadata
app/controllers/thesis_controller.rb - Batch file transfer → File attachments: transfers files
- Registrar import → Thesis records: loads thesis metadata
- Library staff → Processing dashboard: reviews records
- Processing dashboard → Thesis records: processes theses
- Library staff → Thesis holds: manages holds
- Library staff → Staff reporting: requests reports
- Library staff → Admin management: administers records
- Thesis metadata → Publication preparation: queues publication
app/controllers/thesis_controller.rb - Publication preparation → DSpace publication: prepares publication
- DSpace publication → AWS SQS: publishes through
- AWS SQS → Publication results: delivers results
- Processing dashboard → Archivematica preparation: starts preservation
- Processing dashboard → MARC catalog export: exports metadata
- Thesis metadata → ProQuest export: queues export
app/controllers/thesis_controller.rb - Student → Authentication: authenticates
app/controllers/users/omniauth_callbacks_controller.rb - Web routes → Thesis metadata: routes requests
config/routes.rb - Web routes → Batch file transfer: routes requests
config/routes.rb - Web routes → Registrar import: routes registrar requests
config/routes.rb - Web routes → Staff reporting: routes reports
config/routes.rb