diff options
author | Anders Kaseorg <andersk@mit.edu> | 2021-11-13 11:52:55 -0800 |
---|---|---|
committer | Joris Roovers <joris.roovers@gmail.com> | 2021-11-20 18:46:59 +0100 |
commit | b4729e0e7945475504c0c1664ea577e826d07ff5 (patch) | |
tree | ba05ce40e1dcaecea3ca31dcb4c665030ede87ea | |
parent | a8b178cefe5c982225236b22985af11622744f01 (diff) |
Split into gitlint and gitlint-core to allow unpinning requirements
gitlint’s pinned requirements make it difficult to use with other
libraries and tools that have newer requirements, and may hold back
important security updates. However, the maintainer prefers to expose
pinned requirements by default.
Reconcile this by splitting gitlint into two packages:
* gitlint-core has unpinned requirements by default, but pinned
requirements with the [trusted-deps] extra.
* gitlint becomes an empty package that requires
gitlint-core[trusted-deps].
Fixes #162.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
-rw-r--r-- | .coveragerc | 2 | ||||
-rw-r--r-- | .github/workflows/checks.yml | 10 | ||||
-rw-r--r-- | .pre-commit-hooks.yaml | 1 | ||||
-rw-r--r-- | MANIFEST.in | 4 | ||||
-rw-r--r-- | docs/configuration.md | 2 | ||||
-rw-r--r-- | docs/contributing.md | 6 | ||||
-rw-r--r-- | docs/user_defined_rules.md | 4 | ||||
-rw-r--r-- | examples/gitlint | 2 | ||||
l--------- | gitlint-core/LICENSE | 1 | ||||
-rw-r--r-- | gitlint-core/MANIFEST.in | 3 | ||||
l--------- | gitlint-core/README.md | 1 | ||||
-rw-r--r-- | gitlint-core/gitlint/__init__.py (renamed from gitlint/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/cache.py (renamed from gitlint/cache.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/cli.py (renamed from gitlint/cli.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/config.py (renamed from gitlint/config.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/contrib/__init__.py (renamed from gitlint/contrib/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/contrib/rules/__init__.py (renamed from gitlint/contrib/rules/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/contrib/rules/conventional_commit.py (renamed from gitlint/contrib/rules/conventional_commit.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/contrib/rules/signedoff_by.py (renamed from gitlint/contrib/rules/signedoff_by.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/display.py (renamed from gitlint/display.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/exception.py (renamed from gitlint/exception.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/files/commit-msg (renamed from gitlint/files/commit-msg) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/files/gitlint (renamed from gitlint/files/gitlint) | 2 | ||||
-rw-r--r-- | gitlint-core/gitlint/git.py (renamed from gitlint/git.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/hooks.py (renamed from gitlint/hooks.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/lint.py (renamed from gitlint/lint.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/options.py (renamed from gitlint/options.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/rule_finder.py (renamed from gitlint/rule_finder.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/rules.py (renamed from gitlint/rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/shell.py (renamed from gitlint/shell.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/__init__.py (renamed from gitlint/tests/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/base.py (renamed from gitlint/tests/base.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/cli/test_cli.py (renamed from gitlint/tests/cli/test_cli.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/cli/test_cli_hooks.py (renamed from gitlint/tests/cli/test_cli_hooks.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/config/test_config.py (renamed from gitlint/tests/config/test_config.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/config/test_config_builder.py (renamed from gitlint/tests/config/test_config_builder.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/config/test_config_precedence.py (renamed from gitlint/tests/config/test_config_precedence.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/config/test_rule_collection.py (renamed from gitlint/tests/config/test_rule_collection.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/contrib/__init__.py (renamed from gitlint/tests/contrib/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/contrib/rules/__init__.py (renamed from gitlint/tests/contrib/rules/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/contrib/rules/test_conventional_commit.py (renamed from gitlint/tests/contrib/rules/test_conventional_commit.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/contrib/rules/test_signedoff_by.py (renamed from gitlint/tests/contrib/rules/test_signedoff_by.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/contrib/test_contrib_rules.py (renamed from gitlint/tests/contrib/test_contrib_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_contrib_1 (renamed from gitlint/tests/expected/cli/test_cli/test_contrib_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_debug_1 (renamed from gitlint/tests/expected/cli/test_cli/test_debug_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_input_stream_1 (renamed from gitlint/tests/expected/cli/test_cli/test_input_stream_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_input_stream_debug_1 (renamed from gitlint/tests/expected/cli/test_cli/test_input_stream_debug_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_input_stream_debug_2 (renamed from gitlint/tests/expected/cli/test_cli/test_input_stream_debug_2) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_commit_1 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_commit_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_multiple_commits_1 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_multiple_commits_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_multiple_commits_config_1 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_multiple_commits_config_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_staged_msg_filename_1 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_staged_msg_filename_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_staged_msg_filename_2 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_staged_msg_filename_2) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_staged_stdin_1 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_staged_stdin_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_lint_staged_stdin_2 (renamed from gitlint/tests/expected/cli/test_cli/test_lint_staged_stdin_2) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_named_rules_1 (renamed from gitlint/tests/expected/cli/test_cli/test_named_rules_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli/test_named_rules_2 (renamed from gitlint/tests/expected/cli/test_cli/test_named_rules_2) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_config_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_config_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_config_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_config_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_edit_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_edit_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_edit_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_edit_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_local_commit_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_local_commit_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_local_commit_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_local_commit_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_tty_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_tty_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_tty_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_no_tty_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_no_violations_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_no_violations_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_violations_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_violations_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_violations_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_stdin_violations_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_yes_1_stderr (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_yes_1_stderr) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_hook_yes_1_stdout (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_hook_yes_1_stdout) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_1 (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2 (renamed from gitlint/tests/expected/cli/test_cli_hooks/test_run_hook_negative_2) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/git/test_git.py (renamed from gitlint/tests/git/test_git.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/git/test_git_commit.py (renamed from gitlint/tests/git/test_git_commit.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/git/test_git_context.py (renamed from gitlint/tests/git/test_git_context.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/__init__.py (renamed from gitlint/tests/rules/__init__.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/test_body_rules.py (renamed from gitlint/tests/rules/test_body_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/test_configuration_rules.py (renamed from gitlint/tests/rules/test_configuration_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/test_meta_rules.py (renamed from gitlint/tests/rules/test_meta_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/test_rules.py (renamed from gitlint/tests/rules/test_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/test_title_rules.py (renamed from gitlint/tests/rules/test_title_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/rules/test_user_rules.py (renamed from gitlint/tests/rules/test_user_rules.py) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/fixup (renamed from gitlint/tests/samples/commit_message/fixup) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/merge (renamed from gitlint/tests/samples/commit_message/merge) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/no-violations (renamed from gitlint/tests/samples/commit_message/no-violations) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/revert (renamed from gitlint/tests/samples/commit_message/revert) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/sample1 (renamed from gitlint/tests/samples/commit_message/sample1) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/sample2 (renamed from gitlint/tests/samples/commit_message/sample2) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/sample3 (renamed from gitlint/tests/samples/commit_message/sample3) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/sample4 (renamed from gitlint/tests/samples/commit_message/sample4) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/sample5 (renamed from gitlint/tests/samples/commit_message/sample5) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/commit_message/squash (renamed from gitlint/tests/samples/commit_message/squash) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/config/gitlintconfig (renamed from gitlint/tests/samples/config/gitlintconfig) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/config/invalid-option-value (renamed from gitlint/tests/samples/config/invalid-option-value) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/config/named-rules (renamed from gitlint/tests/samples/config/named-rules) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/config/no-sections (renamed from gitlint/tests/samples/config/no-sections) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/config/nonexisting-general-option (renamed from gitlint/tests/samples/config/nonexisting-general-option) | 0 | ||||
-rw-r--r-- | gitlint-core/gitlint/tests/samples/config/nonexisting-option (renamed from gitlint/tests/samples/config/nonexisting-option) | 0 | ||||
-rw-r--r- |