Ticket #10735 (assigned defect)

Opened 5 months ago

Last modified 5 months ago

Uses depreciated AccountManagerPlugin options

Reported by: hasienda Assigned to: fleeblewidget (accepted)
Priority: normal Component: MultiProjectCommitTicketUpdaterPlugin
Severity: normal Keywords: option
Cc: rjollos Trac Release:

Description

In multiprojectcommitticketupdaterplugin/0.12/testing some configuration examples show long depreciated and soon removed options from AccountManagerPlugin:

  • 'password_format' has been obsoleted by
    • 'password_store' for direct store selection including store chaining and
    • store-specific options for hash type selection, i.e.:
      • 'htpasswd_hash_type' for HtPasswdStore
      • 'db_htpasswd_hash_type' for SessionStore with IPasswordHashMethod HtPasswdHashMethod (selected by 'hash_method' in turn)
  • 'password_file' has been depreciated in favor of store-specific options, once more to allow for seamless store chaining
    • 'htpasswd_file' for HtPasswdStore's password file in htpasswd format
    • 'htdigest_file' for HtDigestStore's password file in htdigest format

Please update the documentation accordingly, or link to maintained AccountManagerPlugin documentation like the configuration cookbook page (preferred).

Attachments

Change History

12/30/12 22:35:28 changed by hasienda

(In [12494]) AccountManagerPlugin: Finally remove historic password_file option from file stores, refs #10734 and #10735.

Likewise 'password_format', another depreciated option, is removed too. Both changes have been prepared for a rather long time now, mostly to allow for seamless store chaining. Equivalent options have been introduced before:

  • 'password_file' - depreciated in favor of store-specific options
    • 'htpasswd_file' for HtPasswdStore's password file in htpasswd format
    • 'htdigest_file' for HtDigestStore's password file in htdigest format
  • 'password_format' - obsoleted by a combination of
    • 'password_store' for direct store selection including store chaining
    • store-specific options for hash type selection, i.e.:
      • 'htpasswd_hash_type' for HtPasswdStore
      • 'db_htpasswd_hash_type' for SessionStore with IPasswordHashMethod HtPasswdHashMethod (selected by 'hash_method' in turn)

01/01/13 12:40:00 changed by fleeblewidget

  • status changed from new to assigned.

Ok, thanks, I'll sort that out soon. I've been meaning to do some testing with the new version of Trac anyway.

01/01/13 13:47:38 changed by hasienda

I did a quick 'grep' over all current t-h.o code to make sure, nothing of the old code was left behind. Thanks in advance for taking care within your plugin's domain.

If you need to talk about anything related to this change, or to AcctMgr in general, I'd be happy to assist, call me directly (email or IRC at your discretion).

Just to note, that AcctMgr currently still supports all major and minor Trac versions from 0.11 to current 1.0. After acct_mgr-0.5 I plan to fork, especially to switch support to the new Trac (1.0) db API.


Add/Change #10735 (Uses depreciated AccountManagerPlugin options)




Change Properties
Action