Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: commitizen-tools/commitizen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: AdrianDC/commitizen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: prerelease
Choose a head ref
  • 13 commits
  • 9 files changed
  • 1 contributor

Commits on Nov 16, 2024

  1. feat(commit): allow '-- --allow-empty' to create empty commits

    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    a442d70 View commit details
    Browse the repository at this point in the history
  2. test(cz_customize): add missing YAML configuration file tests

    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    753c905 View commit details
    Browse the repository at this point in the history
  3. test(cz_customize): fix YAML test and docs configurations quotes

    > commitizen.exceptions.InvalidConfigurationError: Failed to parse not_exist.yaml: while scanning a double-quoted scalar
    > found unknown escape character 's'
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    735b4fe View commit details
    Browse the repository at this point in the history
  4. test(cz_customize): fix missing YAML test keys against JSON/TOML

    > test_commit_parser[config2] - AssertionError:
    >   assert '(?P<message>.*)' == '^(?P<change_...<message>.*)?'
    > test_changelog_pattern[config2] - AssertionError:
    >   assert '.*' == '^(feature|bug fix)?(!)?'
    > test_change_type_map[config2] - AssertionError:
    >   assert None == {'bug fix': 'Fix', 'feature': 'Feat'}
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    e41b7e4 View commit details
    Browse the repository at this point in the history
  5. chore(scripts): allow passing 'pytest' arguments to './script/test'

    Example: ./scripts/test -k 'test_commit_when_' --no-cov
    ---
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    db9e565 View commit details
    Browse the repository at this point in the history
  6. test(command): cover 'nothing added' and 'no changes added to commit'

    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    5501b08 View commit details
    Browse the repository at this point in the history
  7. fix(commit): ensure 'questions' is a Python dictionary and not TOML

    Details: If using a TOML configuration, the type was 'tomlkit.items.AoT'
    ---
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    742e4f9 View commit details
    Browse the repository at this point in the history
  8. test(cz_customize): use 'cz_customize' configurations in its tests

    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    c75de9a View commit details
    Browse the repository at this point in the history
  9. feat(commit): implement questions 'filter' support with handlers

    Supported APIs:
      - multiple_line_breaker
      - required_validator
      - required_validator_scope
      - required_validator_subject_strip
      - required_validator_title_strip
    
    Example YAML configurations:
    ---
    commitizen:
      name: cz_customize
      customize:
        questions:
          - ...
          - type: input
            name: scope
            message: 'Scope of the change :'
            filter: 'required_validator_scope'
            default: ''
          - type: input
            name: subject
            message: 'Title of the commit (starting in lower case and without period) :'
            filter: 'required_validator_subject_strip'
            default: ''
          - type: input
            name: body
            message: 'Additional contextual message (Empty to skip) :'
            default: 'Issue: #...'
            filter: 'multiple_line_breaker'
    ---
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    33bbf0f View commit details
    Browse the repository at this point in the history
  10. fix(pre-commit-hooks)!: move 'check' to 'args' for global options

    Details: 'args: [...]' is not able to access '-nr NO_RAISE' global
             arguments for example from a arguments configuration
    ---
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    2b00aff View commit details
    Browse the repository at this point in the history
  11. fix(pre-commit-hooks)!: allow empty ranges in 'commitizen-branch'

    Details: Pushing the same history from 'develop' to 'staging' for
             example fails because range 'origin/HEAD..HEAD' is empty
    > No commit found with range: 'origin/HEAD..HEAD'
    ---
    
    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    a58275f View commit details
    Browse the repository at this point in the history
  12. ci(gitlab-ci): create 'codestyle' and 'test' job for 'gcil' usage

    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    c4be47f View commit details
    Browse the repository at this point in the history
  13. build(commitizen): isolate version to '3.31.0+adriandc.20241116'

    Signed-off-by: Adrian DC <radian.dc@gmail.com>
    AdrianDC committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    d3f601d View commit details
    Browse the repository at this point in the history
Loading