Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate sympa_wizard.pl #508

Closed
5 tasks done
ikedas opened this issue Dec 14, 2018 · 3 comments · Fixed by #1370
Closed
5 tasks done

Deprecate sympa_wizard.pl #508

ikedas opened this issue Dec 14, 2018 · 3 comments · Fixed by #1370

Comments

@ikedas
Copy link
Member

ikedas commented Dec 14, 2018

Expected Behavior

sympa_wizard.pl will be deprecated, and reasonable alternative(s) will be suggested or provided.

Current Behavior

sympa_wizard.pl is provided to install dependent modules, edit sympa.conf and so on.

Possible Solution

Currently, sympa_wizard.pl provides following functions. We have to find or implement their alternatives.

  • sympa_wizard.pl
    Function: Edit current Sympa configuration.

    ⇒ Users may edit sympa.conf manually, or may use the other functions to modify configuration.

  • sympa_wizard.pl --batch key=value ...
    Function: Edit in batch mode. Arguments would include pairs of parameter name and value.

    ⇒ Implement new function such as:

    sympa.pl --conf key=value ...

    sympa config key=value ...

  • sympa_wizard.pl --check
    Function: Check CPAN modules needed for running Sympa.

    ⇒ Currently cpanfile is available (See details). Or, users may use package systems they prefer.

  • sympa_wizard.pl --create [ --target file ]
    Function: Creates a new sympa.conf configuration file.

    ⇒ Users may compose sympa.conf manually, or may use the other functions to create and modify configuration.
    ⇒ With consensus made on Add a configure option for sympa.conf-dist location #601, implement new function such as:

    sympa config create [ --config file ]

  • sympa_wizard.pl --display
    Function: Outputs all configuration parameters.

    ⇒ Implement new function such as:

    sympa.pl --conf

    sympa config show

Context

What sympa_wizard aimed were providing easy way to install dependent modules and creating initial configuration relying only upon Perl core. However, nowaday sympa_wizard.pl is not so flexible as users need.


EDIT: 2021-12-11 Changed command line of new functions.

@racke
Copy link
Contributor

racke commented Dec 22, 2018

I agree with the deprecation, but we need to keep in mind that it is used in the postinst script from the Debian package.

@ikedas
Copy link
Member Author

ikedas commented Dec 23, 2018

I consider it. I think of preparing a minimal sympa.conf and installing it.

@dverdin
Copy link
Contributor

dverdin commented Feb 8, 2019

I agree with the deprecation too. People installing Sympa for the first time tend to validate default value in batch. Plus the wizard was somewhat creating a confusion with configure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants