mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 02:00:20 +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
|
- repo: https://github.com/s0undt3ch/python-tools-scripts
|
||||||
rev: "0.11.1"
|
rev: "0.12.0"
|
||||||
hooks:
|
hooks:
|
||||||
- id: tools
|
- id: tools
|
||||||
alias: check-changelog-entries
|
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.ci")
|
||||||
ptscripts.register_tools_module("tools.docs")
|
ptscripts.register_tools_module("tools.docs")
|
||||||
ptscripts.register_tools_module("tools.pkg")
|
ptscripts.register_tools_module("tools.pkg")
|
||||||
ptscripts.register_tools_module("tools.pkgrepo")
|
ptscripts.register_tools_module("tools.pkg.repo")
|
||||||
ptscripts.register_tools_module("tools.pkgbuild")
|
ptscripts.register_tools_module("tools.pkg.build")
|
||||||
ptscripts.register_tools_module("tools.pre_commit")
|
ptscripts.register_tools_module("tools.pre_commit")
|
||||||
ptscripts.register_tools_module("tools.release")
|
ptscripts.register_tools_module("tools.release")
|
||||||
ptscripts.register_tools_module("tools.vm")
|
ptscripts.register_tools_module("tools.vm")
|
||||||
|
|
|
@ -14,9 +14,6 @@ from typing import TYPE_CHECKING
|
||||||
|
|
||||||
from ptscripts import Context, command_group
|
from ptscripts import Context, command_group
|
||||||
|
|
||||||
import tools.pkg
|
|
||||||
import tools.utils
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Define the command group
|
# Define the command group
|
||||||
|
@ -24,7 +21,7 @@ build = command_group(
|
||||||
name="build",
|
name="build",
|
||||||
help="Package build related commands.",
|
help="Package build related commands.",
|
||||||
description=__doc__,
|
description=__doc__,
|
||||||
parent=tools.pkg.pkg,
|
parent="pkg",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ repo = command_group(
|
||||||
name="repo",
|
name="repo",
|
||||||
help="Packaging Repository Related Commands",
|
help="Packaging Repository Related Commands",
|
||||||
description=__doc__,
|
description=__doc__,
|
||||||
parent=tools.pkg.pkg,
|
parent="pkg",
|
||||||
)
|
)
|
||||||
|
|
||||||
create = command_group(
|
create = command_group(
|
Loading…
Add table
Reference in a new issue