[Repoze-dev] repoze-what* dependencies
Hi Gustavo, when you release a version please update the VERSION.txt of your project in the trunk to the next to be released version... this will allow developers working with the trunk to maintain clean dependencies on your component At the moment TG2 trunk requires repoze.what-pylons = 1.0b2, you released that version but trunk of r.w.p is still in version 1.0b2... This means that when used in developed mode it is labeled 1.0b2-dev which is considered to 1.0b2 which does NOT meet the TG2 requirement... Please this is important as it breaks trunk work and disrupts the work flow of all people working in trunk. Since you are the one changing the TG2 dependency in our trunk I suggest you add to your procedure to always bump the VERSION.txt file in your repoze trunk before you update TG2 dependency in setup.py. This will avoid this annoying problem. Florent. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] [what] requirement for repoze.what.plugins.quickstart incompatible with svn dev
the requirement is: repoze.what.plugins.sql = 1.0rc1 and should read: repoze.what.plugins.sql 1.0rc0 in order that we can use the svn trunk version in develop mode because trunk is in 1.0rc1 right now and once developped its labelled as 1.0rc1dev which is normal and permits to differentiate from the future released version. BTW could I have access to the repoze.what.* svn repositories? I (with much help from ChrisM and much improvement from Gustavo) am the original author of some of this code and I'd like to help maintain it somewhat :) Florent. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] [what] Latest what revision does not work with TG2
On Tue, Feb 10, 2009 at 1:18 PM, Gustavo Narea m...@gustavonarea.net wrote: Hello, Florent! I think you downloaded repoze.what v2. The repository for v1 is at: http://svn.repoze.org/repoze.what/branches/1.X/ Trunk (v2) is experimental and very unstable right now. Yeah... But I had some predicates based on the trunk implementations... I'll definitly need to recode those predicates to work for 1.x ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] repoze.what custom predicate parameters
Hi, I'd like to write custom Predicates for an application using repoze.what with TurboGears2. My predicate would perform some query on the database and check the resulting object against predefined criterion. The issue is that the request to the db needs to filter based on a parameter that is posted on the controller method I protected with @require. At the moment the check_auth function takes only predicate and environ and I'd like to add some *args, **kwargs to pass in the params that would then go to the decorated controller. This would permit my custom predicate to perfom its db query based on the request params (as I would do in my controller's code) and thus avoid code duplication inside each protected controller. If you know any other pattern that would help solve my issue, please don't hesitate to enlighten me... if you think this would be a worthy addition, then state so and I'll go ahead and propose a patch. Florent Aide. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev