Skip to content

Commit 7a43032

Browse files
committed
Add xapi-rate-limit to the packages
Signed-off-by: Christian Pardillo Laursen <christian.pardillolaursen@citrix.com>
1 parent a017942 commit 7a43032

5 files changed

Lines changed: 44 additions & 9 deletions

File tree

packages/xapi-debug/xapi-debug.master/opam

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ depends: [
5555
"x509"
5656
"xapi-log"
5757
"xapi-types"
58+
"xapi-rate-limit"
5859
"xapi-stdext-pervasives"
5960
"xapi-stdext-unix"
6061
"xapi-stdext-zerocheck"
@@ -83,6 +84,3 @@ build: [
8384
]
8485
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
8586
x-maintenance-intent: ["(latest)"]
86-
url {
87-
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
88-
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This file is generated by dune, edit dune-project instead
2+
opam-version: "2.0"
3+
synopsis: "A simple token bucket-based rate limter for XAPI"
4+
maintainer: ["Xapi project maintainers"]
5+
authors: ["xen-api@lists.xen.org"]
6+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
7+
homepage: "https://xapi-project.github.io/"
8+
bug-reports: "https://github.com/xapi-project/xen-api/issues"
9+
depends: [
10+
"dune" {>= "3.20"}
11+
"ocaml" {>= "4.12"}
12+
"clock" {= version}
13+
"mtime"
14+
"xapi-log" {= version}
15+
"xapi-stdext-threads" {= version}
16+
"alcotest" {with-test}
17+
"fmt" {with-test}
18+
"qcheck-core" {with-test}
19+
"qcheck-alcotest" {with-test}
20+
"odoc" {with-doc}
21+
]
22+
build: [
23+
["dune" "subst"] {dev}
24+
[
25+
"dune"
26+
"build"
27+
"-p"
28+
name
29+
"-j"
30+
jobs
31+
"@install"
32+
"@runtest" {with-test}
33+
"@doc" {with-doc}
34+
]
35+
]
36+
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
37+
x-maintenance-intent: ["(latest)"]
38+
url {
39+
src: "https://github.com/cplaursen/xen-api/archive/master.tar.gz"
40+
}

packages/xapi-storage-cli/xapi-storage-cli.master/opam

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ depends: [
1616
"ppx_deriving_rpc"
1717
"xapi-client" {= version}
1818
"xapi-idl" {= version}
19+
"xapi-rate-limit" {= version}
1920
"xapi-types" {= version}
2021
"xapi-stdext-zerocheck" {= version}
2122
"xapi-work-queues" {= version}
@@ -37,6 +38,3 @@ build: [
3738
]
3839
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
3940
x-maintenance-intent: ["(latest)"]
40-
url {
41-
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
42-
}

packages/xapi/xapi.master/opam

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ depends: [
7878
"xapi-idl" {= version}
7979
"xapi-inventory" {= version}
8080
"xapi-log" {= version}
81+
"xapi-rate-limit" {= version}
8182
"xapi-stdext-pervasives" {= version}
8283
"xapi-stdext-std" {= version}
8384
"xapi-stdext-threads" {= version}
@@ -120,6 +121,3 @@ depexts: [
120121
["hwdata" "xxhash-devel" "xxhash-libs"] {os-distribution = "fedora"}
121122
["hwdata" "xxhash-dev" "xxhash"] {os-distribution = "alpine"}
122123
]
123-
url {
124-
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
125-
}

tools/sync-xapi-metadata.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ xapi-log $XAPI/xen-api
4545
xapi-nbd $XAPI/xen-api
4646
xapi-open-uri $XAPI/xen-api
4747
xapi-plugin $XAPI/ocaml-xapi-plugin
48+
xapi-rate-limit $XAPI/xen-api
4849
xapi-sdk $XAPI/xen-api
4950
xapi-schema $XAPI/xen-api
5051
xapi-stdext-encodings $XAPI/xen-api

0 commit comments

Comments
 (0)