Skip to content

Discussion: deprecate configParser #55

Closed

Description

@woile

Goal

The idea is to deprecate configParser in favor of using only toml configuration.

Description

Right now is possible to have a .cz, setup.cfg, .cz.cfg.
I think configParser is not flexible enough and hard to maintin.
Because commitizen already installs toml, I think we can move from .cz to .cz.toml and we can deprecate setup.cfg, .cz.cfg.

Tasks

  • Remove from init command ini files options
  • Clean documentation from ini confs
  • Remove from code

Activity

  1. Lee-W commented on Nov 18, 2019

    @Lee-W
    Member

    My suggestion would be using the toml format but accept the name .cz, .cz.tmol.

  2. woile commented on Nov 18, 2019

    @woile
    MemberAuthor

    so we'd use toml for everything. It's also a possibility.
    This would be the options:

    .cz
    .cz.toml
    pyproject.toml
    

    and all of the would use toml, right?

  3. Lee-W commented on Nov 18, 2019

    @Lee-W
    Member

    Yep, that makes sense to me. I gonna implement #54 in toml only.

  4. Lee-W commented on Nov 19, 2019

    @Lee-W
    Member

    After reading TOML document, maybe we should not use .cz.

    TOML files should use the extension .toml.

    Also, maybe we should add a deprecation warning for it?

  5. woile commented on Nov 19, 2019

    @woile
    MemberAuthor

    Agreed, let's allow this files only then:

    .cz.toml
    pyproject.toml
    

    And yes, we need to add a deprecation warning

  6. woile commented on Dec 30, 2019

    @woile
    MemberAuthor

    Also: remove from init command those files

  7. added this to the 2.0 milestone on Jan 29, 2020
  8. added
    type: feature
    and removed on Jul 24, 2020
  9. Lee-W commented on Jul 26, 2020

    @Lee-W
    Member

    close by #230

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions