Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Trac 1.4.x #105

Closed
felixxm opened this issue Dec 11, 2020 · 6 comments
Closed

Update to Trac 1.4.x #105

felixxm opened this issue Dec 11, 2020 · 6 comments

Comments

@felixxm
Copy link
Member

felixxm commented Dec 11, 2020

See release notes.

@apollo13
Copy link
Member

I'd really like to upgrade, but I think this might get hard because 1.4.x does not seem to allow an easy way to override templates: https://trac.edgewall.org/browser/branches/1.4-stable/trac/web/chrome.py#L1386 This currently puts the default trac templates first in the list, which prevents overriding as far as I can see. In trunk it puts the templates dir from the env first: https://trac.edgewall.org/browser/trunk/trac/web/chrome.py#L745

@apollo13
Copy link
Member

Since 1.6 will be python 3 only, I'd really like to go via 1.4 first. I wonder if it makes sense to fork trac and fix the few things that needs fixing…

@apollo13
Copy link
Member

apollo13 commented Nov 4, 2022

Okay, so I started working on this locally. First and foremost there is one problem: We have some views in there that are requested from the tracdb app in djangoproject.com. We need to rewrite those in a way to be compatible first. Working on it.

@bmispelon
Copy link
Member

I've taken @apollo13 's work from #146 and added a few more fixes: #146

I believe Florian's comments about tracdb needing some fixes have been merged: django/djangoproject.com@33093f2. But I'm not 100% sure, and I can't figure out how to test that (even manually).

Trac seems to finally have a Python3-compatible version, so once this is merged, I would like to try to finally upgrade from Python 2.7 (and Django 1.11) to something a bit less ancient 🦕

@bmispelon
Copy link
Member

Fixed in #146 Good work everyone! 🚀

@apollo13
Copy link
Member

apollo13 commented Jan 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants