Message8500
Fixed on: changeset: 8773:29800bbb7c09
One minor nit: when automatic value upgrades occur (number of rounds for
password encryption) the setting is overwritten and not checked
to see if it is set in the DEFAULT section and interpolated.
So:
[DEFAULT]
rounds = 250000
[web]
password_pbkdf2_default_rounds = %(rounds)s
would have %(rounds)s replaced by an updated number, the value for
rounds would be unchanged.
I can get the DEFAULT section and strip the HOME and other defaults
passed in by
roundup. That lets me recreate the DEFAULT section (except for
interpolations among
values in the DEFAULT section).
There is also a raw=True argument I can use with the config get method
to get the original
uninterpolated line.
It was a matter of storing that raw line with the option and setting up
the updateconfig
to output the raw line when saving the config file in update mode and
output a DEFAULT section. |
|
| Date |
User |
Action |
Args |
| 2026-08-24 02:38:35 | rouilj | set | messageid: <1787539115.37.0.588026089305.issue2551332@roundup-tracker.org> |
| 2026-08-24 02:38:35 | rouilj | set | recipients:
+ rouilj |
| 2026-08-24 02:38:35 | rouilj | link | issue2551332 messages |
| 2026-08-24 02:38:35 | rouilj | create | |
|