~ludovicchabant

Recent activity

Re: [PATCH hg.sr.ht] Reduce scope of user_type 12 days ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

LGTM!

I assume once again this requires a deployment in sync with other patches, so I'll let you handle the merge/push, but feel free to ping me if I need to do anything.

Re: [PATCH hg.sr.ht V2] Preparations for PEP440 support 29 days ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

Yep, sounds good! Thanks.

Re: [PATCH hg.sr.ht V2] Preparations for PEP440 support 30 days ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

Looks good now! Thanks.

Should this be merged at a specific time, along with some other
change(s), or can I merge and release it any time?

Re: [PATCH hg.sr.ht v2] Drop oauth_revocation_token from schema 30 days ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

I suppose this is a change that goes out to all srht services, so LGTM!

Re: [PATCH hg.sr.ht] Preparations for PEP440 support a month ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

Hey there, thanks for this!

> +packages = [
> +    "hgsrht",
> +    "hgsrht.alembic",
> +    "hgsrht.alembic.versions",
> +    "hgsrht.blueprints",
> +    "hgsrht.hgext",
> +    "hgsrht.hgrcs",
> +    "hgsrht.static",
> +    "hgsrht.static.icons",
> +    "hgsrht.templates",
> +    "hgsrht.templates.macros",
> +    "hgsrht.templates.partials",

Re: [PATCH hg.sr.ht] Add GQL support for cat and files commands 2 months ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

Sounds good, thanks!

Merged as d2a438e87e7b, deployed as 0.34.0

Re: [PATCH hg.sr.ht V2] graphql: suggest using hut utility instead of curl in default query 2 months ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

Thanks!

Merged as 0787ee68488c, deployed as 0.34.0

Re: [PATCH hg.sr.ht] Add GQL support for cat and files commands 2 months ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

> "cat" looks good to me but less sure about "files". You create a
> cursor but don't really seem to use it -- what happens if I list the
> contents of a really big directory? It always returns all results
> unconditionally.

Yeah the goal was to add pagination of large directories later. I should
have added a TODO comment. I can try and implement it right away though
if you'd prefer not to have that flaw lying around.

Re: [hg.sr.ht] Cannot update mercurial repository information 2 months ago

From Ludovic Chabant to ~sircmpwn/sr.ht-discuss

The bug is fixed, sorry about the delays.

It turns out I [fixed this issue 3 months ago][1], but somehow the
deployments failed and I didn't notice. Drew redeployed the package and
this time it made it to the live server, yay!

[1]: https://hg.sr.ht/~sircmpwn/hg.sr.ht/rev/142169607dba61bffcf5f9d7ec58c13aba1beb9f

[PATCH hg.sr.ht] Add GQL support for cat and files commands 3 months ago

From Ludovic Chabant to ~sircmpwn/sr.ht-dev

# HG changeset patch
# User Ludovic Chabant <ludovic@chabant.com>
# Date 1725247859 0
#      Mon Sep 02 03:30:59 2024 +0000
# Node ID 301d899efd28c8b09a8066c8135492817cb05b27
# Parent  f9ed8ead7176e6dcf15fa91e49933b372c04da0d
Add GQL support for cat and files commands

diff --git a/api/graph/schema.graphqls b/api/graph/schema.graphqls
--- a/api/graph/schema.graphqls
+++ b/api/graph/schema.graphqls
@@ -163,6 +163,12 @@

  "Returns a list of tags"
[message trimmed]