Re: Cornice 0.6 released

2012-03-16 Thread Tarek Ziadé
On Sunday, March 11, 2012 10:38:11 AM UTC+1, Heltem wrote: I am really interested in cornice. Any news about it and next release ? Roadmap ? We should cut a release soon-ish. We don't have any formal roadmap, you can have a look at

Re: Cornice 0.6 released

2012-03-12 Thread Heltem
I am really interested in cornice. Any news about it and next release ? Roadmap ? Le mercredi 21 décembre 2011 11:24:51 UTC+1, Tarek Ziadé a écrit : Hey, I guess this is the proper place for this kind of announcement ... = We've released Cornice 0.6 Cornice provides helpers to build

Re: Cornice 0.6 released

2012-01-03 Thread Tarek Ziadé
We should remove it altogether. Iirc this is not used anymore. On Jan 3, 2012 11:16 AM, Alexis Métaireau ale...@notmyidea.org wrote: Le 03/01/2012 08:55, Robert Forkel a écrit : i'm trying to use cornice to add an API to an existing pyramid application, but i'm not sure whether this is an

Re: Cornice 0.6 released

2012-01-02 Thread Robert Forkel
i'm trying to use cornice to add an API to an existing pyramid application, but i'm not sure whether this is an inteded use case. Right now this is made difficult by things like the registration of a static view at 'static' in cornice's 'includeme' (because it overwrites a view my base app already

Re: Cornice 0.6 released

2012-01-02 Thread Robert Forkel
oops. fat-finger. Should cornice be only used for standalone apps? regards robert On Tue, Jan 3, 2012 at 8:55 AM, Robert Forkel xrotw...@googlemail.com wrote: i'm trying to use cornice to add an API to an existing pyramid application, but i'm not sure whether this is an inteded use case. Right

Re: Cornice 0.6 released

2011-12-23 Thread Alexis Metaireau
Having a way in cornice to define resources sounds nice and useful, However, part of what you're doing with the code you submitted is already handled by what we've done in cornice (https://github.com/ mozilla-services/cornice/blob/master/cornice/service.py#L87) we could for instance deal with a

Re: Cornice 0.6 released

2011-12-23 Thread Wyatt Baldwin
On Wednesday, December 21, 2011 2:59:01 PM UTC-8, Gael Pasgrimaud wrote: On Wed, Dec 21, 2011 at 11:18 PM, Tarek Ziadé ziade...@gmail.com wrote: On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud ga...@gawel.org wrote: Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé

Re: Cornice 0.6 released

2011-12-23 Thread Gael Pasgrimaud
On Sat, Dec 24, 2011 at 2:02 AM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Wednesday, December 21, 2011 2:59:01 PM UTC-8, Gael Pasgrimaud wrote: On Wed, Dec 21, 2011 at 11:18 PM, Tarek Ziadé ziade...@gmail.com wrote: On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud

Re: Cornice 0.6 released

2011-12-22 Thread Tarek Ziadé
On Thu, Dec 22, 2011 at 4:04 PM, Robert Forkel xrotw...@googlemail.comwrote: One more thing which bothered me when looking at the Service implementation: Why the 'acl' parameter and not a full context factory? I'm playing with cornice to add an API to an existing webapp, so I already have

Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
Hey, I guess this is the proper place for this kind of announcement ... = We've released Cornice 0.6 Cornice provides helpers to build document REST-ish Web Services with Pyramid. This version has: - multiple bug fixes - a Paster template to quickly start a new Cornice project - a tutorial a

Re: Cornice 0.6 released

2011-12-21 Thread Tony Theodore
On 21 December 2011 21:24, Tarek Ziadé ziade.ta...@gmail.com wrote: Hey, I guess this is the proper place for this kind of announcement ... = We've released Cornice 0.6 Cornice provides helpers to build document REST-ish Web Services with Pyramid. Perfect! I'd just decided to try

Re: Cornice 0.6 released

2011-12-21 Thread Steve Schmechel
Following the tutorial did not work for me using pip, but worked fine using easy_install (distribute). It was done with Python 2.7 in a virtual environment created with --no-site-packages. (The pro-Pip people claim that problems encountered with Pip are due to authors not setting things up

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 12:17 -0600, Steve Schmechel wrote: Following the tutorial did not work for me using pip, but worked fine using easy_install (distribute). It was done with Python 2.7 in a virtual environment created with --no-site-packages. The error message doesn't seem to show

Re: Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
On Wed, Dec 21, 2011 at 7:17 PM, Steve Schmechel shma...@gmail.com wrote: Following the tutorial did not work for me using pip, but worked fine using easy_install (distribute). It was done with Python 2.7 in a virtual environment created with --no-site-packages. (The pro-Pip people claim

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 21:09 +0100, Tarek Ziadé wrote: I guess it's fine here, unless Chris and other people managing the Pylons/Pyramid project think it's innapropriate, in that case I could create another one. No it's fine here to me, glad to see it being discussed! - C -- You

Re: Cornice 0.6 released

2011-12-21 Thread Gael Pasgrimaud
Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: We'd love feedback new contributors ! Looks like a clever way to build some APIs. I have a project where I may switch to cornice. But I have a few questions. First, are you planning to add a support for class based

Re: Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud g...@gawel.org wrote: Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: We'd love feedback new contributors ! Looks like a clever way to build some APIs. I have a project where I may switch to cornice. But I

Re: Cornice 0.6 released

2011-12-21 Thread Gael Pasgrimaud
On Wed, Dec 21, 2011 at 11:18 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud g...@gawel.org wrote: Hi, On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: We'd love feedback new contributors ! Looks like a clever

Re: Cornice 0.6 released

2011-12-21 Thread Tarek Ziadé
On Wed, Dec 21, 2011 at 11:59 PM, Gael Pasgrimaud g...@gawel.org wrote: Here is a proof of concept (can be improved) http://friendpaste.com/4MnSHaRPkNU9RCtHkd4ggU I like it -- I think it solves a problem I had with using a bunch of functions - having to keep some globals around. If you want

Re: Cornice 0.6 released

2011-12-21 Thread Steve Schmechel
Maybe I used the wrong term in pinning. Or maybe the tutorial should be a special case. Say I write some code today that relies on Cornice version 0.6 and it works splendidly. Then in a few weeks/months I decide to write something similar with Cornice version 0.6 (assuming that is still the

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 21:03 -0600, Steve Schmechel wrote: Maybe I used the wrong term in pinning. Or maybe the tutorial should be a special case. Say I write some code today that relies on Cornice version 0.6 and it works splendidly. Then in a few weeks/months I decide to write

Re: Cornice 0.6 released

2011-12-21 Thread Steve Schmechel
Just curious, did the idea of separate indexes for current and development versions go away? I remember: bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ repoze.bfg Was it too hard to manage the private indexes? Pyramid has separate documentation for version 1.0, 1.1, 1.2,

Re: Cornice 0.6 released

2011-12-21 Thread Chris McDonough
On Wed, 2011-12-21 at 22:01 -0600, Steve Schmechel wrote: Just curious, did the idea of separate indexes for current and development versions go away? I remember: bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ repoze.bfg Was it too hard to manage the private indexes?