UPGRADING.rst 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. Upgrading Pagure
  2. ================
  3. From 5.3.x to 5.4
  4. -----------------
  5. The 5.4 release does not contain any database schema changes, nor any new
  6. configuration key.
  7. From 5.2 to 5.3
  8. ---------------
  9. The 5.3 release contains a database schema updates, so:
  10. * Update the data schema using alembic: ``alembic upgrade head``
  11. (As usual, do your backups before).
  12. While working on pagure 5.3, we found that the version of python werkzeug
  13. available in CentOS 7 is too old and makes some of pagure's tests fail. We
  14. recomment it to be upgrade to at least 0.9.6.
  15. New configuration keys have been added:
  16. * ENABLE_TICKETS_NAMESPACE
  17. * FEDORA_MESSAGING_NOTIFICATIONS
  18. * SYNTAX_ALIAS_OVERRIDES
  19. * ALWAYS_STOMP_ON_COMMITS
  20. * ALWAYS_MQTT_ON_COMMITS
  21. * MQTT_TOPIC_PREFIX
  22. From 5.1.x to 5.2
  23. -----------------
  24. The 5.2 release contains a database schema updates, so:
  25. * Update the data schema using alembic: ``alembic upgrade head``
  26. (As usual, do your backups before).
  27. If you run into issues with the ``hook_mirror``, see the upgrade notes for
  28. the release 5.1.4 below.
  29. Note that the minimal version of pygit2 has been bumped to: 0.26.0
  30. New configuration keys have been added:
  31. * MQTT_NOTIFICATIONS
  32. * MQTT_HOST
  33. * MQTT_PORT
  34. * MQTT_USERNAME
  35. * MQTT_PASSWORD
  36. * MQTT_CA_CERTS
  37. * MQTT_CERTFILE
  38. * MQTT_KEYFILE
  39. * MQTT_CERT_REQS
  40. * MQTT_TLS_VERSION
  41. * MQTT_CIPHERS
  42. * DISABLE_MIRROR_IN
  43. * SSH_ADMIN_TOKEN
  44. * GIT_GARBAGE_COLLECT
  45. * DISABLE_REMOTE_PR
  46. * ADMIN_EMAIL
  47. * LOG_ALL_COMMITS
  48. * ARCHIVE_FOLDER
  49. One configuration key changes its default structure:
  50. * TRIGGER_CI
  51. Changes in dependencies:
  52. * Mimimal version of pygit2 version bumped to: 0.26.0
  53. * Minimal version of openssh set to: 7.4
  54. From 5.1 to 5.1.4
  55. -----------------
  56. In the development of 5.1.4 it was found out that the alembic migration
  57. ``ba538b2648b7`` that creates the ``hook_mirror`` table was incomplete.
  58. If you created that table via alembic, you will likely want to re-run it. Beware
  59. that applying the following commands will destroy any data you have in this
  60. table.
  61. * Mark the database to this migration::
  62. alembic stamp ba538b2648b7
  63. * Remove the ``hook_mirror`` table so it can be re-generated::
  64. alembic downgrade -1
  65. * Re-run that single migration::
  66. alembic upgrade +1
  67. * Marking the database to the last current migration (as of 5.1.4)::
  68. alembic stamp f16ab75e4d32
  69. Again, any project that tried to setup the mirroring feature in pagure will need
  70. to be reconfigured.
  71. Another option (that will prevent loosing any data in this table) is to
  72. adjust the table manually using these SQL queries:
  73. ::
  74. ALTER TABLE hook_mirror ADD COLUMN 'public_key' TEXT;
  75. ALTER TABLE hook_mirror ADD COLUMN 'target' TEXT;
  76. ALTER TABLE hook_mirror ADD COLUMN 'last_log' TEXT;
  77. From 5.x to 5.1
  78. ---------------
  79. The 5.1 release contains a database schema updates, so:
  80. * Update the data schema using alembic: ``alembic upgrade head``
  81. (As usual, do your backups before).
  82. New configuration keys added:
  83. * ALLOW_ADMIN_IGNORE_EXISTING_REPOS
  84. * ALLOW_HTTP_PULL_PUSH
  85. * ALLOW_HTTP_PUSH
  86. * HTTP_REPO_ACCESS_GITOLITE
  87. From 5.0 to 5.0.1
  88. -----------------
  89. The 5.0 release was missing a database schema migration to add the
  90. ``hook_mirror`` table. This alembic migration has been added, so if you have
  91. note update to 5.0, you will want to update your database schema using:
  92. ``alembic upgrade head``. If you went around this issue by running the
  93. ``pagure_createdb.py`` script, you can mark you database schema up to date using
  94. ``alembic stamp ba538b2648b7``.
  95. From 4.x to 5.0
  96. ---------------
  97. The release 5.0 brings some changes to the database schema.
  98. * Update the data schema using alembic: ``alembic upgrade head``
  99. New configuration keys added:
  100. * PR_TARGET_MATCHING_BRANCH
  101. * EMAIL_ON_WATCHCOMMITS
  102. * THEME
  103. * GIT_AUTH_BACKEND (replacing GITOLITE_BACKEND, backward compatibility kept for
  104. now)
  105. * REPOSPANNER_PSEUDO_FOLDER
  106. * REPOSPANNER_NEW_REPO
  107. * REPOSPANNER_NEW_REPO_ADMIN_OVERRIDE
  108. * REPOSPANNER_NEW_FORK
  109. * REPOSPANNER_ADMIN_MIGRATION
  110. * REPOSPANNER_REGIONS
  111. * SSH_KEYS_USERNAME_LOOKUP
  112. * SSH_KEYS_USERNAME_EXPECT
  113. * SSH_KEYS_OPTIONS
  114. Configuration deprecated:
  115. * BOOTSTRAP_URLS_CSS
  116. * BOOTSTRAP_URLS_JS
  117. * FILE_SIZE_HIGHLIGHT
  118. * HTML_TITLE
  119. * GITOLITE_BACKEND
  120. Note: Some configuration keys changed their default value:
  121. * LOGGING
  122. * PRIVATE_PROJECTS
  123. * EMAIL_ERROR
  124. * FROM_EMAIL
  125. * DOMAIN_EMAIL_NOTIFICATIONS
  126. * APP_URL
  127. * DOC_APP_URL
  128. * GIT_URL_SSH
  129. * GIT_URL_GIT
  130. * FEDMSG_NOTIFICATIONS
  131. * PAGURE_AUTH
  132. New dependencies:
  133. * trololio (replaces trollius that is no longer a direct dependency)
  134. From 3.x to 4.0
  135. ---------------
  136. The release 4.0 brings some changes to the database schema.
  137. * Update the data schema using alembic: ``alembic upgrade head``
  138. New configuration keys added:
  139. * EMAIL_ON_WATCHCOMMITS
  140. * ALWAYS_FEDMSG_ON_COMMITS
  141. * SESSION_TYPE
  142. * PROJECT_TEMPLATE_PATH
  143. * FORK_TEMPLATE_PATH
  144. From 3.13 to 3.13.1
  145. -------------------
  146. The release 3.13.1 brings one change to the database schema to remove a database
  147. constraint (pull_requests_check in the pull_requests table) that is not only no
  148. longer needed but even blocking now.
  149. * Update the data schema using alembic: ``alembic upgrade head``
  150. From 3.12 to 3.13
  151. -----------------
  152. The release 3.13 brings some features and bug fixes but does not have any
  153. changes made to the database schema or new configuration keys. Update should be
  154. straight forward.
  155. From 3.11 to 3.12
  156. -----------------
  157. The release 3.12 brings some changes to the database schema.
  158. * Update the data schema using alembic: ``alembic upgrade head``
  159. Note that this release bring support for `OpenID
  160. Connect<https://en.wikipedia.org/wiki/OpenID_Connect>`_ authentication, meaning
  161. pagure can now be deployed with authentication coming from, for example, google.
  162. This brings a number of new configuration keys:
  163. * OIDC_CLIENT_SECRETS
  164. * OIDC_ID_TOKEN_COOKIE_SECURE
  165. * OIDC_SCOPES
  166. * OIDC_PAGURE_EMAIL
  167. * OIDC_PAGURE_FULLNAME
  168. * OIDC_PAGURE_USERNAME
  169. * OIDC_PAGURE_SSH_KEY
  170. * OIDC_PAGURE_GROUPS
  171. * OIDC_PAGURE_USERNAME_FALLBACK
  172. From 3.10 to 3.11
  173. -----------------
  174. The release 3.11 brings some changes to the database schema.
  175. * Update the data schema using alembic: ``alembic upgrade head``
  176. In addition, if you are deploying pagure with fedmsg support you had to set
  177. fedmsg to the
  178. `active <http://www.fedmsg.com/en/stable/publishing/#publishing-through-a-relay>`_
  179. mode for the workers to be able to send fedmsg messages. This is now the
  180. default and forced configuration.
  181. New API acls:
  182. * commit_flag
  183. * pull_request_subscribe
  184. From 3.9 to 3.10
  185. ----------------
  186. The release 3.10 brings some changes to the database schema.
  187. * Update the data schema using alembic: ``alembic upgrade head``
  188. From 3.8 to 3.9
  189. ---------------
  190. This release brings a number of bug fixes and features but does not require
  191. any special precaution when upgrading.
  192. From 3.7 to 3.8
  193. ---------------
  194. The release 3.8 brings some changes to the database schema.
  195. * Update the data schema using alembic: ``alembic upgrade head``
  196. New configuration keys added:
  197. * PROJECT_NAME_REGEX
  198. From 3.6 to 3.7
  199. ---------------
  200. The release 3.7 brings some changes to the database schema.
  201. * Update the data schema using alembic: ``alembic upgrade head``
  202. New configuration keys added:
  203. * ENABLE_DEL_FORKS
  204. * ENABLE_UI_NEW_PROJECTS
  205. From 3.5 to 3.6
  206. ---------------
  207. New configuration keys added:
  208. * GITOLITE_CELERY_QUEUE
  209. From 3.4 to 3.5
  210. ---------------
  211. New configuration keys added:
  212. * USER_ACLS
  213. * CASE_SENSITIVE
  214. * HTML_TITLE
  215. From 3.3 to 3.4
  216. ---------------
  217. New configuration keys added:
  218. * DEPLOY_KEY
  219. * LOCAL_SSH_KEY
  220. * ALLOW_DELETE_BRANCH
  221. From 3.2 to 3.3
  222. ---------------
  223. [SECURITY FIX]: The 3.3 release contains an important security fix.
  224. If you are using the private project feature of pagure, the gitolite
  225. configuration generated was still granting access to the private projects. This
  226. made the private projects visible and accessible.
  227. After updating to 3.3, ensure your gitolite configuration gets re-generated
  228. (pagure-admin refresh-gitolite can help you with this).
  229. The 3.3 release brings some adjustments to the database schema.
  230. * Update the database schema using alembic: ``alembic upgrade head``
  231. From 3.1 to 3.2
  232. ---------------
  233. While not being a bug fix, this release has no database schema changes.
  234. However, this release breaks the plugin interface for auth introduced in 3.1 and
  235. changed in 3.1. If you are using pagure-dist-git, make sure to upgrade to at
  236. least 0.4. This interface will be considered stable in 3.4 and announced as
  237. such.
  238. From 3.0 to 3.1
  239. ---------------
  240. While not being a bug fix, this release has no database schema changes.
  241. However, this release breaks the plugin interface for auth introduced in 3.0. If
  242. you are using pagure-dist-git, make sure to upgrade to at least 0.3.
  243. From 2.15 to 3.0
  244. ----------------
  245. The 3.0 version was released with some major re-architecturing. The interaction
  246. with the backend git repo (being the main source repo or the tickets or requests
  247. repos) are now done by a worker that is triggered via a message queue.
  248. This communication is done using `celery <http://www.celeryproject.org/>`_ and
  249. via one of the message queue celery supports (pagure currently defaulting to
  250. `redis <https://redis.io/>`_.
  251. So to get pagure 3.0 running, you will need to get your own message queue (such
  252. as redis) up running and configured in pagure's configuration.
  253. This major version bump has also been an opportunity to rename all the services
  254. to use the same naming schema of pagure-<service>.
  255. The rename is as such:
  256. +------------------+-----------------+
  257. | In 2.x | From 3.0 |
  258. +==================+=================+
  259. | pagure-ci | pagure-ci |
  260. +------------------+-----------------+
  261. | ev-server | pagure-ev |
  262. +------------------+-----------------+
  263. | pagure-loadjson | pagure-loadjson |
  264. +------------------+-----------------+
  265. | pagure-logcom | pagure-logcom |
  266. +------------------+-----------------+
  267. | milters | pagure-milters |
  268. +------------------+-----------------+
  269. | webhook-server | pagure-webhook |
  270. +------------------+-----------------+
  271. | | pagure-worker |
  272. +------------------+-----------------+
  273. .. note:: This last service is the service mentioned above and it is part of
  274. pagure core, not optional unlike the other services in this table.
  275. This release also introduces some new configuration keys:
  276. - ``CELERY_CONFIG`` defaults to ``{}``
  277. - ``ATTACHMENTS_FOLDER``, to be configured
  278. - ``GITOLITE_BACKEND`` defaults to ``gitolite3``, deprecates ``GITOLITE_VERSION``
  279. - ``EXTERNAL_COMMITTER`` defaults to ``{}``
  280. - ``REQUIRED_GROUPS`` defaults to ``{}``
  281. This version also introduces a few database changes, so you will need to update
  282. the database schema using alembic: ``alembic upgrade head``.
  283. From 2.14 to 2.15
  284. -----------------
  285. The 2.15 release brings some adjustments to the database scheme.
  286. * Update the database schame using alembic: ``alembic upgrade head``
  287. From 2.13 to 2.14
  288. -----------------
  289. The 2.14 release brings some adjustments to the database scheme.
  290. * Update the database schame using alembic: ``alembic upgrade head``
  291. From 2.12 to 2.13
  292. -----------------
  293. The 2.13 release brings some adjustments to the database scheme.
  294. * Update the database schame using alembic: ``alembic upgrade head``
  295. From 2.11 to 2.12
  296. -----------------
  297. From this release on, we will have alembic migration script for new table
  298. creation, so there will no longer be a need to use ``createdb.py``
  299. The 2.12 release brings some adjustments to the database scheme.
  300. * Update the database schame using alembic: ``alembic upgrade head``
  301. From 2.10 to 2.11
  302. -----------------
  303. The 2.10 releases brings some adjustments to the database scheme.
  304. * Create the new DB tables and the new status field using the ``createdb.py``
  305. script.
  306. * Update the database schame using alembic: ``alembic upgrade head``
  307. From 2.9 to 2.10
  308. ----------------
  309. The 2.10 releases brings some little changes to the database scheme.
  310. Therefore when upgrading to 2.10, you will have to:
  311. * Update the database schame using alembic: ``alembic upgrade head``
  312. From 2.8 to 2.9
  313. ---------------
  314. The 2.9 releases brings some adjustments to the database scheme.
  315. * Create the new DB tables and the new status field using the ``createdb.py``
  316. script.
  317. * Update the database schame using alembic: ``alembic upgrade head``
  318. If you are interested in loading your local data into the ``pagure_logs`` table
  319. that this new release adds (data which is then displayed in the calendar heatmap
  320. on the user's page), you can find two utility scripts in
  321. https://pagure.io/pagure-utility that will help you to do that. They are:
  322. * fill_logs_from_db - Based on the data present in the database, this script
  323. fills the ``pagure_logs`` table (this will add: new ticket, new comment, new
  324. PR, closing a PR or a ticket and so on).
  325. * fill_logs_from_gits - By going through all the git repo hosted in your pagure
  326. instance, it will log who did what when.
  327. From 2.7 to 2.8
  328. ---------------
  329. 2.8 brings a little change to the database scheme.
  330. Therefore when upgrading to from 2.7 to 2.8, you will have to:
  331. * Update the database schame using alembic: ``alembic upgrade head``
  332. From 2.6 to 2.7
  333. ---------------
  334. 2.7 adds new tables as well as changes some of the existing ones.
  335. Therefore when upgrading to 2.7, you will have to:
  336. * Create the new DB tables and the new status field using the ``createdb.py``
  337. script.
  338. * Update the database schame using alembic, one of the upgrade will require
  339. access to pagure's configuration file, which should thus be passed onto the
  340. command via an environment variable:
  341. ``PAGURE_CONFIG=/path/to/pagure.cf alembic upgrade head``
  342. This release also brings a new configuration key:
  343. * ``INSTANCE_NAME`` used in the welcome screen shown upon first login (only with
  344. FAS and OpenID auth) to describe the instance
  345. The API has also been upgraded to a version ``0.8`` due to the changes (backward
  346. compatible) made to support the introduction of `close_status` to issues.
  347. From 2.5 to 2.6
  348. ---------------
  349. 2.6 brings quite a few changes and some of them impacting the database scheme.
  350. Therefore when upgrading from 2.4 to 2.6, you will have to:
  351. * Update the database schame using alembic: ``alembic upgrade head``
  352. From 2.4 to 2.5
  353. ---------------
  354. 2.5 brings quite a few changes and some of them impacting the database scheme.
  355. Therefore when upgrading from 2.4 to 2.5, you will have to:
  356. * Update the database schame using alembic: ``alembic upgrade head``
  357. From 2.3 to 2.4
  358. ---------------
  359. 2.4 brings quite a few changes and some of them impacting the database scheme.
  360. Therefore when upgrading from 2.3.x to 2.4, you will have to:
  361. * Update the database schame using alembic: ``alembic upgrade head``
  362. This update also brings some new configuration keys:
  363. * ``VIRUS_SCAN_ATTACHMENTS`` allows turning on or off checking attachments for
  364. virus using clamav. This requires pyclamd but is entirely optional (and off by
  365. default)
  366. * ``PAGURE_CI_SERVICES`` allows specifying with which CI (Continuous
  367. Integration) services this pagure instance can integrate with. Currently, only
  368. `Jenkins` is supported, but this configuration key defaults to ``None``.
  369. From 2.2 to 2.3
  370. ---------------
  371. 2.3 brings a few changes impacting the database scheme, including a new
  372. `duplicate` status for tickets, a feature allowing one to `watch` or
  373. `unwatch` a project and notifications on tickets as exist on pull-requests.
  374. Therefore, when upgrading from 2.2.x to 2.3, you will have to :
  375. * Create the new DB tables and the new status field using the ``createdb.py`` script.
  376. * Update the database schame using alembic: ``alembic upgrade head``
  377. This update also brings a new configuration key:
  378. * ``PAGURE_ADMIN_USERS`` allows to mark some users as instance-wide admins, giving
  379. them full access to every projects, private or not. This feature can then be
  380. used as a way to clean spams.
  381. * ``SMTP_PORT`` allows to specify the port to use when contacting the SMTP
  382. server
  383. * ``SMTP_SSL`` allows to specify whether to use SSL when contacting the SMTP
  384. server
  385. * ``SMTP_USERNAME`` and ``SMTP_PASSWORD`` if provided together allow to contact
  386. an SMTP requiring authentication.
  387. In this update is also added the script ``api_key_expire_mail.py`` meant to be
  388. run by a daily cron job and warning users when their API token is nearing its
  389. expiration date.
  390. 2.2.2
  391. -----
  392. Release 2.2.2 contains an important security fix, blocking a source of XSS
  393. attack.
  394. From 2.1 to 2.2
  395. ---------------
  396. 2.2 brings a number of bug fixes and a few improvements.
  397. One of the major changes impacts the databases where we must change some of the
  398. table so that the foreign key cascade on delete (fixes deleting a project when a
  399. few plugins were activated).
  400. When upgrading for 2.1 to 2.2 all you will have to do is:
  401. * Update the database scheme using alembic: ``alembic upgrade head``
  402. .. note:: If you run another database system than PostgreSQL the alembic
  403. revision ``317a285e04a8_delete_hooks.py`` will require adjustment as the
  404. foreign key constraints are named and the names are driver dependant.
  405. From 2.0 to 2.1
  406. ---------------
  407. 2.1 brings its usual flow of improvements and bug fixes.
  408. When upgrading from 2.0.x to 2.1 all you will have to:
  409. * Update the database schame using alembic: ``alembic upgrade head``
  410. From 1.x to 2.0
  411. ---------------
  412. As the version change indicates, 2.0 brings quite a number of changes,
  413. including some that are not backward compatible.
  414. When upgrading to 2.0 you will have to:
  415. * Update the database schema using alembic: ``alembic upgrade head``
  416. * Create the new DB tables so that the new plugins work using the
  417. ``createdb.py`` script
  418. * Move the forks git repo
  419. Forked git repos are now located under the same folder as the regular git
  420. repos, just under a ``forks/`` subfolder.
  421. So the structure changes from: ::
  422. repos/
  423. ├── foo.git
  424. └── bar.git
  425. forks/
  426. ├── patrick/
  427. │  ├── test.git
  428. │  └── ipsilon.git
  429. └── pingou/
  430. ├── foo.git
  431. └── bar.git
  432. to: ::
  433. repos/
  434. ├── foo.git
  435. ├── bar.git
  436. └── forks/
  437. ├── patrick/
  438. │  ├── test.git
  439. │  └── ipsilon.git
  440. └── pingou/
  441. ├── foo.git
  442. └── bar.git
  443. So the entire ``forks`` folder is moved under the ``repos`` folder where
  444. the other repositories are, containing the sources of the projects.
  445. Git repos for ``tickets``, ``requests`` and ``docs`` will be trickier to
  446. move as the structure changes from: ::
  447. tickets/
  448. ├── foo.git
  449. ├── bar.git
  450. ├── patrick/
  451. │  ├── test.git
  452. │  └── ipsilon.git
  453. └── pingou/
  454. ├── foo.git
  455. └── bar.git
  456. to: ::
  457. tickets/
  458. ├── foo.git
  459. ├── bar.git
  460. └── forks/
  461. ├── patrick/
  462. │  ├── test.git
  463. │  └── ipsilon.git
  464. └── pingou/
  465. ├── foo.git
  466. └── bar.git
  467. Same for the ``requests`` and the ``docs`` git repos.
  468. As you can see in the ``tickets``, ``requests`` and ``docs`` folders there
  469. are two types of folders, git repos which are folder with a name ending
  470. with ``.git``, and folder corresponding to usernames. These last ones are
  471. the ones to be moved into a subfolder ``forks/``.
  472. This can be done using something like: ::
  473. mkdir forks
  474. for i in `ls -1 |grep -v '\.git'`; do mv $i forks/; done
  475. * Re-generate the gitolite configuration.
  476. This can be done via the ``Re-generate gitolite ACLs file`` button in the
  477. admin page.
  478. * Keep URLs backward compatible
  479. The support of pseudo-namespace in pagure 2.0 has required some changes
  480. to the URL schema:
  481. https://pagure.io/pagure/053d8cc95fcd50c23a8b0a7f70e55f8d1cc7aebb
  482. became:
  483. https://pagure.io/pagure/c/053d8cc95fcd50c23a8b0a7f70e55f8d1cc7aebb
  484. (Note the added /c/ in it)
  485. We introduced a backward compatibility fix for this.
  486. This fix is however *disabled* by default so if you wish to keep the URLs
  487. valid, you will need to adjust you configuration file to include: ::
  488. OLD_VIEW_COMMIT_ENABLED = True