Ticket #10193 (assigned enhancement)

Opened 10 months ago

Last modified 4 days ago

Upgrade t-h.o to Trac 1.0

Reported by: rjollos Assigned to: rjollos (accepted)
Priority: normal Component: TracHacks
Severity: normal Keywords: upgrade
Cc: hasienda, falkb, osimons, stoecker, mitar Trac Release: 1.0

Description (Last modified by hasienda)

The following plugins needed to be upgraded, tested and possibly fixed to work with the upgraded version of Trac.

Plugin Status
AccountManagerPlugin WiP - Version 0.4dev, for new user registration see #10092
AcronymsPlugin
AutoWikifyPlugin ✓ Version 0.2 has been tested with Trac 1.0dev
ChangeLogMacro
EmailProcessorMacro
FootNoteMacro
IncludeMacro
IniAdminPlugin
NewHackMacro
NewsFlashMacro
PollMacro
RefMacro Integrated into core with Trac 0.10, see t:TracLinks#Linkanchors
SpamFilterPlugin
SvnAuthzAdminPlugin
TagsPlugin
TicketChangePlugin Integrated into core with Trac 0.12 (permission TICKET_EDIT_COMMENT)
TicketDeletePlugin Integrated into core as option component with Trac 0.12 (tracopt.ticket.deleter)
TocMacro Replace macro calls with native PageOutline wiki macro from Trac core. WikiReplacePlugin can help with quick replacement, but the plugin may need to be further developed first (better regex support and preview function).
TracBlogPlugin deprecated, use FullBlogPlugin
FullBlogPlugin ✓, even combined with FullBlogNotificationPlugin
TracHacksPlugin
TracPygmentsPlugin Integrated into core with Trac 0.11. Make sure to install Pygment 1.5
TracRedirect -> ServerSideRedirectPlugin ✓ Version 0.4 has been tested with Trac 1.0dev
WebAdminPlugin Integrated into core with Trac 0.11
XmlRpcPlugin
WikiReplacePlugin Not currently used on t-h.o, but may be added.

Attachments

Change History

07/27/12 09:51:06 changed by rjollos

  • description changed.

07/28/12 00:39:42 changed by rjollos

  • description changed.

07/28/12 05:32:16 changed by rjollos

  • description changed.

Fixed-up the AutoWikifyPlugin. It should be good to go, but I'll add some unit tests this evening for good measure.

07/28/12 06:40:18 changed by rjollos

  • owner changed from otaku42 to rjollos.
  • description changed.

RefMacro is no longer needed.

07/29/12 08:03:01 changed by rjollos

  • description changed.

Let's plan to replace all calls to TOC macro with [[PageOutline(2-5,Contents,pullout)]] unless:

  1. Someone steps up with reasonable objections.
  2. Someone steps up to maintain the macro.

Even better than (2), if someone wishes to step-up and maintain TocMacro, why not see if you can get those features pushed to the Trac core? In the future, we can certainly plan to upgrade t-h.o on the release cycle of Trac, so any features pushes to the Trac core will make their way to t-h.o before too long.

07/29/12 08:05:14 changed by rjollos

  • description changed.

07/29/12 09:11:32 changed by rjollos

  • summary changed from Upgrade t--h.o to Trac 1.0 to Upgrade t-h.o to Trac 1.0.

08/04/12 05:13:37 changed by rjollos

  • description changed.

Pushed a patch for ServerSideRedirectPlugin this evening in [11890] and did some quick testing with Trac 1.0dev. Seems to be good to go.

(follow-up: ↓ 10 ) 09/12/12 11:17:03 changed by falkb

What is the news? What are you doing at present?

(in reply to: ↑ 9 ) 09/17/12 11:43:09 changed by rjollos

  • cc changed from hasienda, falkb to hasienda, falkb, osimons.

Replying to falkb:

What is the news? What are you doing at present?

We should have some news in the near future. Everything seems to be moving towards an upgrade and server move, but the details must be working out in the coming days.

09/26/12 15:10:14 changed by falkb

work for me with 1.0.

I just called python setup.py clean bdist_egg on the current SVN checkout and reloaded Trac with the new plugin egg files, used it for a while, checked the logging.

(follow-up: ↓ 13 ) 09/27/12 10:59:54 changed by falkb

(in reply to: ↑ 12 ) 09/27/12 13:19:34 changed by anonymous

Replying to falkb:

* AcronymsPlugin works only if [acronym] page = AcronymDefinitions is explicitely set in trac.ini

No, I think that was just a caching problem, fully works now after Browser restart and Apache reload. I tag it for 1.0, too.

09/27/12 21:27:46 changed by hasienda

  • keywords set to upgrade.
  • description changed.

description update according to falkb's comments, added my own work on AccountManagerPlugin

(follow-up: ↓ 16 ) 09/28/12 15:13:14 changed by falkb

Hi hasienda, You can also sign InitAdminPlugin? since it works with 1.0 as well

(in reply to: ↑ 15 ) 09/28/12 17:38:27 changed by hasienda

  • description changed.

Replying to falkb:

Hi hasienda, You can also sign InitAdminPlugin? since it works with 1.0 as well

You meant IniAdminPlugin, right? Done so now.

01/23/13 00:11:02 changed by falkb

What is going on with the TH upgrade?

(follow-up: ↓ 19 ) 01/23/13 01:06:22 changed by rjollos

We all have one or more jobs each and also maintain several plugins. I don't see myself having time to commit to getting the upgrade off the ground until at least the second week of Feb.

(in reply to: ↑ 18 ) 01/23/13 08:06:54 changed by falkb

Replying to rjollos:

... until at least the second week of Feb.

I'll try to get some more plugins from the list above tested until then

01/23/13 08:21:28 changed by rjollos

Thanks, that would be great. I'll be looking for when I have most of a weekend clear before embarking on the initial stage of the upgrade, which is to setup a Trac 1.0 version running on a different port, as Michael had done previously for the Trac 0.11 instance. I'll keep you posted as to when I think that might happen. I had hoped to find time over the holidays, but managed to consume myself with other coding tasks.

01/23/13 08:47:25 changed by falkb

I'd go for the Bitnami version which is an all-in-one package and easy to install, and as second step replace its Trac sources with the SVN trunk of Trac. And I hope we get rid of that nasty "TimeoutError?: Unable to get database connection within 20 seconds" that is getting worse over the last months.

03/22/13 02:46:02 changed by rjollos

#10939 closed as a duplicate, requesting a Back to Report or Back to Query link after navigating from a report/query to a ticket. I think we get that for free with the Trac 1.0 upgrade.

03/30/13 17:58:11 changed by rjollos

#10986 closed as a duplicate.

(follow-up: ↓ 32 ) 03/30/13 19:20:14 changed by rjollos

  • cc changed from hasienda, falkb, osimons to hasienda, falkb, osimons, stoecker.

I'm dedicating the entire day of Sat April 6th to getting an instance of trac-hacks running Trac 1.0 on port 8080. Since we have severa l people offering to help test and fix plugin issues, I'll try to coordinate the effort so that we csn get the site deployed asap after that.

03/30/13 19:26:24 changed by rjollos

  • status changed from new to assigned.

(follow-up: ↓ 27 ) 03/30/13 20:59:25 changed by stoecker

Some macro notes:

(in reply to: ↑ 26 ) 04/03/13 23:33:44 changed by rjollos

Replying to stoecker:

* TocMacro works with 1.0, so replace is not required for update.

True, replacing it is not required, but it seemed to be a good opportunity to get rid of the macro. Of course, we can get rid of it later on too, if it still works with Trac 1.0.

I'm open to keeping the TocMacro if it will be maintained, and someone can describe reasons we need to have it on trac-hacks. However, the last commit was in 2008 and I don't think anyone is giving it attention anymore.

(follow-up: ↓ 29 ) 04/04/13 02:48:18 changed by osimons

I'm maintaining TocMacro in the sense that I use it in production and will fix serious bugs if found. However, it is definitely in maintenance-mode as I don't spend time adding features or fixing trivial bugs.

My main use for [[TOC]] is that it can build a combined TOC for any number of pages at the same time, typically used for plugins that split information into subpages. [[PageOutline]] macro will of course be a fine option for single-page input.

(in reply to: ↑ 28 ) 04/04/13 03:20:28 changed by rjollos

Replying to osimons:

My main use for [[TOC]] is that it can build a combined TOC for any number of pages at the same time, typically used for plugins that split information into subpages.

That sounds like a good enough use case to keep it around then. The AccountManagerPlugin has a few subpages, and might benefit from using TOC.

(follow-up: ↓ 31 ) 04/04/13 10:57:47 changed by anonymous

Maybe providing a patch for core, so that this feature gets added as well?

(in reply to: ↑ 30 ) 04/04/13 10:59:50 changed by rjollos

Replying to anonymous:

Maybe providing a patch for core, so that this feature gets added as well?

I had similar thoughts, and I think that enhancing the PageOutline macro in the Trac core is a good idea. I have numerous other issues I'm working on in the Trac core though, so I'm unlikely to get to it soon. Hopefully someone else will :)

(in reply to: ↑ 24 ; follow-up: ↓ 34 ) 04/08/13 11:05:53 changed by rjollos

Replying to rjollos:

I'm dedicating the entire day of Sat April 6th to getting an instance of trac-hacks running Trac 1.0 on port 8080.

I made a little bit of progress over the weekend, but had some thing come up so didn't get as far as I'd hoped. I will try to make progress during the week. Stay tuned!

05/11/13 02:07:22 changed by mitar

  • cc changed from hasienda, falkb, osimons, stoecker to hasienda, falkb, osimons, stoecker, mitar.

Joining in a bit. I don't know how much time I can have for this but in general I am interested in how to make collaboration on the Internet better. So let's see what we can do here.

(in reply to: ↑ 32 ) 05/15/13 13:21:39 changed by falkb

Replying to rjollos:

I made a little bit of progress over the weekend, but had some thing come up so didn't get as far as I'd hoped.

What is exactly meant with progress and which things came up? What is the news? :)

05/15/13 13:25:45 changed by rjollos

Life things came up, and the demands of people that pay my mortgage :)

I have a holiday coming up, so hope to keep that clear to work on the upgrade.

05/17/13 01:56:15 changed by rjollos

#11078 discusses a workaround for attachments that fail to display, and was closed as a duplicate of this ticket.


Add/Change #10193 (Upgrade t-h.o to Trac 1.0)




Change Properties
Action