Skip to content

SP-957: move Team-to-Team Copy commands to 't2tc package' group#370

Open
Zgjim Haziri (ZgjimHaziri) wants to merge 1 commit into
SP-874-add-single-package-import-commandfrom
SP-957-t2tc-command-group
Open

SP-957: move Team-to-Team Copy commands to 't2tc package' group#370
Zgjim Haziri (ZgjimHaziri) wants to merge 1 commit into
SP-874-add-single-package-import-commandfrom
SP-957-t2tc-command-group

Conversation

@ZgjimHaziri
Copy link
Copy Markdown
Contributor

Description

The batch commands config list/export/import/diff are specific to the Team-to-Team Copy (T2TC) service but lived under the generic top-level config group, mixed in with the package-resource commands (package, nodes, versions, variables, metadata). This made the surface confusing: bulk T2TC-archive operations looked like general-purpose commands.

Approach: group the T2TC operations under a dedicated t2tc package group, and keep config for package-resource commands only.

  • config list/export/import/difft2tc package list/export/import/diff
  • config validateconfig package validate (it validates a package)
  • Added config package list for everyday package listing (staging packages by default, with flavor filtering)

Non-breaking: the old commands are kept as deprecated aliases. Each prints a runtime deprecation notice pointing to its replacement and is marked [Deprecated] in --help, so existing automation keeps working until the aliases are removed in a future release.

Docs updated accordingly (new t2tc-commands.md, reframed config-commands.md, mkdocs nav).

Stacked on #369 (SP-874) — base will retarget to main once that merges.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

Made with Cursor

Bulk T2TC operations (list/export/import/diff) move from the top-level
'config' group to a dedicated 't2tc package' group, and 'config validate'
moves to 'config package validate'. The old commands remain as deprecated
aliases with runtime deprecation notices pointing to the new ones, so the
change is non-breaking. Also adds a staging-focused 'config package list'
and updates the docs.

Includes-AI-Code: true
Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant