Skip to content

Commit

Permalink
Added traccheck.py (utilities to prevent Trac from breaking between u…
Browse files Browse the repository at this point in the history
…pdates)
  • Loading branch information
bmispelon committed Feb 18, 2024
1 parent 93efb00 commit 9a340e8
Show file tree
Hide file tree
Showing 3 changed files with 458 additions and 0 deletions.
164 changes: 164 additions & 0 deletions .TRACFREEZE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# generated by traccheck.py on 2024-02-18 05:44:42 with Trac version 1.6
trac.admin.api.admincommandmanager
trac.admin.console.tracadminhelpmacro
trac.admin.web_ui.adminmodule
trac.admin.web_ui.basicsadminpanel
trac.admin.web_ui.loggingadminpanel
trac.admin.web_ui.permissionadminpanel
trac.attachment.attachmentadmin
trac.attachment.attachmentmodule
trac.attachment.legacyattachmentpolicy
trac.cache.cachemanager
trac.config.configurationadmin
trac.db.api.databasemanager
trac.db.postgres_backend.postgresqlconnector
trac.db.sqlite_backend.sqliteconnector
trac.env.environment
trac.env.environmentadmin
trac.mimeview.api.imagerenderer
trac.mimeview.api.linenumberannotator
trac.mimeview.api.mimeview
trac.mimeview.api.plaintextrenderer
trac.mimeview.api.wikitextrenderer
trac.mimeview.patch.patchrenderer
trac.mimeview.pygments.pygmentsrenderer
trac.notification.api.notificationsystem
trac.notification.mail.alwaysemailsubscriber
trac.notification.mail.emaildistributor
trac.notification.mail.fromauthoremaildecorator
trac.notification.mail.sendmailemailsender
trac.notification.mail.sessionemailresolver
trac.notification.mail.smtpemailsender
trac.notification.prefs.notificationpreferences
trac.notification.prefs.subscriberlistmacro
trac.perm.defaultpermissiongroupprovider
trac.perm.defaultpermissionpolicy
trac.perm.defaultpermissionstore
trac.perm.permissionadmin
trac.perm.permissionsystem
trac.prefs.web_ui.advancedpreferencepanel
trac.prefs.web_ui.generalpreferencepanel
trac.prefs.web_ui.localizationpreferencepanel
trac.prefs.web_ui.preferencesmodule
trac.prefs.web_ui.userinterfacepreferencepanel
trac.resource.resourcesystem
trac.search.web_ui.searchmodule
trac.ticket.admin.componentadminpanel
trac.ticket.admin.milestoneadminpanel
trac.ticket.admin.priorityadminpanel
trac.ticket.admin.resolutionadminpanel
trac.ticket.admin.severityadminpanel
trac.ticket.admin.ticketadmin
trac.ticket.admin.tickettypeadminpanel
trac.ticket.admin.versionadminpanel
trac.ticket.api.ticketsystem
trac.ticket.batch.batchmodifymodule
trac.ticket.default_workflow.configurableticketworkflow
trac.ticket.default_workflow.workflowmacro
trac.ticket.model.milestonecache
trac.ticket.notification.carboncopysubscriber
trac.ticket.notification.newticketsubscriber
trac.ticket.notification.ticketattachmentnotifier
trac.ticket.notification.ticketformatter
trac.ticket.notification.ticketnotificationsystem
trac.ticket.notification.ticketownersubscriber
trac.ticket.notification.ticketpreviousupdaterssubscriber
trac.ticket.notification.ticketreportersubscriber
trac.ticket.notification.ticketupdatersubscriber
trac.ticket.query.querymodule
trac.ticket.query.ticketquerymacro
trac.ticket.roadmap.defaultticketgroupstatsprovider
trac.ticket.roadmap.milestonemodule
trac.ticket.web_ui.defaultticketpolicy
trac.ticket.web_ui.ticketmodule
trac.timeline.web_ui.timelinemodule
trac.versioncontrol.admin.repositoryadminpanel
trac.versioncontrol.admin.versioncontroladmin
trac.versioncontrol.api.dbrepositoryprovider
trac.versioncontrol.api.repositorymanager
trac.versioncontrol.svn_authz.authzsourcepolicy
trac.versioncontrol.web_ui.browser.defaultpropertyrenderer
trac.versioncontrol.web_ui.browser.wikipropertyrenderer
trac.versioncontrol.web_ui.changeset.anydiffmodule
trac.versioncontrol.web_ui.changeset.defaultpropertydiffrenderer
trac.web.chrome.chrome
trac.web.main.requestdispatcher
trac.web.session.sessionadmin
trac.wiki.admin.wikiadmin
trac.wiki.api.wikisystem
trac.wiki.intertrac.intertracdispatcher
trac.wiki.interwiki.interwikimap
trac.wiki.macros.imagemacro
trac.wiki.macros.knownmimetypesmacro
trac.wiki.macros.macrolistmacro
trac.wiki.macros.pageoutlinemacro
trac.wiki.macros.recentchangesmacro
trac.wiki.macros.titleindexmacro
trac.wiki.macros.tracguidetocmacro
trac.wiki.macros.tracinimacro
trac.wiki.parser.wikiparser
trac.wiki.web_api.wikirenderer
trac.wiki.web_ui.defaultwikipolicy
tracdjangoplugin.plugins.customnavigationbar
tracdjangoplugin.plugins.customnewticket
tracdjangoplugin.plugins.customtheme
tracdjangoplugin.plugins.customwikimodule
tracdjangoplugin.plugins.githubbrowserwithsvnchangesets
tracdjangoplugin.plugins.plainlogincomponent
tracdjangoplugin.plugins.reservedusernamescomponent
tracext.github.githubloginmodule
tracext.github.githubpostcommithook
tracopt.ticket.commit_updater.committicketreferencemacro
tracopt.ticket.commit_updater.committicketupdater
tracopt.ticket.deleter.ticketdeleter
tracopt.versioncontrol.git.git_fs.csetpropertyrenderer
tracopt.versioncontrol.git.git_fs.gitconnector
tracopt.versioncontrol.git.git_fs.gitwebprojectsrepositoryprovider
tracrpc.api.xmlrpcsystem
tracrpc.json_rpc.jsonrpcprotocol
tracrpc.search.searchrpc
tracrpc.ticket.componentrpc
tracrpc.ticket.milestonerpc
tracrpc.ticket.priorityrpc
tracrpc.ticket.resolutionrpc
tracrpc.ticket.severityrpc
tracrpc.ticket.statusrpc
tracrpc.ticket.ticketrpc
tracrpc.ticket.typerpc
tracrpc.ticket.versionrpc
tracrpc.web_ui.rpcweb
tracrpc.wiki.wikirpc
tracrpc.xml_rpc.xmlrpcprotocol
tracspamfilter.adapters.attachmentfilteradapter
tracspamfilter.adapters.ticketfilteradapter
tracspamfilter.adapters.wikifilteradapter
tracspamfilter.admin.bayesadminpageprovider
tracspamfilter.admin.externaladminpageprovider
tracspamfilter.admin.spamfilteradminpageprovider
tracspamfilter.admin.statisticsadminpageprovider
tracspamfilter.adminbase.spamfilteradminbaseprovider
tracspamfilter.adminreport.reportadminpageprovider
tracspamfilter.adminusers.useradminpageprovider
tracspamfilter.captcha.admin.captchaadminpageprovider
tracspamfilter.captcha.api.captchasystem
tracspamfilter.captcha.expression.expressioncaptcha
tracspamfilter.captcha.hcaptcha.hcaptchacaptcha
tracspamfilter.captcha.keycaptcha.keycaptchacaptcha
tracspamfilter.captcha.rand.randomcaptcha
tracspamfilter.captcha.recaptcha2.recaptcha2captcha
tracspamfilter.filters.akismet.akismetfilterstrategy
tracspamfilter.filters.bayes.bayesianfilterstrategy
tracspamfilter.filters.botscout.botscoutfilterstrategy
tracspamfilter.filters.extlinks.externallinksfilterstrategy
tracspamfilter.filters.fspamlist.fspamlistfilterstrategy
tracspamfilter.filters.httpbl.httpblfilterstrategy
tracspamfilter.filters.ip_blacklist.ipblacklistfilterstrategy
tracspamfilter.filters.ip_regex.ipregexfilterstrategy
tracspamfilter.filters.ip_throttle.ipthrottlefilterstrategy
tracspamfilter.filters.regex.regexfilterstrategy
tracspamfilter.filters.session.sessionfilterstrategy
tracspamfilter.filters.stopforumspam.stopforumspamfilterstrategy
tracspamfilter.filters.trapfield.trapfieldfilterstrategy
tracspamfilter.filters.url_blacklist.urlblacklistfilterstrategy
tracspamfilter.filtersystem.filtersystem
tracspamfilter.report.spamreportadapter
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,20 @@ jobs:
run: python -m django test tracdjangoplugin.tests
env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests

traccheck:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install requirements
run: python -m pip install -r requirements.txt
- run: python traccheck.py lint trac-env/
env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
- run: python traccheck.py components --check .TRACFREEZE trac-env/
env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
Loading

0 comments on commit 9a340e8

Please sign in to comment.