Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Lennart Regebro
On Fri, Mar 1, 2013 at 4:04 AM, Tres Seaver tsea...@palladion.com wrote: Assuming an unsorted list of news stories, how would you use sorted to get them ordered by category (ascending) + publication date (descending)? This is the easiest, most obvious way: sorted(sorted(news_stories,

Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Lennart Regebro
I'm sorry, it's early in the morning. It is of course: sorted(sorted(news_stories, key=lambda x: x.publication_date, reverse=True), key=lambda x: x.category) I forgot the key= bit. ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
Hi, Disclaimer: it's been a while since I actively followed zope-dev and grok-dev. So, please forgive me my ignorance. Spurred by the recent ZTK-2.0 discussion, I'm trying to get back on track on the topics of 1) migrating package to github and 2) porting packages to Python 3. As a first

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Marius Gedminas
On Fri, Mar 01, 2013 at 09:51:05AM +0100, Jan-Wijbrand Kolman wrote: Disclaimer: it's been a while since I actively followed zope-dev and grok-dev. So, please forgive me my ignorance. A single up-to-date web page sure beats reading months of list archives. Spurred by the recent ZTK-2.0

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 10:17 AM, Marius Gedminas wrote: On Fri, Mar 01, 2013 at 09:51:05AM +0100, Jan-Wijbrand Kolman wrote: Disclaimer: it's been a while since I actively followed zope-dev and grok-dev. So, please forgive me my ignorance. A single up-to-date web page sure beats reading months of list

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Stephan Richter
On Friday, March 01, 2013 11:17:44 AM Marius Gedminas wrote: Could someone perhaps tell me if there's a guideline document, some kind of recipe, or perhaps a conclusive posting on the mailinglist on how to proceed on this topic? My attempt at this: https://gist.github.com/mgedmin/4944724

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Marius Gedminas
On Fri, Mar 01, 2013 at 11:24:31AM +0100, Jan-Wijbrand Kolman wrote: On 3/1/13 10:17 AM, Marius Gedminas wrote: My attempt at this: https://gist.github.com/mgedmin/4944724 AFAIK Stephan migrated most of the zope.* packages using this process. Stephan tells me there are scripts at

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 2:23 PM, Marius Gedminas wrote: On Fri, Mar 01, 2013 at 11:24:31AM +0100, Jan-Wijbrand Kolman wrote: On 3/1/13 10:17 AM, Marius Gedminas wrote: My attempt at this: https://gist.github.com/mgedmin/4944724 AFAIK Stephan migrated most of the zope.* packages using this process.

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 1:39 PM, Stephan Richter wrote: AFAIK Stephan migrated most of the zope.* packages using this process. Yes, I have, except that I use a one does it all script published here: https://github.com/zopefoundation/zope.githubsupport Aha, great! All you need to do is to create a

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Stephan Richter
On Friday, March 01, 2013 02:37:34 PM Jan-Wijbrand Kolman wrote: I do see someone just created an empty grokcore.component repository on github (thanks whoever did that! :-) ) It is actually fully converted. :-) I am going to adjust my script to allow mutliple conversions at once. I will

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Stephan Richter
On Friday, March 01, 2013 02:40:38 PM Jan-Wijbrand Kolman wrote: Jim will announce a secret location for the authors.txt file in the next days on the ZF mailing list. You mean the ZF mailinglist that only ZF members can join? Yeah, but if you are a committer, you are a member. :-)

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 2:49 PM, Stephan Richter wrote: On Friday, March 01, 2013 02:37:34 PM Jan-Wijbrand Kolman wrote: I do see someone just created an empty grokcore.component repository on github (thanks whoever did that! :-) ) It is actually fully converted. :-) LOL - cool! I am going to adjust

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/01/2013 08:50 AM, Stephan Richter wrote: On Friday, March 01, 2013 02:40:38 PM Jan-Wijbrand Kolman wrote: Jim will announce a secret location for the authors.txt file in the next days on the ZF mailing list. You mean the ZF mailinglist

[Zope-dev] Moving to Github: authors.txt (and svn12git.py)

2013-03-01 Thread Jim Fulton
I've created a private subversion repository containing the authors.txt file needed when converting subversion repository to git. svn+ssh://svn.zope.org/repos/2git It's a small repository that you can check out directly: svn co svn+ssh://svn.zope.org/repos/2git I've also included a small

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Stephan Richter
Everything but megrok.menu is now converted. GitHub did not like the fact that I tried to create 26 repos at once, so I had some startup issues. Regards, Stephan On Friday, March 01, 2013 02:37:34 PM Jan-Wijbrand Kolman wrote: grok grokcore.annotation grokcore.catalog

Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Stephan Richter
On Friday, March 01, 2013 02:37:34 PM Jan-Wijbrand Kolman wrote: megrok.menu It's done now, but it lost its 0.1 tag due to a conversion issue. Regards, Stephan -- Entrepreneur and Software Geek Google me. Zope Stephan Richter ___ Zope-Dev

Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Wichert Akkerman
On Mar 1, 2013, at 19:06, Suresh V. suresh...@yahoo.com wrote: On Friday 01 March 2013 02:15 PM, Lennart Regebro wrote: I'm sorry, it's early in the morning. It is of course: sorted(sorted(news_stories, key=lambda x: x.publication_date, reverse=True), key=lambda x:

Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Charlie Clark
Hi Tres, Am 28.02.2013, 21:04 Uhr, schrieb Tres Seaver tsea...@palladion.com: The main export of the package is the 'sort' function, which takes a sequence, per-column sort specs (key/attr name, sort function, direction), and optional extra data (e.g., the DTML namespace) and a flag indicating

Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Lennart Regebro
On Fri, Mar 1, 2013 at 7:06 PM, Suresh V. suresh...@yahoo.com wrote: On Friday 01 March 2013 02:15 PM, Lennart Regebro wrote: I'm sorry, it's early in the morning. It is of course: sorted(sorted(news_stories, key=lambda x: x.publication_date, reverse=True), key=lambda

Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Martijn Pieters
On Thursday, February 28, 2013, Stephan Richter wrote: I would like to deprecate zope.sequencesort in ZTK 2.0, since it cannot properly ported to Python 3, since it depends heavily on the cmp() way of sorting. I am also not a user of the package and I only tried to port the package for

[Zope-dev] SVN to Git Conversion

2013-03-01 Thread Stephan Richter
Hi everyone, I am now feeling comfortable with my script to run conversions of many packages at once. Thus, if you want packages moved from SVN to GitHub just let me know and I will convert them for you. Regards, Stephan -- Entrepreneur and Software Geek Google me. Zope Stephan Richter

[Zope-dev] Porting Zope to Python 3 Update

2013-03-01 Thread Stephan Richter
Hi everyone, as the week ends, I thought I might give a brief update on the Python 3 porting effort. According to the Unofficial Zope on Python 3 status page[1], about 110 packages are ported to Python 3.3. Hanno and I worked this week on updating the ZTK configuration files and I am happy

[Zope-dev] zope-tests - FAILED: 18, OK: 12

2013-03-01 Thread Zope tests summarizer
This is the summary for test reports received on the zope-tests list between 2013-02-28 00:00:00 UTC and 2013-03-01 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation:

Re: [Zope-dev] SVN to Git Conversion

2013-03-01 Thread Roger
Hi Stephan Thanks a lot! Is there any information about what this means for zope contributers? What are the restrictions or any other relevant parts where we have to know additional to the git basics? I probably missed some mailinglist threads. Just let me know if everything was answered