Sebastian Martinez
c4aa4f04f2
http: Update crate to 0.14.0 and api version to 3.0.0
2024-07-12 10:44:32 +02:00
Sebastian Martinez
3d652d54d2
Check arch for podman build
...
Usually going with Darwin -> aarch64 and the rest fallback to amd64
isn't a bad choice, but I think we can do better by checking `arch` so a
device like a Raspberry which has an ARM CPU is able to run the build
script.
2024-07-10 10:42:51 +02:00
Sebastian Martinez
7347d031e7
http: Rename IssueState and PatchState to IssueStatus and PatchState
2024-07-04 15:21:10 +02:00
Sebastian Martinez
49a299f9e3
http: Rename state query param to status
...
This allows us to match the query param with the output that is
`{ "status": "open" | "merged" | ... }`
2024-07-04 15:18:38 +02:00
Sebastian Martinez
25a16869d7
http: Add All as state query option for cobs
2024-07-04 15:18:38 +02:00
Sebastian Martinez
76fb2e2dc6
http: Add missing issue and patch endpoint tests
2024-07-04 15:17:52 +02:00
Sebastian Martinez
6fd6375005
http: Add ssh keys and full did to nodes handler
2024-07-04 15:12:20 +02:00
Sebastian Martinez
41b1bcafd5
Update API version to 2.0.0
2024-07-04 11:48:41 +02:00
Sebastian Martinez
ec671872fe
http: Update crate to v0.13.0
2024-07-04 11:48:41 +02:00
Sebastian Martinez
ea6a7fb028
http: Remove session and all read-write endpoints
...
Updates API version to 2.0.0 and crate to 0.13.0
2024-07-03 14:04:07 +02:00
Richard Levitte
02057b5b08
http: accept .org as repository README extension
2024-07-01 11:52:33 +02:00
Sebastian Martinez
eb767f5e2f
http: release radicle-httpd v0.12.1
2024-06-28 22:08:22 +02:00
Sebastian Martinez
ce842b0ca4
Update api version to 1.2.0
...
In the node endpoint the version field has been renamed to agent
2024-06-28 21:43:32 +02:00
Sebastian Martinez
fe5ec4432a
http: Change /api/v1/node version to node user agent
...
We used the `RADICLE_VERSION` env variable to display the node version,
which as of recently matched always the `radicle-httpd` version.
Since the separation this isn't the case anymore, and the user agent
seems a more reliable metric.
2024-06-28 21:43:32 +02:00
Sebastian Martinez
37a88bbb83
http: Add node endpoint tests
2024-06-28 13:59:35 +02:00
Sebastian Martinez
b39389c1a1
http: Add repo policy endpoint
2024-06-28 13:59:35 +02:00
Sebastian Martinez
13cd3aa1b2
http: release radicle-httpd v0.12.0
2024-06-27 11:54:24 +02:00
Sebastian Martinez
7fc2edd10f
http: Update radicle crate dependency to 0.11.1
2024-06-27 11:54:24 +02:00
Sebastian Martinez
a55bef7e88
http: Remove of radicle-cli dependency
2024-06-27 11:54:24 +02:00
Sebastian Martinez
0b5a45207e
http: Removal of rad-web
...
rad-web requires the radicle-cli dependency which we shouldn't require
in radicle-httpd.
2024-06-27 11:54:24 +02:00
Sebastian Martinez
473f893b2b
http: release radicle-httpd v0.11.0
2024-06-21 14:19:43 +02:00
Sebastian Martinez
abcf8f34a1
http: Add version and help flag
2024-06-21 12:10:44 +02:00
Sebastian Martinez
b68ea537b6
http: Update env vars for build process
...
Use the standard `SOURCE_DATE_EPOCH` instead of `GIT_COMMIT_TIME`.
Set `GIT_HEAD` properly.
2024-06-20 20:52:24 +02:00
Yorgos Saslis
730f7ae1fc
build: switch to build args over env vars in dockerfile
...
`--env` is a podman-specific feature. While it is clear that podman is a requirement here, switching these to build arguments better expresses intent.
These values are meant to be configurable at build time, which is exactly what build arguments are for, while environment variables are meant to persist in the image built.
Additionally, this removes unused env vars.
Signed-off-by: Yorgos Saslis <yorgos.work@proton.me >
2024-06-20 20:20:21 +02:00
Rūdolfs Ošiņš
2f1a5dcdfe
Rename http-server -> radicle-httpd
...
So that the directory name matches the crate name.
2024-06-20 11:44:44 +02:00