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

Create web-based interface for batch upload. #27

@dolsysmith

Description

@dolsysmith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions