Ticket #1111 (closed task: wontfix)

Opened 6 years ago

Last modified 5 years ago

Update for Trac 0.11

Reported by: sarahg@cvsdude.com Assigned to: pacopablo
Priority: normal Component: TracBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Now the current development version of Trac ("0.11dev") is starting to take shape, it'd be really handy for us if this plugin worked with the latest Trac.

It looks like so far the main changes needed are to use the "datetime" class in a few places and to update the parameters for the Formatter class.

For example, poststart in "if poststart >= post_time >= postend" needs to be a "datetime" object, so it'd be something like "datetime.datetime.fromtimestamp(poststart, utc).

Attachments

Change History

01/21/07 07:06:13 changed by pacopablo

  • status changed from new to assigned.
  • type changed from defect to task.

The other changes that are needed are:

  • Convert templates to Genshi
  • Make sure that the TagsPlugin is ported to 0.11

As there are still a few changes to 0.11 that may affect the plugin, and the fact that the TagsPlugin isn't ported yet, I think I'm going to hold off on this for right now. However, if you really need it, and want to try the porting, I'd be happy to accept patches ;)

I'll leave this open, as it is a good reminder that it does need to be ported.

04/02/07 09:13:10 changed by salmira

Looking for ported version for Trac 0.11. The current version reported errors as following (from trac.log):

Trac[tracenv:loader] ERROR: Skipping "TracDiscussion 0.5": ("TracWebAdmin" not found)

Meantime, http://trac-hacks.org/wiki/WebAdminPlugin states that in Trac 0.11dev, TracWebAdmin? is already part of the core package.

My system:

DiscussionPlugin: TracDiscussion-0.5-py2.5  (the latest for 2007-03-30)
Trac: 0.11 ubuntu package
Server:   ApacheFriends XAMPP (basic package) v1.6.0a (Apache 2.2.4) + mod_python 3.3.1
Database:   MySQL 5.0.33 + SQLite 2.8.15
OS: Windows XP HE
Python 2.5

Many thanks in advance!

(follow-up: ↓ 4 ) 07/18/07 23:19:27 changed by cobwebsmasher

Hello, was wondering if there has been any movement towards moving to have the TracBlogsPlugin? work in conjunction with the TracTags branch for 0.11? Happy to help if I can.

(in reply to: ↑ 3 ) 07/19/07 06:44:39 changed by anonymous

Replying to cobwebsmasher:

Hello, was wondering if there has been any movement towards moving to have the TracBlogsPlugin? work in conjunction with the TracTags branch for 0.11? Happy to help if I can.

Nothing really. Porting the blog plugin depends on the TagsPlugin being migrated, which it hasn't yet. coderanger has done some work in regards to making tags work with genshi, but I don't know the status of that work.

Alec really needs to be bugged to get the Tags stuff migrated, or, if you're super ambitious, I'm sure he wouldn't mind if you gave a stab at it.

10/22/07 19:47:13 changed by dkg-debian.org@fifthhorseman.net

TagsPlugin is now working with 0.11dev, afaict.

10/26/07 23:18:07 changed by anonymous

I've managed to get tblog installed to trac 0.11dev by removing the dependency to webadmin in setup.py. Builds and installs fine. Posting appears to work ok and the tags look to be created fine. However, blogshow doesn't show any thing. Not sure where to go from here.

What can I do to help get this working?

(follow-up: ↓ 9 ) 10/27/07 16:56:30 changed by szm

Ken, can you verify that the tags plugin is working for 0.11dev?

12/10/07 16:40:10 changed by anonymous

The tags plugin works fine. Been using for over 3 weeks. Any chance of getting the blog fixed up?

Thanks.

(in reply to: ↑ 7 ; follow-up: ↓ 10 ) 12/27/07 10:30:11 changed by iRudi

Replying to szm:

Ken, can you verify that the tags plugin is working for 0.11dev?

At the moment the tags plugin is somehow broken. I didn't get it to run with the current 0.11 trunk.

(in reply to: ↑ 9 ) 12/27/07 11:35:53 changed by anonymous

Replying to iRudi:

Replying to szm:

Ken, can you verify that the tags plugin is working for 0.11dev?

At the moment the tags plugin is somehow broken. I didn't get it to run with the current 0.11 trunk.

Ups - sorry. I just tried with the latest versions - tags are working now! :-)

01/16/08 16:27:12 changed by blackfishion

I just tried the Tags plugin in my Trac system, it do work now.

01/31/08 06:02:33 changed by wjb@byu.edu

So the tags plugin is working with .11, how far off do you think a blog plugin would be for us? I'm pretty keen to get my hands on it.

02/01/08 09:43:23 changed by pacopablo

Ok, all, here's the deal. I hope to be able to port this soon. However, work is a bit busy, and it's not quite as simple as just changing the template to genshi.

The good news is that I'm going to PyCon (and so should you all if possible) and staying for the sprints. So, if I don't get around to porting it before PyCon, I promise to port it during PyCon.

02/13/08 08:52:06 changed by pacopablo

(In [3225])

  • Refs #1111 - First big push towards porting to 0.11
  • The blog entry window has mostly been finished.

04/27/08 02:38:34 changed by pacopablo

  • status changed from assigned to closed.
  • resolution set to wontfix.

OK, I've got good news. A 0.11 port is done. It's called FullBlogPlugin ;)

So, I gave up. I'm combining efforts with osimons for the FullBlogPlugin. I did create a migration script that will let everyone easily migrate to the FullBlogPlugin.

Currently the script is attached to #2927, but will be incorporated with the source of FullBlogPlugin soon.


Add/Change #1111 (Update for Trac 0.11)




Change Properties
Action