Modify

Opened 18 years ago

Closed 17 years ago

#1111 closed task (wontfix)

Update for Trac 0.11

Reported by: sarahg@… Owned by: John Hampton
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 (0)

Change History (15)

comment:1 Changed 18 years ago by John Hampton

Status: newassigned
Type: defecttask

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.

comment:2 Changed 18 years ago 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!

comment:3 Changed 17 years ago 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.

comment:4 in reply to:  3 Changed 17 years ago 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.

comment:5 Changed 17 years ago by Daniel Kahn Gillmor

TagsPlugin is now working with 0.11dev, afaict.

comment:6 Changed 17 years ago 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?

comment:7 Changed 17 years ago by szm

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

comment:8 Changed 17 years ago by anonymous

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

Thanks.

comment:9 in reply to:  7 ; Changed 17 years ago 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.

comment:10 in reply to:  9 Changed 17 years ago 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! :-)

comment:11 Changed 17 years ago by Little Fish

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

comment:12 Changed 17 years ago by wjb@…

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.

comment:13 Changed 17 years ago by John Hampton

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.

comment:14 Changed 17 years ago by John Hampton

(In [3225])

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

comment:15 Changed 17 years ago by John Hampton

Resolution: wontfix
Status: assignedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.