RepoAuditor 0.2.44__tar.gz → 0.2.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {repoauditor-0.2.44 → repoauditor-0.2.46}/PKG-INFO +1 -1
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +5 -3
- repoauditor-0.2.44/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py → repoauditor-0.2.46/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowMainlineForcePushes.py +3 -3
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/CommunityStandardsQuery.py +5 -1
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/__init__.py +1 -1
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHub_EndToEndTest.py +2 -2
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +2 -2
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.copier-answers.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/CODEOWNERS +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/ISSUE_TEMPLATE/custom.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/actions/release_impl/action.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/pull_request_template.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/release_sources.yaml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/workflows/CICD.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/workflows/CICD_impl.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/workflows/EndToEnd.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.github/workflows/codeql.yml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.gitignore +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.pre-commit-config.yaml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/.python-version +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/CODE_OF_CONDUCT.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/CONTRIBUTING.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/DEVELOPMENT.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/GOVERNANCE.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/LICENSE +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/MAINTAINERS.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/README.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/SECURITY.md +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/default_config.yaml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/minisign_key.pub +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/pyproject.toml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/AutoGitSemVer.yaml +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/CommandLineProcessor.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Display.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/EntryPoint.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/ExecuteModules.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Impl/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Module.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugin.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/Module.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubBase/Module.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubBase/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Impl/ExistsRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Impl/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Module.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Requirements/CodeOwners.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Requirements/Contributing.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Requirements/IssueTemplates.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Requirements/PullRequestTemplates.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Requirements/SecurityPolicy.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Requirements/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandardsPlugin.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Impl/EnableRulesetRequirementImpl.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Impl/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Module.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/RequirePullRequests.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/RequireSignedCommits.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/RequireStatusChecks.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/RulesetQuery.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesetsPlugin.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Query.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Requirement.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/py.typed +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/src/github_auditor/__init__.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/CommandLineProcessor_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/EntryPoint_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/ExecuteModules_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Module_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugin_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubCommunityStandards/CommunityStandardsQuery_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubCommunityStandards/ExistsRequirementImpl_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubCommunityStandards/GitHubCommunityStandards_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubCommunityStandards_EndToEndTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionQuery_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/EnsureStatusChecks_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireApprovals_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireCodeOwnerReview_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireUpToDateBranches_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ClassicValueRequirementImpl_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/DefaultBranchQueryRequirements/Protected_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/DefaultBranchQuery_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/GitHubModule_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/GitHubSession_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/DependabotSecurityUpdates_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/Description_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/License_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/MergeCommitMessage_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/Private_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/SecretScanningPushProtection_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/SecretScanning_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQueryRequirements/SquashMergeCommitMessage_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQuery_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ValueRequrementImpl_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/fixtures.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubRuleset_EndToEndTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubRulesets/EnableRulesetRequirementImpl_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubRulesets/GitHubRuleset_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubRulesets/RulsesetQuery_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/__snapshots__/GitHubCommunityStandards_EndToEndTest.ambr +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/__snapshots__/GitHubRuleset_EndToEndTest.ambr +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/conftest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/utilities.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Query_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Requirement_UnitTest.py +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
- {repoauditor-0.2.44 → repoauditor-0.2.46}/uv.lock +0 -0
|
@@ -39,7 +39,7 @@ RESPONSE:
|
|
|
39
39
|
"enabled": RequireLinearHistory
|
|
40
40
|
},
|
|
41
41
|
"allow_force_pushes": {
|
|
42
|
-
"enabled":
|
|
42
|
+
"enabled": AllowMainlineForcePushes
|
|
43
43
|
},
|
|
44
44
|
"allow_deletions": {
|
|
45
45
|
"enabled": AllowDeletions
|
|
@@ -65,7 +65,9 @@ import requests
|
|
|
65
65
|
from dbrownell_Common.Types import override # type: ignore[import-untyped]
|
|
66
66
|
|
|
67
67
|
from RepoAuditor.Plugins.GitHub.ClassicBranchProtectionRequirements.AllowDeletions import AllowDeletions
|
|
68
|
-
from RepoAuditor.Plugins.GitHub.ClassicBranchProtectionRequirements.
|
|
68
|
+
from RepoAuditor.Plugins.GitHub.ClassicBranchProtectionRequirements.AllowMainlineForcePushes import (
|
|
69
|
+
AllowMainlineForcePushes,
|
|
70
|
+
)
|
|
69
71
|
from RepoAuditor.Plugins.GitHub.ClassicBranchProtectionRequirements.DismissStalePullRequestApprovals import (
|
|
70
72
|
DismissStalePullRequestApprovals,
|
|
71
73
|
)
|
|
@@ -114,7 +116,7 @@ class ClassicBranchProtectionQuery(Query):
|
|
|
114
116
|
ExecutionStyle.Parallel,
|
|
115
117
|
[
|
|
116
118
|
AllowDeletions(),
|
|
117
|
-
|
|
119
|
+
AllowMainlineForcePushes(),
|
|
118
120
|
DismissStalePullRequestApprovals(),
|
|
119
121
|
DoNotAllowBypassSettings(),
|
|
120
122
|
EnsureStatusChecks(),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# | Distributed under the MIT License.
|
|
5
5
|
# |
|
|
6
6
|
# -------------------------------------------------------------------------------
|
|
7
|
-
"""Contains the
|
|
7
|
+
"""Contains the AllowMainlineForcePushes object."""
|
|
8
8
|
|
|
9
9
|
import textwrap
|
|
10
10
|
|
|
@@ -14,13 +14,13 @@ from RepoAuditor.Plugins.GitHub.ClassicBranchProtectionRequirements.Impl.Classic
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
class
|
|
17
|
+
class AllowMainlineForcePushes(ClassicEnableRequirementImpl):
|
|
18
18
|
"""Allow force pushes to the mainline branch."""
|
|
19
19
|
|
|
20
20
|
# ----------------------------------------------------------------------
|
|
21
21
|
def __init__(self) -> None:
|
|
22
22
|
super().__init__(
|
|
23
|
-
"
|
|
23
|
+
"AllowMainlineForcePushes",
|
|
24
24
|
False,
|
|
25
25
|
"true",
|
|
26
26
|
"Rules applied to everyone including administrators",
|
|
@@ -10,7 +10,6 @@ from tempfile import TemporaryDirectory
|
|
|
10
10
|
from typing import Any, Optional
|
|
11
11
|
|
|
12
12
|
from dbrownell_Common.Types import override # type: ignore[import-untyped]
|
|
13
|
-
from git import Repo
|
|
14
13
|
|
|
15
14
|
from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.CodeOwners import CodeOwners
|
|
16
15
|
from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.Contributing import Contributing
|
|
@@ -48,6 +47,11 @@ class CommunityStandardsQuery(Query):
|
|
|
48
47
|
github_url = module_data["url"]
|
|
49
48
|
branch = module_data.get("branch", "main")
|
|
50
49
|
temp_repo_dir = TemporaryDirectory()
|
|
50
|
+
|
|
51
|
+
# Import git.Repo here so that it is only imported
|
|
52
|
+
# if the GitHubCommunityStandards plugin is requested.
|
|
53
|
+
from git import Repo
|
|
54
|
+
|
|
51
55
|
Repo.clone_from(github_url, temp_repo_dir.name, branch=branch)
|
|
52
56
|
|
|
53
57
|
# Record the path and the temp directory for later cleanup
|
|
@@ -238,10 +238,10 @@ class TestClassic:
|
|
|
238
238
|
assert ScrubDurationGithuburlAndSpaces(result.stdout) == snapshot
|
|
239
239
|
|
|
240
240
|
# ----------------------------------------------------------------------
|
|
241
|
-
def
|
|
241
|
+
def test_AllowMainlineForcePush(self, pat_args, snapshot):
|
|
242
242
|
result = CliRunner().invoke(
|
|
243
243
|
app,
|
|
244
|
-
pat_args + ["--GitHub-
|
|
244
|
+
pat_args + ["--GitHub-AllowMainlineForcePushes-true"],
|
|
245
245
|
)
|
|
246
246
|
|
|
247
247
|
assert result.exit_code == -1, result.output
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr
RENAMED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
'''
|
|
45
45
|
# ---
|
|
46
|
-
# name: TestClassic.
|
|
46
|
+
# name: TestClassic.test_AllowMainlineForcePush
|
|
47
47
|
'''
|
|
48
48
|
Processing 1 module...
|
|
49
49
|
Processing 'GitHub' (1 of 1)...
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
│ Errors: 1 (2.78%) │
|
|
65
65
|
│ Skipped: 1 (2.78%) │
|
|
66
66
|
│ │
|
|
67
|
-
│ [31m╭─[0m[31m [Error]
|
|
67
|
+
│ [31m╭─[0m[31m [Error] AllowMainlineForcePushes [0m[31m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m[31m─╮[0m │
|
|
68
68
|
│ [31m│[0m [31m│[0m │
|
|
69
69
|
│ [31m│[0m Validates that 'Allow force pushes' is set to the expected value. [31m│[0m │
|
|
70
70
|
│ [31m│[0m [31m│[0m │
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandards/Module.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubCommunityStandardsPlugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/Impl/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/RulesetQuery.py
RENAMED
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/src/RepoAuditor/Plugins/GitHubRulesets/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubCommunityStandards_EndToEndTest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/DefaultBranchQuery_UnitTest.py
RENAMED
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/GitHubModule_UnitTest.py
RENAMED
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/GitHubSession_UnitTest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/StandardQuery_UnitTest.py
RENAMED
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubModule/ValueRequrementImpl_UnitTest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubRulesets/GitHubRuleset_UnitTest.py
RENAMED
|
File without changes
|
{repoauditor-0.2.44 → repoauditor-0.2.46}/tests/Plugins/GitHubRulesets/RulsesetQuery_UnitTest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|