Re: [Zope-dev] adduser command: give feedback about success
On Fri, Jan 07, 2011 at 11:55:53PM +0100, Maurits van Rees wrote: > I propose to add this feedback. This needs a few simple changes in > Zope2/utilities, Zope2/Startup, AccessControl, > Products.PluggableAuthService, and a few doctest fixes in Products.Five. > The change to Zope2/utilities/adduser.py would be this: > > === > -adduser(app, user, pwd) > +result = adduser(app, user, pwd) > +if result: > +print "User %s created." % user > +else: > +print "Got no result back. User creation may have failed." > +print "Maybe the user already exists and nothing is done then." > +print "Or the implementation does not give info when it succeeds." I don't suppose you could somehow change the API so the script can report something useful? "I don't even know if I succeeded or not" sounds pretty pathetic. Maybe it's better than surly silence. Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development signature.asc Description: Digital 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 )
[Zope-dev] Zope Tests: 53 OK, 5 Failed, 2 Unknown
Summary of messages to the zope-tests list. Period Sat Jan 8 12:00:00 2011 UTC to Sun Jan 9 12:00:00 2011 UTC. There were 60 messages: 8 from Zope Tests, 2 from buildbot at pov.lt, 8 from ccomb at free.fr, 5 from ct at gocept.com, 37 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : Zope Buildbot / zopetoolkit_win-py2.5 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 19:12:09 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028233.html Subject: FAILED : Total languishing bugs for zopeapp: 2 From: ct at gocept.com Date: Sat Jan 8 20:30:17 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028244.html Subject: FAILED : Total languishing bugs for zopetoolkit: 194 From: ct at gocept.com Date: Sat Jan 8 20:37:00 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028245.html Subject: FAILED : Total languishing bugs for zope: 50 From: ct at gocept.com Date: Sat Jan 8 20:40:29 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028248.html Subject: FAILED: Repository policy check found errors in 324 projects From: ct at gocept.com Date: Sat Jan 8 21:16:50 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028257.html Unknown --- Subject: UNKNOWN : Zope-trunk Python-2.6.5 : Linux From: Zope Tests Date: Sun Jan 9 01:18:14 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028276.html Subject: UNKNOWN : Zope-trunk-alltests Python-2.6.5 : Linux From: Zope Tests Date: Sun Jan 9 01:20:14 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028277.html Tests passed OK --- Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 17:52:57 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028218.html Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 17:54:23 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028219.html Subject: OK : Zope Buildbot / zope2.13-py2.7 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 17:55:43 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028220.html Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 17:57:12 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028221.html Subject: OK : Zope Buildbot / zope2.14-py2.7 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 17:58:37 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028222.html Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:04:42 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028223.html Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:10:47 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028224.html Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:16:40 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028225.html Subject: OK : Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:21:23 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028226.html Subject: OK : Zope Buildbot / zope2.13_win-py2.6 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:24:27 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028227.html Subject: OK : Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:26:14 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028228.html Subject: OK : Zope Buildbot / zope2.13_win-py2.7 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:26:39 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028229.html Subject: OK : Zope Buildbot / zopetoolkit-1.0_win-py2.4 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:41:19 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028230.html Subject: OK : Zope Buildbot / zopetoolkit-1.0_win-py2.5 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 18:53:32 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028231.html Subject: OK : Zope Buildbot / zopetoolkit-1.0_win-py2.6 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 19:05:29 EST 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-January/028232.html Subject: OK : Zope Buildbot / zopetoolkit_win-py2.6 slave-win From: jdriessen at thehealthagency.com Date: Sat Jan 8 19:19:44 EST 2011 URL: http://mai
Re: [Zope-dev] adduser command: give feedback about success
Hi. On Fri, Jan 7, 2011 at 11:55 PM, Maurits van Rees wrote: > I saw that Hanno added an entry point in Zope2 to create a > bin/addzope2user command, which does the same as the 'bin/zopectl > adduser' command. Yeah, I put it back after I noticed it was really needed in a WSGI environment. Tres added it in the original wsgi branch and I thought it was a duplicate until recently. > Is it okay if I do this? Yep. We can maybe tweak the wording, but the intent is good ;) > Should/may I backport this to Zope 2.13 and 2.12? I'd only do this in 2.13 and trunk. 2.12 is in a real late stage of its life now, I'd like to keep changes in it to real bug fixes now. 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 )