Roundup Tracker - Issues

Message8500

Author rouilj
Recipients rouilj
Date 2026-08-24.02:38:35
Message-id <1787539115.37.0.588026089305.issue2551332@roundup-tracker.org>
In-reply-to
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.
History
Date User Action Args
2026-08-24 02:38:35rouiljsetmessageid: <1787539115.37.0.588026089305.issue2551332@roundup-tracker.org>
2026-08-24 02:38:35rouiljsetrecipients: + rouilj
2026-08-24 02:38:35rouiljlinkissue2551332 messages
2026-08-24 02:38:35rouiljcreate