TapeStats

command module
v0.0.0-...-3930f21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

TapeStats

Public Tape Stats For LTO

About

TapeStats.com is (will be) a site dedicated to providing information about common LTO media. This includes failure rates, lifetime expectancy, failure indicators, and anything else we can pull from the data.

Where We Are

Once the submission code is complete and is live on www.tapestats.com work will begin on adding stats code. That'll provide basic insight into the data that is collected.

Note: No stats will be published until there are at least 500 tapes in the database.

Ideas/TODO

  • Add parser versioning in
    • Maybe move the parsed output to a different table and treat like a materialized view - Will allow for reprocessing in future
    • Each parser change should show a new parser version saved with its output.
    • Ideally store all versions of its output
  • Add support for client-side parsing (aka sending already structured)
  • Add data stats (coming later)
    • Use a RO Postgres follower for stats queries
    • Redis for caching
  • Better auth system / options
    • Maybe user+orgs with many accounts per org and many users per org.
  • Rate limiting to RegisterAccountHandler - Maybe one per min per source IP
  • Fix Created/Modified on tables
  • Swagger file
  • Add dict input for user defined data - maybe for later use/standardization?
  • Allow accounts to delete themselves and their data
  • Rewrite mamtool in golang
  • Allow accounts to get data about their tapes/submissions
  • Allow account password changes
  • Password resets for accounts?
  • Allow input of purchase cost data for tape

Dev Tips

Using Cobra Commander

cobra add --config .cobra.yaml -p rootCmd somethingnew

Documentation

Overview

Copyright © 2021 Paulson McIntyre <[email protected]>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Directories

Path Synopsis
ts
mam

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳