Commit Graph
17 Commits
Author SHA1 Message Date
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