~poldi1405

Germany

https://moritz.sh

~poldi1405/public-inbox

Last active 8 days ago

~poldi1405/updates

Last active 3 months ago

~poldi1405/github-action-test

Last active 9 months ago

~poldi1405/comments

Last active 9 months ago

~poldi1405/blackfriday-devel

Last active 9 months ago

~poldi1405/devel-general

Last active 10 months ago

~poldi1405/discussion

Last active 1 year, 3 months ago

~poldi1405/goosenet-devel

Last active 1 year, 3 months ago

~poldi1405/goosenet-announce

Last active 1 year, 3 months ago

~poldi1405/yeet-announce

Last active 1 year, 7 months ago
View more

Recent activity

Re: [PATCH aerc] search: implement inverted search 10 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Mon Mar 20, 2023 at 3:47 PM CET, Tim Culverhouse wrote:
> On Sun Mar 19, 2023 at 4:53 PM CDT, Moritz Poldrack wrote:
> > I think it should be consistent… preferrably only the capital letters or
> > is there a deeper reasoning? For "normal" search terms the known -v from
> > grep might be a better choice.
>
> No deeper reasoning. I was trying to stay consistent with what we
> already have (-x / -X) and for how I would end up using it ("!").
>
> I actually am not a huge fan of our search syntax...the flags are not
> intuitive to me, and I'd rather have something like notmuch syntax, but
> with POSIX operators instead of words ('date:today.. && from:rjarry' vs 
> 'date:today.. and from:rjarry')
>

Re: [PATCH aerc] search: implement inverted search 11 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Sun Mar 19, 2023 at 10:46 PM CET, Tim Culverhouse wrote:
> Implement inverted search via flags or '!' prefixes. Complex searches
> can chained, however their exact functionality on IMAP servers is not
     ^
     ` be?

> always the same. In general, capital letter flags will invert, and
> generic terms for subject, -b, or -a can be inverted with a "!" prefix.

I think it should be consistent… preferrably only the capital letters or
is there a deeper reasoning? For "normal" search terms the known -v from
grep might be a better choice.

>

Re: [PATCH aerc v6 1/3] config: replace triggers with hooks 12 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Fri Mar 17, 2023 at 8:35 PM CET, Robin Jarry wrote:
> Moritz Poldrack, Mar 17, 2023 at 06:50:
> > >     - Command execution is now synchronous and returns an error if the hook
> > >       shell command fails. Child processes are always reaped (no zombies).
> > Not sure which part could cause zombies, but I would make it at least
> > optional with things like `aerc-startup` as it's running in the main
> > thread.
>
> I changed the way the hooks are called so that they are called in
> async goroutines. However, your first version did only fork() child
> processes without ever calling waitpid() on them. This indeed leads PIDs
> and if aerc crashes will leave zombie processes. I only changed the
> implementation so that all forked processes are waited.

Re: [PATCH aerc v6 1/3] config: replace triggers with hooks 13 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Fri Mar 17, 2023 at 1:13 AM CET, Robin Jarry wrote:
> From: Moritz Poldrack <git@moritz.sh>
>
> Deprecate triggers and replace them with hooks. Now that aerc supports
> running arbitrary ex commands over IPC, it is possible to run internal
> aerc commands *and* shell commands via external shell scripts. Hooks
> only allow running shell commands. Hooks info is passed via environment
> variables.
>
> Implements: https://todo.sr.ht/~rjarry/aerc/136
> Signed-off-by: Moritz Poldrack <git@moritz.sh>
> Signed-off-by: Robin Jarry <robin@jarry.cc>
> ---
>

Re: Please add a button to re-try payments 13 days ago

From Moritz Poldrack to ~sircmpwn/sr.ht-discuss

This was recently discussed on IRC:

<mjw> ddevault, sr.ht sent me email saying "Your card was declined." is 
there any more information available?
<ddevault> yes
<ddevault> our billing system has issues right now
<ddevault> it's probably not your fault
<ddevault> it will retry daily and should go through within a few days

But I think being able to top up early would be nice too.

-- 
Moritz Poldrack
https://moritz.sh

Re: [PATCH aerc] doc: merge duplicate `:filter` in aerc(1) 14 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
-- 
Moritz Poldrack
https://moritz.sh

Re: [PATCH aerc] ci: fix lint if notmuch is notinstalled 14 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Wed Mar 15, 2023 at 11:37 PM CET, Robin Jarry wrote:
> Moritz Poldrack, Mar 15, 2023 at 22:52:
> > From: Moritz Poldrack <git@moritz.sh>
> >
> > The linter goes completely crazy when building with notmuch while
> > notmuch is not installed. With an otherwise successful lint, the
> > following output is generated:
> >
> > worker/notmuch/lib/database.go:14:10: could not import github.com/zenhack/go.notmuch (-: # github.com/zenhack/go.notmuch
> > ../../go/pkg/mod/github.com/brunnre8/go.notmuch@v0.0.0-20201126061756-caa2daf7093c/configList.go:9:11: fatal error: notmuch.h: No such file or directory
> >     9 | // #include <notmuch.h>
> >       |           ^~~~~~~~~~~
> > compilation terminated.) (typecheck)
> > 	notmuch "github.com/zenhack/go.notmuch"

[PATCH aerc] ci: fix lint if notmuch is notinstalled 15 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

From: Moritz Poldrack <git@moritz.sh>

The linter goes completely crazy when building with notmuch while
notmuch is not installed. With an otherwise successful lint, the
following output is generated:

worker/notmuch/lib/database.go:14:10: could not import github.com/zenhack/go.notmuch (-: # github.com/zenhack/go.notmuch
../../go/pkg/mod/github.com/brunnre8/go.notmuch@v0.0.0-20201126061756-caa2daf7093c/configList.go:9:11: fatal error: notmuch.h: No such file or directory
    9 | // #include <notmuch.h>
      |           ^~~~~~~~~~~
compilation terminated.) (typecheck)
	notmuch "github.com/zenhack/go.notmuch"
	       ^
commands/eml.go:4:2: "bytes" imported and not used (typecheck)
[message trimmed]

[PATCH aerc v5 3/3] hooks: add aerc-shutdown hook 15 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

From: Moritz Poldrack <git@moritz.sh>

Add a hook to run when aerc shuts down. The environment is supplemented
with the duration aerc was alive for.

The command has to exit quickly as child processes are killed when their
parents (in this case aerc) terminates. Prolonging the duration the
hook has to run, or waiting for it to complete has not been implemented
to keep the terminal responsive.

References: https://todo.sr.ht/~rjarry/aerc/136
Signed-off-by: Moritz Poldrack <git@moritz.sh>
---
 CHANGELOG.md               |  2 +-
[message trimmed]

[PATCH aerc v5 2/3] hooks: add aerc-startup hook 15 days ago

From Moritz Poldrack to ~rjarry/aerc-devel

From: Moritz Poldrack <git@moritz.sh>

Add a hook to run when aerc starts up. The environment is supplemented
with aerc's version and the path to it's binary.

References: https://todo.sr.ht/~rjarry/aerc/136
References: https://todo.sr.ht/~rjarry/aerc/139
Signed-off-by: Moritz Poldrack <git@moritz.sh>
---
 CHANGELOG.md              |  2 +-
 aerc.go                   |  5 +++++
 config/aerc.conf          |  4 ++++
 config/hooks.go           |  2 ++
 doc/aerc-config.5.scd     | 11 +++++++++++
[message trimmed]