Mercurial > p > roundup > code
comparison doc/upgrading.txt @ 5735:8ab5fe695d5f
Documented change in representation of octal numbers in the config
file under python3. Moved from leading 0 to leading 0o.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 26 May 2019 18:30:28 -0400 |
| parents | e199d0ae4a25 |
| children | 4c0cdfe4f678 |
comparison
equal
deleted
inserted
replaced
| 5734:5cd9ac3daed7 | 5735:8ab5fe695d5f |
|---|---|
| 63 migration to a different backend. If using the ``sqlite`` backend, | 63 migration to a different backend. If using the ``sqlite`` backend, |
| 64 you do not need to export and import, but need to delete the | 64 you do not need to export and import, but need to delete the |
| 65 ``db/otks`` and ``db/sessions`` files when changing Python version. | 65 ``db/otks`` and ``db/sessions`` files when changing Python version. |
| 66 If using the ``postgresql`` backend, you do not need to export and | 66 If using the ``postgresql`` backend, you do not need to export and |
| 67 import and no other special database-related steps are needed. | 67 import and no other special database-related steps are needed. |
| 68 | |
| 69 Octal values in config.ini change from the python 2 representation | |
| 70 with a leading ``0`` (``022``). They now use a leading ``0o`` | |
| 71 (``0o22``). Note that the ``0o`` format is properly handled under | |
| 72 python 2. You can use the ``newfile.ini`` generated using | |
| 73 ``python3 roundup-admin ... updateconfig newfile.ini`` | |
| 74 if you want to go back to using python 2. | |
| 68 | 75 |
| 69 Migrating from 1.5.1 to 1.6.0 | 76 Migrating from 1.5.1 to 1.6.0 |
| 70 ============================= | 77 ============================= |
| 71 | 78 |
| 72 Update tracker config file | 79 Update tracker config file |
