~azmeuk

Bordeaux, France

https://yaal.coop


#144 LDAP directory as authentication backend a month ago

Comment by ~azmeuk on ~sircmpwn/meta.sr.ht

For the record:

<azmeuk> I can see there has been ldap support in metasrht one year ago, but it seems to have been rolled back.
<ddevault> yes, the license for the library which was used is not suitable for sourcehut's use
<azmeuk> You mean python-ldap?
<ddevault> probably?
<ddevault> I don't remember which one it was off the top of my head
<azmeuk> They moved to MIT in july
<azmeuk> https://github.com/python-ldap/python-ldap/pull/417
<ddevault> only for future contributions
<ddevault> any code which was written by anyone who didn't explicitly agree to the change, prior to the change, remains under the incompatible license
<azmeuk> I see.

#203 Multiple configuration files 2 years ago

Comment by ~azmeuk on ~sircmpwn/sr.ht

Do you mean technical complexity, or architecture / configuration complexity?

#203 Multiple configuration files 2 years ago

Ticket created by ~azmeuk on ~sircmpwn/sr.ht

Currently sourcehut only reads configuration from config.ini in the current directory, or /etc/sr.ht/config.ini.

It would be great to have a .d directory behavior. For instance load every *.ini files in the current directory and /etc/sr.ht. I think the general behavior in this case is to load alphabetically all the configuration files, and when two configuration files have the same keys, the last one overwrites the first one.

I think it would then be easier for packagers to populate /etc/sr.ht with sample configuration files.

What do you think?