~azmeuk

Bordeaux, France

https://yaal.coop

Recent activity

Re: [meta.sr.ht] JSONDecodeError 28 days ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

> Any logs from the api service? I think they should be in
> /var/log/meta.sr.ht-api.log

meta.sr.ht-api.log seems ok, but there seems to be issues with celery

meta.sr.ht-api.log

   2021/05/25 10:37:31 Running on :5100
   2021/05/25 10:37:31 Prometheus listening on :35551
   2021/05/25 10:37:33 "GET http://localhost:5100/query/api-meta.json
   HTTP/1.1" from 127.0.0.1:51856 - 200 66B in 854.554µs
   2021/05/25 10:37:37 "GET http://localhost:5100/query/api-meta.json
   HTTP/1.1" from 127.0.0.1:51892 - 200 66B in 58.445µs
   2021/05/25 10:37:42 "GET http://localhost:5100/query/api-meta.json

[meta.sr.ht] JSONDecodeError 28 days ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

Hi. I installed the meta.sr.ht-0.53.30-r0 package on Alpine 3.13 but
the service does not start.

Here is (the interesting parts of) my configuration:

   [sr.ht]
   site-name = Foobar
   site-info = https://forge.foo.bar
   site-blurb = Forge Foobar
   environment = production
   owner-name = Team Foobar
   owner-email = admin@yaal.fr
   privacy-policy =
   service-key = xxxxxyyyyyyy

PermissionError with the lmtp daemon on Alpine 9 months ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

Hi.

I installed the sourcehut alpine package (version 0.45.11-r0) and I am 
trying to make it work with OpenSMTPD. Here is my sr.ht configuration:

     [lists.sr.ht::worker]
     protocol = lmtp
     sock = /tmp/lists.forge.mydomain.tld-lmtp.sock
     sock-group = smtpd

After a few seconds, the daemon crashes, and in 
/var/log/lists.sr.ht-lmtp.log I can read:

     Starting incoming mail daemon

Re: [PATCH git.sr.ht] Parse git user from dispatch string 1 year, 4 months ago

From Éloi Rivard to ~sircmpwn/sr.ht-dev

Thank you for this patch.

This seems to only work if gitsrht-keys is installed at "/usr/bin/gitsrht-keys"
however. How con locations like "/usr/local/bin/gitsrht-keys" be handled?

Just adding a "/usr/bin/gitsrht-keys=myuser:myuser" in the config file will do
the trick to display the right user in the web interface, but this will make
gitsrht-dispatch to fail:

	2020/02/04 14:10:57 Error exec'ing into /usr/bin/gitsrht-keys: no such
file or directory

Re: lists configuration with OpenSMTPD 1 year, 4 months ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

Sure.

Re: lists configuration with OpenSMTPD 1 year, 4 months ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

For the record, with help from the OpenSMTPD mailing list, I could write this
configuration:

   pki ...

   listen on $interface tls pki lists.forge.mydomain.tld

   action sourcehut lmtp "/tmp/lists.forge.mydomain.tld-lmtp.sock" rcpt-to \
       virtual { "@" = listssrht } # listssrht is the user owning the socket
    
   match from any for domain "lists.forge.mydomain.tld" action "sourcehut"

Everything works fine, except the tilde character, that I have mentionned to the
OpenSMTPD developpers.

Re: lists configuration with OpenSMTPD 1 year, 5 months ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

Thanks for the tip, maybe it worth mentioning it in the lists manpage?

Anyway, I still get the same error with 
u.user.foobar@lists.forge.mydomain.tld, and listssrht-lmtp is still 
silent.

lists configuration with OpenSMTPD 1 year, 5 months ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

Hi,

I know this is not directly a sourcehut topic, so if you think this conversation
is irrelevant for this mailing list, I appologize.

I would like to use a OpenSMTPD in front of srhtlists, and I struggle with the
configuration. I use OpenSMTPD 6.6.1 on FreeBSD 12, and here is my configuration
(without the pki and filter parts):

   pki ...
    
   interface = "epair0b"
   listen on $interface tls pki lists.forge.yaal.fr

Re: [PATCH hg.sr.ht] Allow to define hg-ssh path in config.ini 2 years ago

From Éloi Rivard to ~sircmpwn/sr.ht-dev

So, in FreeBSD hg-ssh is located at /usr/local/share/mercurial/contrib/hg-ssh
and it is not in $PATH. This patch allow to set any path in config.ini

Re: Git repositories permissions 2 years ago

From Éloi Rivard to ~sircmpwn/sr.ht-discuss

I just found in the archlinux packages files that every sr.ht service runs with
its own system user. I will have a look at this.

Le lundi 27 mai 2019 à 02:48 -0700, Ludovic Chabant a écrit :
> > Setting 'git' as the directory owner fixes the issue, and then I can push a
> > commit. However I am not sure how I could have avoided it in a first place. Did
> > I miss some configuration somewhere? How can I make sure that 'git' is always
> > the repository directories owner?
> 
> Are you maybe running the git.sr.ht service via the root user instead of the git user?