Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Create web-based interface for batch upload. #27

Open
dolsysmith opened this issue Jul 31, 2019 · 1 comment
Open

Create web-based interface for batch upload. #27

dolsysmith opened this issue Jul 31, 2019 · 1 comment

Comments

@dolsysmith
Copy link

dolsysmith commented Jul 31, 2019

A proposed enhancement building on #10.

  • batch_loader.py captures STDOUT from the Rake tasks and populates a CSV with success/error flags, as well as the object ID's for successfully created objects.
  • If feasible, batch_loader.py also captures and records, in said CSV, the object's persistent link in GWSS.
  • A simple web server with some bare-bones HTML allows the user to upload a bunch of files from their workstation, including a CSV or spreadsheet with the metadata.
  • Client- or server-side JS performs some basic data validation on the metadata (e.g., are required fields missing? Do file names match uploaded files?)
  • The server script puts the CSV and files in the appropriate directory and runs batch-loader.py on the CSV and files.
  • The output CSV is made available for download from another HTML page.

This would support a more distributed workflow by GWLAI staff, avoiding bottlenecks in the use of the batch-loader.

@kerchner
Copy link
Member

Maker sure to evaluate other options recently developed to work with Hyrax, before proceeding with this work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants