blogmaker and django 1.0

2 views
Skip to first unread message

Neal McBurnett

unread,
Sep 4, 2008, 1:13:28 PM9/4/08
to blogmaker-users
I've noticed lots of recent activity in the blogmaker svn (which I
watch via the auto-synced bzr branch at
https://launchpad.net/blogmaker/trunk since I like distributed version
control.)

Now that Django 1.0 is out, is there a version of blogmaker that works
well on it, e.g. by folding in the trespams work?

Cheers,

Neal McBurnett http://mcburnett.org/neal/

Antoni Aloy

unread,
Sep 4, 2008, 6:58:28 PM9/4/08
to blogmak...@googlegroups.com
Now that Django has a new stable release it would be nice to merge both projects. I'll try to update trespams with the last changes and i'll modify the code to adapt it to the Django 1.0 version.
I have made some minor modifications just to improve the performance so it has to be possible. In my opinion the new version has so many interesting thinks that it would be a pity to maintain blogmaker in 0.96.

2008/9/4 Neal McBurnett <ne...@bcn.boulder.co.us>



--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

Neal McBurnett

unread,
Oct 11, 2008, 1:23:42 PM10/11/08
to blogmak...@googlegroups.com
On Fri, Sep 05, 2008 at 12:58:28AM +0200, Antoni Aloy wrote:
> Now that Django has a new stable release it would be nice to merge both
> projects. I'll try to update trespams with the last changes and i'll modify the
> code to adapt it to the Django 1.0 version.

I see at http://code.google.com/p/trespams/
07-sep-2008. Updated to Django 1.0. Now it works but it needs more
testing. Use at your own risk.

How it it going? Anyone else using it?

Any plans from the blogmaker folks?

Thanks again to all,

Neal McBurnett http://neal.mcburnett.org/

Kumar McMillan

unread,
Oct 13, 2008, 3:46:03 PM10/13/08
to blogmak...@googlegroups.com
On Thu, Sep 4, 2008 at 5:58 PM, Antoni Aloy <anton...@gmail.com> wrote:
> Now that Django has a new stable release it would be nice to merge both
> projects. I'll try to update trespams with the last changes and i'll modify
> the code to adapt it to the Django 1.0 version.
> I have made some minor modifications just to improve the performance so it
> has to be possible. In my opinion the new version has so many interesting
> thinks that it would be a pity to maintain blogmaker in 0.96.

Hi Antoni.

Interesting work you've done with the trespams fork of blogmaker. I
agee, it would be nice to merge your work back into blogmaker. For
me, I had grown wary of Django because of their lack of releases (it
seemed like too much work to keep up with trunk). However, now that
they have gone 1.0 I have a renewed interest in the project.

Also, one thing that has held me back from using blogmaker is that I
could never get the tests to run and I felt uneasy about using a tool
that I could not run unit tests for. So ... I spent a small amount of
time to check out the trespams trunk and fix up the tests for
blogmaker.blog using Django 1.0

Here is a patch with svn diff against revision 70. You should be able
to apply it with: cd trespams-trunk; patch -p0 -r . <
/path/to/patchfile

Some things that are strange about it is that I had to copy the
urls.py and templates into blogmaker.blog to get tests to run in
isolation from trespams. I also commented out the trackbacks test
because that needs work. To run them, I installed all prerequisites,
created a properties.py file with cachebackend='dummy:///' then typed:

python2.5 manage.py test blog

if you want to commit this work, I may find some more time to help out
with improving the module. I suppose also we could create a branch of
the blogmaker repos to try and move this all into blogmaker. Let me
know if there is interest in that, I think I have commit privs.

-Kumar

trespams-blog-tests.patch

Antoni Aloy

unread,
Oct 13, 2008, 7:33:07 PM10/13/08
to blogmak...@googlegroups.com


2008/10/13 Kumar McMillan <kumar.m...@gmail.com>

On Thu, Sep 4, 2008 at 5:58 PM, Antoni Aloy <anton...@gmail.com> wrote:
> Now that Django has a new stable release it would be nice to merge both
> projects. I'll try to update trespams with the last changes and i'll modify
> the code to adapt it to the Django 1.0 version.
> I have made some minor modifications just to improve the performance so it
> has to be possible. In my opinion the new version has so many interesting
> thinks that it would be a pity to maintain blogmaker in 0.96.

Hi Antoni.

Interesting work you've done with the trespams fork of blogmaker.  I
agee, it would be nice to merge your work back into blogmaker.  For
me, I had grown wary of Django because of their lack of releases (it
seemed like too much work to keep up with trunk).  However, now that
they have gone 1.0 I have a renewed interest in the project.
 
Django is a great tool to develop web applications. I ported Blogmaker to trunk because all the great things that were in trunk. It's supposed it's not going to be backwards incompatible changes for a while in Django, so we can work on 1.0 or even live in the edge and work in trunk.

Actuallly my blog is not on Django 1.0 as I have some applications in the same environment that I have to port. I think I'm going to use a virtualenv for Python to mantain them in their actual version until I have enougth time and funds to port them.



Also, one thing that has held me back from using blogmaker is that I
could never get the tests to run and I felt uneasy about using a tool
that I could not run unit tests for.  So ... I spent a small amount of
time to check out the trespams trunk and fix up the tests for
blogmaker.blog using Django 1.0

Here is a patch with svn diff against revision 70.  You should be able
to apply it with: cd trespams-trunk; patch -p0 -r . <
/path/to/patchfile

Thank you for the patch.
 

Some things that are strange about it is that I had to copy the
urls.py and templates into blogmaker.blog to get tests to run in
isolation from trespams.  

This is becouse I move them in order to have the blog application as the main application and not to use mod_rewrite in apache. I don't want a http://trespams.com/blog/what-ever just http://trespams.com/what-ever and this was the fast way.
 
I also commented out the trackbacks test
because that needs work.  To run them, I installed all prerequisites,
created a properties.py file with cachebackend='dummy:///' then typed:

python2.5 manage.py test blog

if you want to commit this work, I may find some more time to help out
with improving the module.  I suppose also we could create a branch of
the blogmaker repos to try and move this all into blogmaker.  Let me
know if there is interest in that, I think I have commit privs.

I like to see blogmaker as "the blog engine" and my first goal would be to merge Trespams with Blogmaker and add the new functions I have incorporated to Trespams to the main branch, so I be glad to work in the merge.

Reply all
Reply to author
Forward
0 new messages