01c1ed025a
upgrade notes from 1.0 to 1.2.x: Obsolete Plugins Trac has added functionality equivalent to the following plugins: AdminEnumListPlugin DateFieldPlugin: see the time custom field type GroupBasedRedirectionPlugin: the default handler can set as a user preference. LinenoMacro: see WikiProcessors#AvailableProcessors NeverNotifyUpdaterPlugin: see notification subscribers QueryUiAssistPlugin: see TracQuery#Filters. TicketCreationStatusPlugin: see #NewWorkflowActions The plugins should be removed when upgrading Trac to 1.2. New workflow actions The ticket creation step is controlled with a workflow action. The default workflow has create and create_and_assign actions. The create action will always be added when upgrading the database. The create_and_assign action will be added if the workflow has an assigned state. You may want to edit your workflow after upgrading the database to customize the actions available on the New Ticket page. New permissions policy for read-only wiki pages Since 1.1.2 the read-only attribute of wiki pages is enabled and enforced only when ReadonlyWikiPolicy is in the list of active permission policies. If [trac] permission_policy has the default value DefaultPermissionPolicy, LegacyAttachmentPolicy, then ReadonlyWikiPolicy should be automatically appended to the list when upgrading the environment: [trac] permission_policies = ReadonlyWikiPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy If other permission policies are enabled, trac.ini will need to have ReadonlyWikiPolicy appended to the list of active permission_policies. See TracFineGrainedPermissions#ReadonlyWikiPolicy for additional details on the proper ordering.
20 lines
741 B
Makefile
20 lines
741 B
Makefile
# $NetBSD: options.mk,v 1.4 2019/06/11 05:30:23 maya Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.trac
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= sqlite psycopg2
|
|
PKG_SUGGESTED_OPTIONS= sqlite
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite)
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
|
|
.endif
|
|
# trac 0.12 dropped support for py-PgSQL. Switching to py-psycopg2 with
|
|
# an existing database that used to be accessed by py-PgSQL worked.
|
|
.if !empty(PKG_OPTIONS:Mpsycopg2)
|
|
DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2
|
|
.endif
|
|
# Upstream has MySQL support but there are significant caveats:
|
|
# https://trac.edgewall.org/wiki/MySqlDb
|
|
# Anyone is welcome to add a (tested!) mysql option.
|