Re: [Zope-dev] zope.app.authentication

2010-07-02 Thread Fred Drake
Sorry for bring an old thread back up, but it's relevant.

On Tue, Jan 26, 2010 at 4:06 AM, Souheil CHELFOUH  wrote:
> The tests pass and nothing has been changed but the imports.

Actually, the base classes for SessionCredentialsPlugin changed, and
no longer include these:

persistent.Persistent
zope.app.container.contained.Contained

These are probably good to retain.

The later should probably be replaced with
zope.container.contained.Contained, but the value is the same.  Though
simple, dropping this can affect existing applications in obscure
ways, since adapter lookups are likely to produce different results.

Are there any objections to adding these base classes back in?


  -Fred

-- 
Fred L. Drake, Jr.
"A storm broke loose in my mind."  --Albert Einstein
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Jan-Wijbrand Kolman
Hi,

Christian Theune  wrote:
> On 01/26/2010 03:30 PM, Souheil CHELFOUH wrote:
>> Well, the first step is already to cut the dependencies and get a sane
>> tree and a reusable package.
>> The second step, however, if people feel like it, will be to refactor
>> a bit and _that_ will need careful planning, yes.
>> But, one thing at a time :)
>> 
>> However, I'll polish a bit zope.plugabbleauth and it will be eligible
>> for a release, I guess.
> 
> Sounds like a plan. :)

Cool! 

regards,
jw



___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Christian Theune
On 01/26/2010 03:30 PM, Souheil CHELFOUH wrote:
> Well, the first step is already to cut the dependencies and get a sane
> tree and a reusable package.
> The second step, however, if people feel like it, will be to refactor
> a bit and _that_ will need careful planning, yes.
> But, one thing at a time :)
> 
> However, I'll polish a bit zope.plugabbleauth and it will be eligible
> for a release, I guess.

Sounds like a plan. :)


-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development



smime.p7s
Description: S/MIME Cryptographic Signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Souheil CHELFOUH
Well, the first step is already to cut the dependencies and get a sane
tree and a reusable package.
The second step, however, if people feel like it, will be to refactor
a bit and _that_ will need careful planning, yes.
But, one thing at a time :)

However, I'll polish a bit zope.plugabbleauth and it will be eligible
for a release, I guess.

2010/1/26 Christian Theune :
> Hi,
>
> On 01/26/2010 03:02 PM, Jan-Wijbrand Kolman wrote:
>> Hi,
>>
>>
>> Just my quick 2 euro cents here:
>>
>> As far as I can tell, what Souheil did so far is no architectural change, 
>> but a
>> change like so many in the recent past where a zope.app.something package has
>> been refactored into a zope.something package and keeping backwards
>> compatibility in zope.app.something.
>>
>> I'm not sure how this became looking way bigger than it is, except for the
>> explicit requests for feedback by Souheil. He requested feedback, I guess, 
>> as he
>> might not yet be completely confident about making these changes and needs 
>> some
>> support - I can fully understand that myself.
>
> Thanks for stepping in -- in addition to Martijn whose ghost is now
> haunting me ... ;)
>
> I think there's a communication problem here. I was asserting something
> about slowing down architectural changes in general but also having the
> feeling that he's talking about architectural changes and thus asking
> for feedback. So Souheil naturally kept running with that ...
>
> Then I went off and talked about stuff I imagine "could happen" while
> doing architectural changes anyway ... so that's how it gre.
>
> So I guess I should be writing a proposal for that stuff.
>
> If it's a pure dependency refactoring, well then, that's what we already
> all agreed about. Isn't it?
>
> Christian
>
> --
> Christian Theune · c...@gocept.com
> gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
> http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
> Zope and Plone consulting and development
>
> ___
> Zope-Dev maillist  -  zope-...@zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope )
>
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Christian Theune
Hi,

On 01/26/2010 03:02 PM, Jan-Wijbrand Kolman wrote:
> Hi, 
> 
>
> Just my quick 2 euro cents here:
> 
> As far as I can tell, what Souheil did so far is no architectural change, but 
> a 
> change like so many in the recent past where a zope.app.something package has 
> been refactored into a zope.something package and keeping backwards 
> compatibility in zope.app.something.
> 
> I'm not sure how this became looking way bigger than it is, except for the 
> explicit requests for feedback by Souheil. He requested feedback, I guess, as 
> he 
> might not yet be completely confident about making these changes and needs 
> some 
> support - I can fully understand that myself.

Thanks for stepping in -- in addition to Martijn whose ghost is now
haunting me ... ;)

I think there's a communication problem here. I was asserting something
about slowing down architectural changes in general but also having the
feeling that he's talking about architectural changes and thus asking
for feedback. So Souheil naturally kept running with that ...

Then I went off and talked about stuff I imagine "could happen" while
doing architectural changes anyway ... so that's how it gre.

So I guess I should be writing a proposal for that stuff.

If it's a pure dependency refactoring, well then, that's what we already
all agreed about. Isn't it?

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Jan-Wijbrand Kolman
Hi, 

Christian Theune  wrote:
> On 01/26/2010 09:32 AM, Souheil CHELFOUH wrote:
>> I hear you and understand you.
> 
> Thanks. :)
> 
>> I'm not advertizing for an immediate and brainless action.
>> What I did this week end is simply to split the PAU from all the
>> components provided with it (well, most of it).
>> That was motivated by my current work and by the will to see the
>> dependencies become cleaner and the code shorter.
>> I understand that the momentum is not everything, but when I can
>> dedicate myself to a task, be motivated by it and paid for it, then, I
>> don't see any reasons to hold back ;-)
> 
> Right. That's pretty much how I feel myself. ;)
> 
>> In this case, I'll just wait for your feedbacks, zope devs, and we'll
>> take the time (obviously) to do the things correctly.
> 
> I know that it's always nice to be able to immediately reap the fruits
> from your work and I hate it having to go with "about to be outdated"
> code with a project, but in the long run some patience will get us further.
> 
> Thanks for understanding!
> 
>> Let me know what you guys think, about what has to be done, when you can
> 
> Something we need to sort out is keeping "open reviews" or "open
> proposals" on the radar.
> 
> Can you please add a blueprint here:
> https://blueprints.launchpad.net/zopetoolkit/
> 
> Also, can you add a proposal page to the documentation that points out
> what you already implemented and what you intend to achieve globally?

Just my quick 2 euro cents here:

As far as I can tell, what Souheil did so far is no architectural change, but a 
change like so many in the recent past where a zope.app.something package has 
been refactored into a zope.something package and keeping backwards 
compatibility in zope.app.something.

I'm not sure how this became looking way bigger than it is, except for the 
explicit requests for feedback by Souheil. He requested feedback, I guess, as 
he 
might not yet be completely confident about making these changes and needs some 
support - I can fully understand that myself.


regards,
jw



___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Christian Theune
Hi,

On 01/26/2010 09:32 AM, Souheil CHELFOUH wrote:
> Christian,
> 
> I hear you and understand you.

Thanks. :)

> I'm not advertizing for an immediate and brainless action.
> What I did this week end is simply to split the PAU from all the
> components provided with it (well, most of it).
> That was motivated by my current work and by the will to see the
> dependencies become cleaner and the code shorter.
> I understand that the momentum is not everything, but when I can
> dedicate myself to a task, be motivated by it and paid for it, then, I
> don't see any reasons to hold back ;-)

Right. That's pretty much how I feel myself. ;)

> In this case, I'll just wait for your feedbacks, zope devs, and we'll
> take the time (obviously) to do the things correctly.

I know that it's always nice to be able to immediately reap the fruits
from your work and I hate it having to go with "about to be outdated"
code with a project, but in the long run some patience will get us further.

Thanks for understanding!

> Let me know what you guys think, about what has to be done, when you can

Something we need to sort out is keeping "open reviews" or "open
proposals" on the radar.

Can you please add a blueprint here:
https://blueprints.launchpad.net/zopetoolkit/

Also, can you add a proposal page to the documentation that points out
what you already implemented and what you intend to achieve globally?

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Souheil CHELFOUH
Christian,

I hear you and understand you.
I'm not advertizing for an immediate and brainless action.
What I did this week end is simply to split the PAU from all the
components provided with it (well, most of it).
That was motivated by my current work and by the will to see the
dependencies become cleaner and the code shorter.
I understand that the momentum is not everything, but when I can
dedicate myself to a task, be motivated by it and paid for it, then, I
don't see any reasons to hold back ;-)
In this case, I'll just wait for your feedbacks, zope devs, and we'll
take the time (obviously) to do the things correctly.

Let me know what you guys think, about what has to be done, when you can
- Souheil

2010/1/26 Christian Theune :
> Hi,
>
> On 01/26/2010 09:06 AM, Souheil CHELFOUH wrote:
>> Hello,
>>
>> I took the liberty to start the work by a first simple move :
>> splitting apart what is "strictly" about PAU's core and the rest.
>> PAU and some plugins have been put in :
>> http://svn.zope.org/repos/main/zope.pluggableauth/trunk/
>>
>> The rest has been kept in:
>> http://svn.zope.org/repos/main/zope.app.authentication/branches/zope.pluggableauth-trollfot/
>>
>> The tests pass and nothing has been changed but the imports.
>>
>> I people could already give me their feelings about it, it would be
>> very constructive.
>> There is still a lot of code that might need work. My concern was
>> about the factories and the events.
>> They look unnecessary to me in the core. I'm not sure, however, that
>> people want to split that part.
>>
>> I hope to get some feedback so I can go on with the work and not lose
>> the current momentum.
>
> As Martijn left the steering group, we're currently in discussions on
> how to proceed internally.
>
> One thing I'd like to mention here is that we do need to be careful
> balancing momentum with other qualities of the work we do: you want
> feedback and I'd like to give feedback. I can't drop the regular work I
> do on the spot for that though.
>
> And I think architectural changes don't need to be implemented within
> days or weeks.
>
> Christian
>
> --
> Christian Theune · c...@gocept.com
> gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
> http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
> Zope and Plone consulting and development
>
> ___
> Zope-Dev maillist  -  zope-...@zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope )
>
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Christian Theune
Hi,

On 01/26/2010 09:06 AM, Souheil CHELFOUH wrote:
> Hello,
> 
> I took the liberty to start the work by a first simple move :
> splitting apart what is "strictly" about PAU's core and the rest.
> PAU and some plugins have been put in :
> http://svn.zope.org/repos/main/zope.pluggableauth/trunk/
> 
> The rest has been kept in:
> http://svn.zope.org/repos/main/zope.app.authentication/branches/zope.pluggableauth-trollfot/
> 
> The tests pass and nothing has been changed but the imports.
> 
> I people could already give me their feelings about it, it would be
> very constructive.
> There is still a lot of code that might need work. My concern was
> about the factories and the events.
> They look unnecessary to me in the core. I'm not sure, however, that
> people want to split that part.
> 
> I hope to get some feedback so I can go on with the work and not lose
> the current momentum.

As Martijn left the steering group, we're currently in discussions on
how to proceed internally.

One thing I'd like to mention here is that we do need to be careful
balancing momentum with other qualities of the work we do: you want
feedback and I'd like to give feedback. I can't drop the regular work I
do on the spot for that though.

And I think architectural changes don't need to be implemented within
days or weeks.

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Souheil CHELFOUH
Hello,

I took the liberty to start the work by a first simple move :
splitting apart what is "strictly" about PAU's core and the rest.
PAU and some plugins have been put in :
http://svn.zope.org/repos/main/zope.pluggableauth/trunk/

The rest has been kept in:
http://svn.zope.org/repos/main/zope.app.authentication/branches/zope.pluggableauth-trollfot/

The tests pass and nothing has been changed but the imports.

I people could already give me their feelings about it, it would be
very constructive.
There is still a lot of code that might need work. My concern was
about the factories and the events.
They look unnecessary to me in the core. I'm not sure, however, that
people want to split that part.

I hope to get some feedback so I can go on with the work and not lose
the current momentum.

- Souheil

2010/1/26 Christian Theune :
> On 01/22/2010 07:59 PM, Souheil CHELFOUH wrote:
>> Hello guys,
>>
>> I'm coding some stuff, using zope.app.authentication and this package
>> appears to do too many things, in my opinion.
>> Would it be wise to cut off some of the functionalities ? The pure PAU
>> components could go in a dedicated package, like
>> zope.pluggableauthservice
>> The whole handling of principals, groups and folder makes it a bit
>> hard to read and introduces a lot of redundancy if we wish to roll our
>> own things.
>> What do you guys think ?
>
> Yeah, I think it would be nice to give that code a refactoring. Whenever
> I work with it I feel the urge to do so.
>
> There's also subtle API annoyances that I'd like to get rid of but don't
> remember exactly right now.
>
> How about a specific proposal?
>
> Christian
>
> --
> Christian Theune · c...@gocept.com
> gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
> http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
> Zope and Plone consulting and development
>
> ___
> Zope-Dev maillist  -  zope-...@zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope )
>
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-25 Thread Christian Theune
On 01/22/2010 07:59 PM, Souheil CHELFOUH wrote:
> Hello guys,
> 
> I'm coding some stuff, using zope.app.authentication and this package
> appears to do too many things, in my opinion.
> Would it be wise to cut off some of the functionalities ? The pure PAU
> components could go in a dedicated package, like
> zope.pluggableauthservice
> The whole handling of principals, groups and folder makes it a bit
> hard to read and introduces a lot of redundancy if we wish to roll our
> own things.
> What do you guys think ?

Yeah, I think it would be nice to give that code a refactoring. Whenever
I work with it I feel the urge to do so.

There's also subtle API annoyances that I'd like to get rid of but don't
remember exactly right now.

How about a specific proposal?

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-22 Thread Souheil CHELFOUH
I don't think so. The PAU is quite a big chunk and would really
deserve to live on its own piece of land.
zope.authentication is really about the authentication basics, not all
the pluggability and plugin that PAU brings in.
zope.app.authentication is just too confuse as it defines PAU and a
whole set of persistent authentication-relatied components and other
things that could be easily (logically) cut off.

2010/1/22 Hanno Schlichting :
> On Fri, Jan 22, 2010 at 7:59 PM, Souheil CHELFOUH  wrote:
>> I'm coding some stuff, using zope.app.authentication and this package
>> appears to do too many things, in my opinion.
>> Would it be wise to cut off some of the functionalities ? The pure PAU
>> components could go in a dedicated package, like
>> zope.pluggableauthservice
>
> I don't have a good understanding of any of the security related
> features of Zope 3, but it looks like we already have a lot of
> packages. Would it make sense to put it into any of the existing ones?
>
> There's at least:
>
> zope.authentication
> zope.login
> zope.password
> zope.principalannotation
> zope.principalregistry
> zope.security
> zope.securitypolicy
>
> Hanno
>
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication

2010-01-22 Thread Hanno Schlichting
On Fri, Jan 22, 2010 at 7:59 PM, Souheil CHELFOUH  wrote:
> I'm coding some stuff, using zope.app.authentication and this package
> appears to do too many things, in my opinion.
> Would it be wise to cut off some of the functionalities ? The pure PAU
> components could go in a dedicated package, like
> zope.pluggableauthservice

I don't have a good understanding of any of the security related
features of Zope 3, but it looks like we already have a lot of
packages. Would it make sense to put it into any of the existing ones?

There's at least:

zope.authentication
zope.login
zope.password
zope.principalannotation
zope.principalregistry
zope.security
zope.securitypolicy

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope.app.authentication

2010-01-22 Thread Souheil CHELFOUH
Hello guys,

I'm coding some stuff, using zope.app.authentication and this package
appears to do too many things, in my opinion.
Would it be wise to cut off some of the functionalities ? The pure PAU
components could go in a dedicated package, like
zope.pluggableauthservice
The whole handling of principals, groups and folder makes it a bit
hard to read and introduces a lot of redundancy if we wish to roll our
own things.
What do you guys think ?

Cheers
- Souheil
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication 3.4.3 + download.zope.org/simple == broken

2008-08-15 Thread Marius Gedminas
On Thu, Aug 14, 2008 at 04:00:22PM -0400, Gary Poster wrote:
> If you use the http://download.zope.org/ppix or 
> http://download.zope.org/simple 
>   indexes and try to get zope.app.authentication 3.4.3 (the newest),  
> you will get a 404 error.
> 
> Looking at PyPI and the zope.org index, it is evident why.
> 
> http://pypi.python.org/pypi/zope.app.authentication/3.4.3 only lists  
> one release, the source release
> 
> http://download.zope.org/simple/zope.app.authentication/ lists 3.4.3  
> eggs as well.
> 
> I strongly suspect that someone uploaded the zope.app.authentication  
> eggs to PyPI; the zope.org index saw them and recorded them; and then  
> someone removed the eggs from PyPI.

My fault.  The eggs in question were (a) broken (doctests with
inconsistent line endings causing test module import failures) and (b)
unnecessrary (the eggs had no extension modules inside).  I asked on IRC
whether removing binary eggs from PyPI would be bad, given that there's
a source distribution for the same version, and nobody brought up
zope.org's index.

> It would be great if someone could re-upload the eggs to PyPI.
> 
> More importantly, this is a reminder to please not remove eggs.  The  
> behavior or download.zope.org/simple is reasonable.  Removing eggs  
> isn't. :-)

Well, now I know.  Previously I thought only removing whole released
versions from PyPI was bad.

Marius Gedminas
-- 
It is easier to optimize correct code than to correct optimized code.
-- Bill Harlan


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication 3.4.3 + download.zope.org/simple == broken

2008-08-15 Thread Christian Theune
On Thu, 2008-08-14 at 16:00 -0400, Gary Poster wrote:
> If you use the http://download.zope.org/ppix or 
> http://download.zope.org/simple 
>   indexes and try to get zope.app.authentication 3.4.3 (the newest),  
> you will get a 404 error.
> 
> Looking at PyPI and the zope.org index, it is evident why.
> 
> http://pypi.python.org/pypi/zope.app.authentication/3.4.3 only lists  
> one release, the source release
> 
> http://download.zope.org/simple/zope.app.authentication/ lists 3.4.3  
> eggs as well.
> 
> I strongly suspect that someone uploaded the zope.app.authentication  
> eggs to PyPI; the zope.org index saw them and recorded them; and then  
> someone removed the eggs from PyPI.

The same happened for a lot of files from zope.security. :(

The simple index has 3.4.1 as a zip and a tarball, but pypi only has the
tarball left. 


-- 
Christian Theune · [EMAIL PROTECTED]
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development


signature.asc
Description: This is a digitally signed message part
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication 3.4.3 + download.zope.org/simple == broken

2008-08-14 Thread Gary Poster

On Aug 14, 2008, at 4:32 PM, Christophe Combelles wrote:

> Gary Poster a écrit :
>> If you use the http://download.zope.org/ppix or 
>> http://download.zope.org/simple
>>  indexes and try to get zope.app.authentication 3.4.3 (the newest),
>> you will get a 404 error.
>>
>> Looking at PyPI and the zope.org index, it is evident why.
>>
>> http://pypi.python.org/pypi/zope.app.authentication/3.4.3 only lists
>> one release, the source release
>>
>> http://download.zope.org/simple/zope.app.authentication/ lists 3.4.3
>> eggs as well.
>>
>> I strongly suspect that someone uploaded the zope.app.authentication
>> eggs to PyPI; the zope.org index saw them and recorded them; and then
>> someone removed the eggs from PyPI.
>>
>> It would be great if someone could re-upload the eggs to PyPI.
>>
>> More importantly, this is a reminder to please not remove eggs.  The
>> behavior or download.zope.org/simple is reasonable.  Removing eggs
>> isn't. :-)
>
> Indeed...
> I've reuploaded them but they don't have the same MD5. Is it a  
> problem?

I don't know the official answer, but it doesn't seem to be a problem  
practically for my tests.  It works.

> easy_install does not seem to complain

Thank you.

Gary

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication 3.4.3 + download.zope.org/simple == broken

2008-08-14 Thread Christophe Combelles
Gary Poster a écrit :
> If you use the http://download.zope.org/ppix or 
> http://download.zope.org/simple 
>   indexes and try to get zope.app.authentication 3.4.3 (the newest),  
> you will get a 404 error.
> 
> Looking at PyPI and the zope.org index, it is evident why.
> 
> http://pypi.python.org/pypi/zope.app.authentication/3.4.3 only lists  
> one release, the source release
> 
> http://download.zope.org/simple/zope.app.authentication/ lists 3.4.3  
> eggs as well.
> 
> I strongly suspect that someone uploaded the zope.app.authentication  
> eggs to PyPI; the zope.org index saw them and recorded them; and then  
> someone removed the eggs from PyPI.
> 
> It would be great if someone could re-upload the eggs to PyPI.
> 
> More importantly, this is a reminder to please not remove eggs.  The  
> behavior or download.zope.org/simple is reasonable.  Removing eggs  
> isn't. :-)

Indeed...
I've reuploaded them but they don't have the same MD5. Is it a problem? 
easy_install does not seem to complain

> 
> Thanks
> 
> Gary
> ___
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )
> 
> 

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope.app.authentication 3.4.3 + download.zope.org/simple == broken

2008-08-14 Thread Gary Poster
If you use the http://download.zope.org/ppix or http://download.zope.org/simple 
  indexes and try to get zope.app.authentication 3.4.3 (the newest),  
you will get a 404 error.

Looking at PyPI and the zope.org index, it is evident why.

http://pypi.python.org/pypi/zope.app.authentication/3.4.3 only lists  
one release, the source release

http://download.zope.org/simple/zope.app.authentication/ lists 3.4.3  
eggs as well.

I strongly suspect that someone uploaded the zope.app.authentication  
eggs to PyPI; the zope.org index saw them and recorded them; and then  
someone removed the eggs from PyPI.

It would be great if someone could re-upload the eggs to PyPI.

More importantly, this is a reminder to please not remove eggs.  The  
behavior or download.zope.org/simple is reasonable.  Removing eggs  
isn't. :-)

Thanks

Gary
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-06 Thread Wichert Akkerman
Previously Christophe Combelles wrote:
> Marius Gedminas a écrit :
> >Something seems to be wrong with zope.app.authentication 3.4.2 and
> >zope.app.container 3.5.5 eggs:
> >
> >Test-module import failures:
> >
> >Module: zope.app.authentication.tests
> >
> >ValueError: line 13 of the docstring for principalfolder.txt has 
> >inconsistent leading whitespace: '\r'
> >
> >
> >Module: zope.app.authentication.browser.tests
> >
> >ValueError: line 18 of the docstring for principalfolder.txt has 
> >inconsistent leading whitespace: '\r'
> >
> >
> >Module: zope.app.container.browser.tests.test_contents_functional
> >
> >ValueError: line 12 of the docstring for index.txt has inconsistent 
> >leading whitespace: '\r'
> >
> >
> >Module: zope.app.container.tests.test_constraints
> >
> >ValueError: line 11 of the docstring for constraints.txt has 
> >inconsistent leading whitespace: '\r'
> >
> >Ideas?  Eggs built on Windows?  Missing svn:eol-style=native properties?  
> >Mixed
> >\n and \r\n line endings?
> >
> >Marius Gedminas
> 
> I've re-tagged and reuploaded new versions zope.app.container 3.5.6 and 
> zope.app.authentication 3.4.3. This should be ok.

Re-uploading is very problematic: if anyone has the previous version in
their buildout download cache they will never get the new version. I
prefer a minor version number bump instead of re-uploading.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-06 Thread Christophe Combelles

Marius Gedminas a écrit :

Something seems to be wrong with zope.app.authentication 3.4.2 and
zope.app.container 3.5.5 eggs:

Test-module import failures:

Module: zope.app.authentication.tests

ValueError: line 13 of the docstring for principalfolder.txt has 
inconsistent leading whitespace: '\r'


Module: zope.app.authentication.browser.tests

ValueError: line 18 of the docstring for principalfolder.txt has 
inconsistent leading whitespace: '\r'


Module: zope.app.container.browser.tests.test_contents_functional

ValueError: line 12 of the docstring for index.txt has inconsistent leading 
whitespace: '\r'


Module: zope.app.container.tests.test_constraints

ValueError: line 11 of the docstring for constraints.txt has inconsistent 
leading whitespace: '\r'

Ideas?  Eggs built on Windows?  Missing svn:eol-style=native properties?  Mixed
\n and \r\n line endings?

Marius Gedminas


I've re-tagged and reuploaded new versions zope.app.container 3.5.6 and 
zope.app.authentication 3.4.3. This should be ok.


Christophe







___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-05 Thread Chris Withers

Marius Gedminas wrote:


Ideas?  Eggs built on Windows?  Missing svn:eol-style=native properties?  Mixed
\n and \r\n line endings?


Probably mixed line endings.

It's a shame doctest is so fragile to this...

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-05 Thread Marius Gedminas
Something seems to be wrong with zope.app.authentication 3.4.2 and
zope.app.container 3.5.5 eggs:

Test-module import failures:

Module: zope.app.authentication.tests

ValueError: line 13 of the docstring for principalfolder.txt has 
inconsistent leading whitespace: '\r'


Module: zope.app.authentication.browser.tests

ValueError: line 18 of the docstring for principalfolder.txt has 
inconsistent leading whitespace: '\r'


Module: zope.app.container.browser.tests.test_contents_functional

ValueError: line 12 of the docstring for index.txt has inconsistent leading 
whitespace: '\r'


Module: zope.app.container.tests.test_constraints

ValueError: line 11 of the docstring for constraints.txt has inconsistent 
leading whitespace: '\r'

Ideas?  Eggs built on Windows?  Missing svn:eol-style=native properties?  Mixed
\n and \r\n line endings?

Marius Gedminas
-- 
... there is always a well-known solution to every human problem -- neat,
plausible, and wrong.
-- H. L. Mencken (1880-1956), "Prejudices"


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


AW: [Zope-dev] zope.app.authentication broken!

2008-07-10 Thread Roger Ineichen
Hi Chritophe

> Betreff: Re: [Zope-dev] zope.app.authentication broken!

[...]

> >> btw, did someone run the tests with all packages that depend on 
> >> zope.app.container?
> > 
> > I would like to do this. How can I know all the packages 
> that depend 
> > on zope.app.container? What is the procedure? Then how can 
> I run all 
> > the tests?
> 
> 
> ok, it's explained in zope.kgs

Yeah, thanks!

I already released the zope.app.authentication package fix.

Regards
Roger Ineichen

> > Christophe

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication broken!

2008-07-10 Thread Christophe Combelles

Christophe Combelles a écrit :

Roger Ineichen a écrit :

hi

I'm pretty sure the container changes are not compatible because of
some bad __init__ methods in inherited classes in other packages.

But that's not the fault of the refactoring that is correct as far as 
I can see.


zope.app.authentication.groupfolder.py

class GroupFolder(BTreeContainer):



def __init__(self, prefix=u''):
self.prefix=prefix
super(BTreeContainer,self).__init__()



The *super(BTreeContainer,self).__init__()* will
not initialize the right thing here. right?

What was the reason of calling:
super(BTreeContainer,self).__init__()
instead of:
super(GroupFolder, self).__init__()

btw, did someone run the tests with all packages that depend
on zope.app.container?


I would like to do this. How can I know all the packages that depend on 
zope.app.container? What is the procedure? Then how can I run all the 
tests?



ok, it's explained in zope.kgs




Christophe




Regards
Roger Ineichen
_
END OF MESSAGE

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )




___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )




___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope.app.authentication broken!

2008-07-10 Thread Christophe Combelles

Roger Ineichen a écrit :

hi

I'm pretty sure the container changes are not compatible because of
some bad __init__ methods in inherited classes in other packages.

But that's not the fault of the refactoring that is correct 
as far as I can see.


zope.app.authentication.groupfolder.py

class GroupFolder(BTreeContainer):



def __init__(self, prefix=u''):
self.prefix=prefix
super(BTreeContainer,self).__init__()



The *super(BTreeContainer,self).__init__()* will
not initialize the right thing here. right?

What was the reason of calling:
super(BTreeContainer,self).__init__()
instead of:
super(GroupFolder, self).__init__()

btw, did someone run the tests with all packages that depend
on zope.app.container?


I would like to do this. How can I know all the packages that depend on 
zope.app.container? What is the procedure? Then how can I run all the tests?


Christophe




Regards
Roger Ineichen
_
END OF MESSAGE

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope )




___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] zope.app.authentication broken!

2008-07-08 Thread Roger Ineichen
hi

I'm pretty sure the container changes are not compatible because of
some bad __init__ methods in inherited classes in other packages.

But that's not the fault of the refactoring that is correct 
as far as I can see.

zope.app.authentication.groupfolder.py

class GroupFolder(BTreeContainer):



def __init__(self, prefix=u''):
self.prefix=prefix
super(BTreeContainer,self).__init__()



The *super(BTreeContainer,self).__init__()* will
not initialize the right thing here. right?

What was the reason of calling:
super(BTreeContainer,self).__init__()
instead of:
super(GroupFolder, self).__init__()

btw, did someone run the tests with all packages that depend
on zope.app.container?

Regards
Roger Ineichen
_
END OF MESSAGE

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )