mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Move packaging commands to a subdirectory
This commit is contained in:
parent
2676db097e
commit
b9f8caa51e
5 changed files with 5 additions and 8 deletions
|
@ -46,7 +46,7 @@ repos:
|
|||
)$
|
||||
|
||||
- repo: https://github.com/s0undt3ch/python-tools-scripts
|
||||
rev: "0.11.1"
|
||||
rev: "0.12.0"
|
||||
hooks:
|
||||
- id: tools
|
||||
alias: check-changelog-entries
|
||||
|
|
|
@ -6,8 +6,8 @@ ptscripts.register_tools_module("tools.changelog")
|
|||
ptscripts.register_tools_module("tools.ci")
|
||||
ptscripts.register_tools_module("tools.docs")
|
||||
ptscripts.register_tools_module("tools.pkg")
|
||||
ptscripts.register_tools_module("tools.pkgrepo")
|
||||
ptscripts.register_tools_module("tools.pkgbuild")
|
||||
ptscripts.register_tools_module("tools.pkg.repo")
|
||||
ptscripts.register_tools_module("tools.pkg.build")
|
||||
ptscripts.register_tools_module("tools.pre_commit")
|
||||
ptscripts.register_tools_module("tools.release")
|
||||
ptscripts.register_tools_module("tools.vm")
|
||||
|
|
|
@ -14,9 +14,6 @@ from typing import TYPE_CHECKING
|
|||
|
||||
from ptscripts import Context, command_group
|
||||
|
||||
import tools.pkg
|
||||
import tools.utils
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
# Define the command group
|
||||
|
@ -24,7 +21,7 @@ build = command_group(
|
|||
name="build",
|
||||
help="Package build related commands.",
|
||||
description=__doc__,
|
||||
parent=tools.pkg.pkg,
|
||||
parent="pkg",
|
||||
)
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ repo = command_group(
|
|||
name="repo",
|
||||
help="Packaging Repository Related Commands",
|
||||
description=__doc__,
|
||||
parent=tools.pkg.pkg,
|
||||
parent="pkg",
|
||||
)
|
||||
|
||||
create = command_group(
|
Loading…
Add table
Reference in a new issue