Re: [Mailman-Developers] How to set up mailman 3

2017-03-29 Thread Stephen J. Turnbull
Barry Warsaw writes:
 > On Mar 29, 2017, at 02:07 PM, Stephen J. Turnbull wrote:
 > 
 > >Would it be possible to automate this?  I haven't thought carefully
 > >about it, specifically security issues.  However, there could (in
 > >theory) be an automated export of "all parameters" in "expert mode" or
 > >"site/list initialization mode".
 > 
 > It's probably near impossible to automate, because the Core's REST
 > API isn't programmatically discoverable.

Right (I did know that).  I was thinking "decorator".

 > As a counter-example, Launchpqad's REST API provides a WADL[1] description
 > extracted from the code, but this makes it way too heavyweight for my tastes.

You have good taste, I'll grant that. ;-)

 > And because the Core uses a dynamic object-based traversal system
 > (inherited from restish and ported to falcon) it would make any
 > kind of static REST API description pretty difficult to generate.

OK.

Would you recommend against even exploring for a lightweight approach
for some reason?  Ie, the idea is bad according to some principle?



___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] Mailman 3 deployment / packages available

2017-03-29 Thread Fabian A. Santiago
Here to ask again,

I haven't really been following the progress on mm3; is there such a thing yet 
as a yum repo with packages to deploy mailman 3 on a readily configurable, 
stable, production ready system? 

Deploying old mailman is pretty easy by comparison, in my mind, but I'm no pro 
either; just a hobbyist. 

-- 
Thanks.
Fabian S.
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] How to set up mailman 3

2017-03-29 Thread Barry Warsaw
On Mar 29, 2017, at 02:07 PM, Stephen J. Turnbull wrote:

>Would it be possible to automate this?  I haven't thought carefully
>about it, specifically security issues.  However, there could (in
>theory) be an automated export of "all parameters" in "expert mode" or
>"site/list initialization mode".

It's probably near impossible to automate, because the Core's REST API isn't
programmatically discoverable.

As a counter-example, Launchpad's REST API provides a WADL[1] description
extracted from the code, but this makes it way too heavyweight for my tastes.
And because the Core uses a dynamic object-based traversal system (inherited
from restish and ported to falcon) it would make any kind of static REST API
description pretty difficult to generate.

Cheers,
-Barry

[1] https://en.wikipedia.org/wiki/Web_Application_Description_Language
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9