]> git.proxmox.com Git - proxmox.git/commitdiff
rest-server: add packaging and bump to 0.2.0
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Oct 2022 12:47:35 +0000 (14:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Oct 2022 13:09:50 +0000 (15:09 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Cargo.toml
Makefile
proxmox-rest-server/Cargo.toml
proxmox-rest-server/debian/changelog [new file with mode: 0644]
proxmox-rest-server/debian/control [new file with mode: 0644]
proxmox-rest-server/debian/copyright [new file with mode: 0644]
proxmox-rest-server/debian/debcargo.toml [new file with mode: 0644]

index f247ea8e6225eee2cdfb506be614afe50a8bcac3..3e4202dd4bbb7e7c07a29368bd136f04375f94aa 100644 (file)
@@ -8,6 +8,7 @@ members = [
     "proxmox-io",
     "proxmox-lang",
     "proxmox-metrics",
+    "proxmox-rest-server",
     "proxmox-router",
     "proxmox-schema",
     "proxmox-serde",
index 199694942c43e5aa75eeb741b3d1c48487b07114..9241015277b79cd5904f6b8aabc6b36cfbf7f4a8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ CRATES = \
         proxmox-io \
         proxmox-lang \
         proxmox-metrics \
+        proxmox-rest-server \
         proxmox-router \
         proxmox-schema \
         proxmox-serde \
index 3858aabeab05bd7ae25e88aa4d05f3b691eafe14..d4b3cc7b16ac2e4202215869d8cdb1f4a209a349 100644 (file)
@@ -1,12 +1,13 @@
 [package]
 name = "proxmox-rest-server"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Proxmox Support Team <support@proxmox.com>"]
 edition = "2018"
 license = "AGPL-3"
 description = "REST server implementation"
 
-# for example
+exclude = [ "debian" ]
+
 [dev-dependencies]
 proxmox-schema = { version = "1.3.1", features = [ "api-macro" ] }
 tokio = { version = "1.6", features = [ "rt-multi-thread", "signal", "process" ] }
diff --git a/proxmox-rest-server/debian/changelog b/proxmox-rest-server/debian/changelog
new file mode 100644 (file)
index 0000000..63afeaa
--- /dev/null
@@ -0,0 +1,5 @@
+rust-proxmox-rest-server (0.2.0-1) stable; urgency=medium
+
+  * initial split out of proxmox-backup workspace
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 11 Oct 2022 14:16:40 +0200
diff --git a/proxmox-rest-server/debian/control b/proxmox-rest-server/debian/control
new file mode 100644 (file)
index 0000000..67c0248
--- /dev/null
@@ -0,0 +1,104 @@
+Source: rust-proxmox-rest-server
+Section: rust
+Priority: optional
+Build-Depends: debhelper (>= 12),
+ dh-cargo (>= 25),
+ cargo:native <!nocheck>,
+ rustc:native <!nocheck>,
+ libstd-rust-dev <!nocheck>,
+ librust-anyhow-1+default-dev <!nocheck>,
+ librust-futures-0.3+default-dev <!nocheck>,
+ librust-handlebars-3+default-dev <!nocheck>,
+ librust-http-0.2+default-dev <!nocheck>,
+ librust-hyper-0.14+default-dev (>= 0.14.5-~~) <!nocheck>,
+ librust-hyper-0.14+full-dev (>= 0.14.5-~~) <!nocheck>,
+ librust-lazy-static-1+default-dev (>= 1.4-~~) <!nocheck>,
+ librust-libc-0.2+default-dev <!nocheck>,
+ librust-log-0.4+default-dev (>= 0.4.17-~~) <!nocheck>,
+ librust-nix-0.24+default-dev <!nocheck>,
+ librust-once-cell-1+default-dev (>= 1.3.1-~~) <!nocheck>,
+ librust-percent-encoding-2+default-dev (>= 2.1-~~) <!nocheck>,
+ librust-proxmox-async-0.4+default-dev <!nocheck>,
+ librust-proxmox-compression-0.1+default-dev (>= 0.1.1-~~) <!nocheck>,
+ librust-proxmox-http-0.7+client-dev <!nocheck>,
+ librust-proxmox-http-0.7+default-dev <!nocheck>,
+ librust-proxmox-io-1+default-dev <!nocheck>,
+ librust-proxmox-lang-1+default-dev (>= 1.1-~~) <!nocheck>,
+ librust-proxmox-router-1+default-dev (>= 1.3.0-~~) <!nocheck>,
+ librust-proxmox-schema-1+api-macro-dev (>= 1.3.1-~~) <!nocheck>,
+ librust-proxmox-schema-1+default-dev (>= 1.3.1-~~) <!nocheck>,
+ librust-proxmox-schema-1+upid-api-impl-dev (>= 1.3.1-~~) <!nocheck>,
+ librust-proxmox-sys-0.4+default-dev <!nocheck>,
+ librust-proxmox-sys-0.4+logrotate-dev <!nocheck>,
+ librust-proxmox-sys-0.4+timer-dev <!nocheck>,
+ librust-proxmox-time-1+default-dev <!nocheck>,
+ librust-regex-1+default-dev (>= 1.5-~~) <!nocheck>,
+ librust-serde-1+default-dev <!nocheck>,
+ librust-serde-1+derive-dev <!nocheck>,
+ librust-serde-json-1+default-dev <!nocheck>,
+ librust-tokio-1+default-dev (>= 1.6-~~) <!nocheck>,
+ librust-tokio-1+process-dev (>= 1.6-~~) <!nocheck>,
+ librust-tokio-1+signal-dev (>= 1.6-~~) <!nocheck>,
+ librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~) <!nocheck>,
+ librust-tokio-stream-0.1+default-dev <!nocheck>,
+ librust-tower-service-0.3+default-dev <!nocheck>,
+ librust-url-2+default-dev (>= 2.1-~~) <!nocheck>
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Standards-Version: 4.5.1
+Vcs-Git: git://git.proxmox.com/git/proxmox.git
+Vcs-Browser: https://git.proxmox.com/?p=proxmox.git
+Rules-Requires-Root: no
+
+Package: librust-proxmox-rest-server-dev
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ librust-anyhow-1+default-dev,
+ librust-futures-0.3+default-dev,
+ librust-handlebars-3+default-dev,
+ librust-http-0.2+default-dev,
+ librust-hyper-0.14+default-dev (>= 0.14.5-~~),
+ librust-hyper-0.14+full-dev (>= 0.14.5-~~),
+ librust-lazy-static-1+default-dev (>= 1.4-~~),
+ librust-libc-0.2+default-dev,
+ librust-log-0.4+default-dev (>= 0.4.17-~~),
+ librust-nix-0.24+default-dev,
+ librust-once-cell-1+default-dev (>= 1.3.1-~~),
+ librust-percent-encoding-2+default-dev (>= 2.1-~~),
+ librust-proxmox-async-0.4+default-dev,
+ librust-proxmox-compression-0.1+default-dev (>= 0.1.1-~~),
+ librust-proxmox-http-0.7+client-dev,
+ librust-proxmox-http-0.7+default-dev,
+ librust-proxmox-io-1+default-dev,
+ librust-proxmox-lang-1+default-dev (>= 1.1-~~),
+ librust-proxmox-router-1+default-dev (>= 1.3.0-~~),
+ librust-proxmox-schema-1+api-macro-dev (>= 1.3.1-~~),
+ librust-proxmox-schema-1+default-dev (>= 1.3.1-~~),
+ librust-proxmox-schema-1+upid-api-impl-dev (>= 1.3.1-~~),
+ librust-proxmox-sys-0.4+default-dev,
+ librust-proxmox-sys-0.4+logrotate-dev,
+ librust-proxmox-sys-0.4+timer-dev,
+ librust-proxmox-time-1+default-dev,
+ librust-regex-1+default-dev (>= 1.5-~~),
+ librust-serde-1+default-dev,
+ librust-serde-1+derive-dev,
+ librust-serde-json-1+default-dev,
+ librust-tokio-1+default-dev (>= 1.6-~~),
+ librust-tokio-1+process-dev (>= 1.6-~~),
+ librust-tokio-1+signal-dev (>= 1.6-~~),
+ librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~),
+ librust-tokio-stream-0.1+default-dev,
+ librust-tower-service-0.3+default-dev,
+ librust-url-2+default-dev (>= 2.1-~~)
+Provides:
+ librust-proxmox-rest-server+default-dev (= ${binary:Version}),
+ librust-proxmox-rest-server-0-dev (= ${binary:Version}),
+ librust-proxmox-rest-server-0+default-dev (= ${binary:Version}),
+ librust-proxmox-rest-server-0.2-dev (= ${binary:Version}),
+ librust-proxmox-rest-server-0.2+default-dev (= ${binary:Version}),
+ librust-proxmox-rest-server-0.2.0-dev (= ${binary:Version}),
+ librust-proxmox-rest-server-0.2.0+default-dev (= ${binary:Version})
+Description: REST server implementation - Rust source code
+ This package contains the source for the Rust proxmox-rest-server crate,
+ packaged by debcargo for use with cargo and dh-cargo.
diff --git a/proxmox-rest-server/debian/copyright b/proxmox-rest-server/debian/copyright
new file mode 100644 (file)
index 0000000..f2f8202
--- /dev/null
@@ -0,0 +1,16 @@
+Copyright (C) 2021-2022 Proxmox Server Solutions GmbH
+
+This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/proxmox-rest-server/debian/debcargo.toml b/proxmox-rest-server/debian/debcargo.toml
new file mode 100644 (file)
index 0000000..b7864cd
--- /dev/null
@@ -0,0 +1,7 @@
+overlay = "."
+crate_src_path = ".."
+maintainer = "Proxmox Support Team <support@proxmox.com>"
+
+[source]
+vcs_git = "git://git.proxmox.com/git/proxmox.git"
+vcs_browser = "https://git.proxmox.com/?p=proxmox.git"