Paris, France
From Robin Jarry to ~rjarry/dlrepo
Julien Floret <julien.floret@6wind.com> wrote: > Add the possibility to set a custom description on a tag with the > "dlrepo-cli set-description BRANCH TAG DESCRIPTION" command. > > The message is stored in an internal ".description" file inside > the tag directory. > > The description is displayed on top of the tag page on the web > interface. It can also be read on the CLI using the > "dlrepo-cli get-description BRANCH TAG" command. > > Signed-off-by: Julien Floret <julien.floret@6wind.com> > Acked-by: Thomas Faivre <thomas.faivre@6wind.com> > ---
From Robin Jarry to ~rjarry/dlrepo
Julien Floret <julien.floret@6wind.com> wrote: > It is impractical to rely on the periodic cleanup, because the > time of the cleanup depends on the time when the server started. > So if we want to setup let's say a daily cleanup at 8 AM, we have to > start the server at 8 AM beforehand. > > Allow disabling periodic cleanup altogether by setting the > DLREPO_TAG_CLEANUP_PERIOD to 0. > > As a reminder, the tag cleanup can also be triggered from an external > script by sending the USR1 signal to the server. This method allows > more control over the cleanup schedule. > > Signed-off-by: Julien Floret <julien.floret@6wind.com>
From Robin Jarry to ~rjarry/dlrepo
Thomas Faivre <thomas.faivre@6wind.com> wrote: > Fix compilation issue when using gcc-14 (i.e. debian/testing used in the > CI): > > > × Building wheel for multidict (pyproject.toml) did not run successfully. > > │ exit code: 1 > > [...] > > note: This error originates from a subprocess, and is likely not a problem with pip. > > ERROR: Failed building wheel for multidict > > [...] > > Failed to build multidict > > ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (multidict) > > make: Leaving directory '/home/build/dlrepo' > > make: *** [Makefile:18: .venv/.stamp] Error 1
From Robin Jarry to ~rjarry/aerc-devel
Robin Jarry, Oct 05, 2024 at 01:04: > Add `desc:""` struct field tags in all command arguments where it makes > sense. > > The description values will be returned along with completion choices. > > Implements: https://todo.sr.ht/~rjarry/aerc/271 > Signed-off-by: Robin Jarry <robin@jarry.cc> > Tested-by: Bojan Gabric <bojan@bojangabric.com> > Tested-by: Jason Cox <me@jasoncarloscox.com> > --- Sorry folks, I forgot to add a changelog...
From Robin Jarry to ~rjarry/aerc-devel
Add `desc:""` struct field tags in all command arguments where it makes sense. The description values will be returned along with completion choices. Implements: https://todo.sr.ht/~rjarry/aerc/271 Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bojan Gabric <bojan@bojangabric.com> Tested-by: Jason Cox <me@jasoncarloscox.com> --- commands/account/align.go | 2 +- commands/account/cf.go | 31 ++++++++++--------------------- commands/account/clear.go | 2 +- commands/account/compose.go | 8 ++++---- [message trimmed]
From Robin Jarry to ~rjarry/aerc-devel
Update the Command interface to include a Description() method. Implement the method for all commands using short descriptions inspired from the aerc(1) man page. Return the description values along with command names so that they can be displayed in completion choices. Implements: https://todo.sr.ht/~rjarry/aerc/271 Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bojan Gabric <bojan@bojangabric.com> Tested-by: Jason Cox <me@jasoncarloscox.com> --- commands/account/align.go | 4 ++++ commands/account/cf.go | 4 ++++ [message trimmed]
From Robin Jarry to ~rjarry/aerc-devel
Use go-opt v2 new completion API which returns items descriptions along
with their text values.
Display the descriptions after the items separated by two spaces. Wrap
the descriptions in parentheses to better indicate that they are not
part of the completion choices. Limit the description length to 80
characters to avoid display issues.
Add a new style object completion_description in stylesets. By default,
the object will be rendered with a dimmed terminal attribute. Update all
stylesets and documentation accordingly.
Implements: https://todo.sr.ht/~rjarry/aerc/271
Link: https://git.sr.ht/~rjarry/go-opt/commit/ebeb82538395a
[message trimmed]
From Robin Jarry to ~rjarry/aerc-devel
The correct syntax to apply gcflags to all files is "all" not "*". Signed-off-by: Robin Jarry <robin@jarry.cc> --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 7b79adeb052e..3d3349bc6700 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -75,7 +75,7 @@ debug: aerc.debug @echo ' dlv attach $$(pidof aerc.debug)' [message trimmed]
From Robin Jarry to ~rjarry/aerc-devel
Add `desc:""` struct field tags in all command arguments where it makes sense. The description values will be returned along with completion choices. Implements: https://todo.sr.ht/~rjarry/aerc/271 Signed-off-by: Robin Jarry <robin@jarry.cc> --- commands/account/align.go | 2 +- commands/account/cf.go | 2 +- commands/account/clear.go | 2 +- commands/account/compose.go | 8 ++++---- commands/account/query.go | 6 +++--- commands/account/recover.go | 6 +++--- [message trimmed]
From Robin Jarry to ~rjarry/aerc-devel
Update the Command interface to include a Description() method. Implement the method for all commands using short descriptions inspired from the aerc(1) man page. Return the description values along with command names so that they can be displayed in completion choices. Implements: https://todo.sr.ht/~rjarry/aerc/271 Signed-off-by: Robin Jarry <robin@jarry.cc> --- commands/account/align.go | 4 ++++ commands/account/cf.go | 4 ++++ commands/account/check-mail.go | 4 ++++ commands/account/clear.go | 4 ++++ [message trimmed]