public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup v2 00/16] move rest server into extra crate
@ 2021-09-21  5:58 Dietmar Maurer
  2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 01/16] start new proxmox-rest-server workspace Dietmar Maurer
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Dietmar Maurer @ 2021-09-21  5:58 UTC (permalink / raw)
  To: pbs-devel

Changes in v2:

- renamed the crate from "pbs-server" into "proxmox-rest-server"
- depend on proxmox "0.13.3"
- worker_state: move tasktype() code to src/api2/node/tasks.rs
- dependency fixes for proxmox_restore_daemon crate (fabian)

Dietmar Maurer (16):
  start new proxmox-rest-server workspace
  move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server
    workspace
  move src/tools/daemon.rs to proxmox-rest-server workspace
  move src/server/environment.rs to proxmox-rest-server crate
  move src/server/formatter.rs to proxmox-rest-server crate
  move src/tools/compression.rs to proxmox-rest-server crate
  move normalize_uri_path and extract_cookie to proxmox-rest-server
    crate
  rest server: simplify get_index() method signature
  make get_index and ApiConfig property (callback)
  rest server: return UserInformation from ApiAuth::check_auth
  rest server: do not use pbs_api_types::Authid
  rest server: cleanup auth-log handling
  move src/server/rest.rs to proxmox-rest-server crate
  move proxmox_restore_daemon code into extra crate
  basically a (semantic) revert of commit
    991be99c37c6f55f43a3d9a2c54edb2a8dc6d4f2 "buildsys: workaround
    linkage issues from openid/curl build server stuff separate"
  worker_state: move tasktype() code to src/api2/node/tasks.rs

 Cargo.toml                                    |   5 +-
 Makefile                                      |  10 +-
 pbs-api-types/Cargo.toml                      |   2 +-
 pbs-client/Cargo.toml                         |   2 +-
 pbs-config/Cargo.toml                         |   2 +-
 pbs-datastore/Cargo.toml                      |   2 +-
 pbs-fuse-loop/Cargo.toml                      |   2 +-
 pbs-systemd/Cargo.toml                        |   2 +-
 pbs-tape/Cargo.toml                           |   2 +-
 pbs-tools/Cargo.toml                          |   2 +-
 proxmox-backup-client/Cargo.toml              |   2 +-
 proxmox-backup-debug/Cargo.toml               |   2 +-
 proxmox-file-restore/Cargo.toml               |   2 +-
 proxmox-rest-server/Cargo.toml                |  30 ++++
 .../src/api_config.rs                         |  76 +++++++--
 .../src}/command_socket.rs                    |  18 ++-
 .../src}/compression.rs                       |   0
 .../src}/daemon.rs                            |  14 +-
 proxmox-rest-server/src/environment.rs        |  94 +++++++++++
 .../src}/file_logger.rs                       |  46 +++---
 .../src}/formatter.rs                         |   0
 proxmox-rest-server/src/lib.rs                | 141 ++++++++++++++++
 .../src}/rest.rs                              | 147 +++++------------
 .../src}/state.rs                             |   4 +-
 proxmox-restore-daemon/Cargo.toml             |  36 +++++
 .../src/main.rs                               |  24 ++-
 .../src}/proxmox_restore_daemon/api.rs        |   0
 .../src}/proxmox_restore_daemon/auth.rs       |  20 ++-
 .../src}/proxmox_restore_daemon/disk.rs       |   0
 .../src}/proxmox_restore_daemon/mod.rs        |   0
 .../src}/proxmox_restore_daemon/watchdog.rs   |   0
 pxar-bin/Cargo.toml                           |   2 +-
 src/api2/access/mod.rs                        |  38 ++---
 src/api2/access/openid.rs                     | 134 ++++++++-------
 src/api2/admin/datastore.rs                   |   5 +-
 src/api2/backup/environment.rs                |   2 +-
 src/api2/node/mod.rs                          |   6 +-
 src/api2/node/tasks.rs                        |  11 +-
 src/api2/reader/environment.rs                |   2 +-
 src/backup/datastore.rs                       |   3 +-
 src/backup/verify.rs                          |   6 +-
 src/bin/proxmox-backup-api.rs                 |  56 ++++++-
 src/bin/proxmox-backup-proxy.rs               | 153 +++++++++++++++---
 src/server/auth.rs                            |  39 ++---
 src/server/environment.rs                     |  53 ------
 src/server/h2service.rs                       |   9 +-
 src/server/mod.rs                             |  21 +--
 src/server/worker_task.rs                     |  33 ++--
 src/tools/mod.rs                              |  98 -----------
 tests/worker-task-abort.rs                    |   9 +-
 50 files changed, 833 insertions(+), 534 deletions(-)
 create mode 100644 proxmox-rest-server/Cargo.toml
 rename src/server/config.rs => proxmox-rest-server/src/api_config.rs (68%)
 rename {src/server => proxmox-rest-server/src}/command_socket.rs (94%)
 rename {src/tools => proxmox-rest-server/src}/compression.rs (100%)
 rename {src/tools => proxmox-rest-server/src}/daemon.rs (97%)
 create mode 100644 proxmox-rest-server/src/environment.rs
 rename {src/tools => proxmox-rest-server/src}/file_logger.rs (81%)
 rename {src/server => proxmox-rest-server/src}/formatter.rs (100%)
 create mode 100644 proxmox-rest-server/src/lib.rs
 rename {src/server => proxmox-rest-server/src}/rest.rs (85%)
 rename {src/server => proxmox-rest-server/src}/state.rs (97%)
 create mode 100644 proxmox-restore-daemon/Cargo.toml
 rename src/bin/proxmox-restore-daemon.rs => proxmox-restore-daemon/src/main.rs (90%)
 rename {src/bin => proxmox-restore-daemon/src}/proxmox_restore_daemon/api.rs (100%)
 rename {src/bin => proxmox-restore-daemon/src}/proxmox_restore_daemon/auth.rs (63%)
 rename {src/bin => proxmox-restore-daemon/src}/proxmox_restore_daemon/disk.rs (100%)
 rename {src/bin => proxmox-restore-daemon/src}/proxmox_restore_daemon/mod.rs (100%)
 rename {src/bin => proxmox-restore-daemon/src}/proxmox_restore_daemon/watchdog.rs (100%)
 delete mode 100644 src/server/environment.rs

-- 
2.30.2





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-09-21  7:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21  5:58 [pbs-devel] [PATCH proxmox-backup v2 00/16] move rest server into extra crate Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 01/16] start new proxmox-rest-server workspace Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 02/16] move ApiConfig, FileLogger and CommandoSocket to " Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 03/16] move src/tools/daemon.rs " Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 04/16] move src/server/environment.rs to proxmox-rest-server crate Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 05/16] move src/server/formatter.rs " Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 06/16] move src/tools/compression.rs " Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 07/16] move normalize_uri_path and extract_cookie " Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 08/16] rest server: simplify get_index() method signature Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 09/16] make get_index and ApiConfig property (callback) Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 10/16] rest server: return UserInformation from ApiAuth::check_auth Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 11/16] rest server: do not use pbs_api_types::Authid Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 12/16] rest server: cleanup auth-log handling Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 13/16] move src/server/rest.rs to proxmox-rest-server crate Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 14/16] move proxmox_restore_daemon code into extra crate Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 15/16] basically a (semantic) revert of commit 991be99c37c6f55f43a3d9a2c54edb2a8dc6d4f2 "buildsys: workaround linkage issues from openid/curl build server stuff separate" Dietmar Maurer
2021-09-21  5:58 ` [pbs-devel] [PATCH proxmox-backup v2 16/16] worker_state: move tasktype() code to src/api2/node/tasks.rs Dietmar Maurer
2021-09-21  7:37 ` [pbs-devel] applied-series: [PATCH proxmox-backup v2 00/16] move rest server into extra crate Thomas Lamprecht

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