public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup v2 00/15] implement first version of tape gui
Date: Thu, 28 Jan 2021 12:59:40 +0100	[thread overview]
Message-ID: <20210128115955.23136-1-d.csapak@proxmox.com> (raw)

it's a very rough beginning, mostly so that we can test the features
on the webui

its still not baked in by default, and there are things missing
(e.g. restore, encryption, etc)

also the ux is not representable of what i have in mind for the
finished gui, e.g.
* a first setup wizard
* a wizard for creating/extending media pools
etc.

i'd love some feedback though

changes from v1:
* rebase on master (e.g. changer-drive-id -> changer-drivenum)
* add filter to list_drives instead of having an extra api call
  get_drives (and adapt gui)
* omit patch for changing protected flags (most things should work
  without it, i'll test and send a separate patch for where it's needed)
* add patch to add vendor/model to drivestatus
* add patch to map import/export slots
* add patch for fixing missing changes from changer-drive-id to changer-drivenum

Dominik Csapak (15):
  api2/tape/changer: add changer filter to list_drives api call
  api2/tape/drive: add load_media as api call
  api2/tape/drive: change methods of some api calls from put to get
  api2/config/{drive,changer}: prevent adding same device multiple times
  ui: tape: add form fields
  ui: tape: add Edit Windows
  ui: tape: add BackupOverview Panel
  ui: tape: add ChangerStatus panel
  ui: tape: add DriveConfig panel
  ui: tape: add PoolConfig
  ui: tape: move TapeManagement.js to tape dir
  ui: tape: use panels in tape interface
  tape/changer: add vendor/model to DriveStatus
  tape/changer: refactor marking of import/export slots from config
  tape: change changer-drive-id to changer-drivenum

 docs/tape-backup.rst                     |   8 +-
 src/api2/config/changer.rs               |  12 +-
 src/api2/config/drive.rs                 |  13 +-
 src/api2/tape/changer.rs                 |   4 +-
 src/api2/tape/drive.rs                   |  22 +-
 src/bin/proxmox_tape/drive.rs            |   2 +-
 src/tape/changer/mod.rs                  |  36 +-
 src/tape/changer/mtx/mtx_wrapper.rs      |  41 +-
 src/tape/changer/mtx/parse_mtx_status.rs |   6 +
 src/tape/changer/sg_pt_changer.rs        |  32 +-
 src/tape/drive/virtual_tape.rs           |   2 +
 www/Makefile                             |  18 +-
 www/TapeManagement.js                    |  11 -
 www/tape/BackupOverview.js               | 150 ++++++
 www/tape/ChangerStatus.js                | 631 +++++++++++++++++++++++
 www/tape/DriveConfig.js                  | 316 ++++++++++++
 www/tape/PoolConfig.js                   | 119 +++++
 www/tape/TapeManagement.js               |  35 ++
 www/tape/form/AllocationSelector.js      |  31 ++
 www/tape/form/ChangerSelector.js         |  60 +++
 www/tape/form/DriveSelector.js           |  66 +++
 www/tape/form/PoolSelector.js            |  44 ++
 www/tape/form/RetentionSelector.js       |  26 +
 www/tape/form/TapeDevicePathSelector.js  |  62 +++
 www/tape/window/ChangerEdit.js           |  50 ++
 www/tape/window/DriveEdit.js             |  77 +++
 www/tape/window/LabelMedia.js            |  47 ++
 www/tape/window/PoolEdit.js              |  64 +++
 www/tape/window/TapeBackup.js            |  43 ++
 29 files changed, 1957 insertions(+), 71 deletions(-)
 delete mode 100644 www/TapeManagement.js
 create mode 100644 www/tape/BackupOverview.js
 create mode 100644 www/tape/ChangerStatus.js
 create mode 100644 www/tape/DriveConfig.js
 create mode 100644 www/tape/PoolConfig.js
 create mode 100644 www/tape/TapeManagement.js
 create mode 100644 www/tape/form/AllocationSelector.js
 create mode 100644 www/tape/form/ChangerSelector.js
 create mode 100644 www/tape/form/DriveSelector.js
 create mode 100644 www/tape/form/PoolSelector.js
 create mode 100644 www/tape/form/RetentionSelector.js
 create mode 100644 www/tape/form/TapeDevicePathSelector.js
 create mode 100644 www/tape/window/ChangerEdit.js
 create mode 100644 www/tape/window/DriveEdit.js
 create mode 100644 www/tape/window/LabelMedia.js
 create mode 100644 www/tape/window/PoolEdit.js
 create mode 100644 www/tape/window/TapeBackup.js

-- 
2.20.1





             reply	other threads:[~2021-01-28 11:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28 11:59 Dominik Csapak [this message]
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 01/15] api2/tape/changer: add changer filter to list_drives api call Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 02/15] api2/tape/drive: add load_media as " Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 03/15] api2/tape/drive: change methods of some api calls from put to get Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 04/15] api2/config/{drive, changer}: prevent adding same device multiple times Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 05/15] ui: tape: add form fields Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 06/15] ui: tape: add Edit Windows Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 07/15] ui: tape: add BackupOverview Panel Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 08/15] ui: tape: add ChangerStatus panel Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 09/15] ui: tape: add DriveConfig panel Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 10/15] ui: tape: add PoolConfig Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 11/15] ui: tape: move TapeManagement.js to tape dir Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 12/15] ui: tape: use panels in tape interface Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 13/15] tape/changer: add vendor/model to DriveStatus Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 14/15] tape/changer: refactor marking of import/export slots from config Dominik Csapak
2021-01-28 11:59 ` [pbs-devel] [PATCH proxmox-backup v2 15/15] tape: change changer-drive-id to changer-drivenum Dominik Csapak
2021-01-28 14:13 ` [pbs-devel] [PATCH proxmox-backup v2 00/15] implement first version of tape gui Dietmar Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210128115955.23136-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal