[Mailman-Developers] Re: API best practices - REST or core?

2019-03-13 Thread Mark Sapiro
On 3/13/19 10:09 AM, Saswat Mishra wrote: > Hello > > Yes. I saw this at https://postorius.readthedocs.io/en/latest/setup.html > and I am attaching the screenshot below. The URL and possibly a line # reference or copy/paste is sufficient. You don't need a screenshot. That just causes your

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-13 Thread Saswat Mishra
Ok, thanks for the clarification. Thanking You. Saswat Mishra Sophomore B.Tech. I.I.T. Delhi On Wed 13 Mar, 2019, 10:55 PM Abhilash Raj, wrote: > On Wed, Mar 13, 2019, at 10:23 AM, Saswat Mishra wrote: > > Ok, thanks a lot : ) > > But why don't we need to uninstall Postorius or HyperKitty to

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-13 Thread Abhilash Raj
On Wed, Mar 13, 2019, at 10:23 AM, Saswat Mishra wrote: > Ok, thanks a lot : ) > > But why don't we need to uninstall Postorius or HyperKitty to git update them > ? Because you are already working on git-head of Postorius when you are developing Postorius. Postorius doesn't depend on

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-13 Thread Saswat Mishra
Ok, thanks a lot : ) But why don't we need to uninstall Postorius or HyperKitty to git update them ? Thanking You. Saswat Mishra Sophomore B.Tech. I.I.T. Delhi On Wed 13 Mar, 2019, 10:43 PM Abhilash Raj, wrote: > On Wed, Mar 13, 2019, at 10:09 AM, Saswat Mishra wrote: > > Hello > > Yes. I

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-13 Thread Abhilash Raj
On Wed, Mar 13, 2019, at 10:09 AM, Saswat Mishra wrote: > Hello > > Yes. I saw this at https://postorius.readthedocs.io/en/latest/setup.html and > I am attaching the screenshot below. If you read the whole thing, it asks you to install a development version, i.e. latest version of

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-13 Thread Abhilash Raj
On Tue, Mar 12, 2019, at 9:55 PM, Saswat Mishra wrote: > Hello all , > > I have a doubt regarding the mailman client. > Why do we need to uninstall the mailman client while going for development > mode ? You don,t, where did you see something like that? Abhilash > Thanking You. > > Saswat

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Saswat Mishra
Hello all , I have a doubt regarding the mailman client. Why do we need to uninstall the mailman client while going for development mode ? Thanking You. Saswat Mishra Sophomore B.Tech. I.I.T. Delhi On Wed 13 Mar, 2019, 4:25 AM Abhilash Raj, wrote: > On Tue, Mar 12, 2019, at 3:46 PM, Abhilash

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Abhilash Raj
On Tue, Mar 12, 2019, at 3:46 PM, Abhilash Raj wrote: > On Tue, Mar 12, 2019, at 3:08 PM, Derek Lambert wrote: > > What package is the Python API client in? Is this what's documented at > > https://mailman.readthedocs.io/en/latest/src/mailman/model/docs/model.html? > > > > This is what I was

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Abhilash Raj
On Tue, Mar 12, 2019, at 3:08 PM, Derek Lambert wrote: > What package is the Python API client in? Is this what's documented at > https://mailman.readthedocs.io/en/latest/src/mailman/model/docs/model.html? > > This is what I was referring to by core. That project is what we call Mailman Core as

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Derek Lambert
What package is the Python API client in? Is this what's documented at https://mailman.readthedocs.io/en/latest/src/mailman/model/docs/model.html? This is what I was referring to by core. Thanks, Derek On 3/12/19, 4:48 PM, "Abhilash Raj" wrote: On Tue, Mar 12, 2019, at 2:01 PM, Derek

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Abhilash Raj
On Tue, Mar 12, 2019, at 2:01 PM, Derek Lambert wrote: > I was referring to importing and using the core interfaces and models > directly. > > Based on your response I'm hearing that's probably not the best idea? Besides not being the best idea, there is no need to. We have a Python API Client

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Mark Sapiro
On 3/12/19 2:01 PM, Derek Lambert wrote: > I was referring to importing and using the core interfaces and models > directly. > > Based on your response I'm hearing that's probably not the best idea? Right. That was the Mailman 2.1 way, but the whole idea behind the REST API is that it provides

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Derek Lambert
I was referring to importing and using the core interfaces and models directly. Based on your response I'm hearing that's probably not the best idea? Thank, Derek On 3/12/19, 12:34 PM, "Abhilash Raj" wrote: On Tue, Mar 12, 2019, at 9:19 AM, Derek Lambert wrote: > I’m writing some

[Mailman-Developers] Re: API best practices - REST or core?

2019-03-12 Thread Abhilash Raj
On Tue, Mar 12, 2019, at 9:19 AM, Derek Lambert wrote: > I’m writing some code to update maillist owners based on data from > another system. > > Are there any specific recommendations around using either the REST API > or core over the other? Either should work for my case. Core is the server