Skip to content

Add NuGet package staging CLI proposal - #15048

Draft
Nigusu-Allehu wants to merge 2 commits into
devfrom
dev-nyenework-stage-cli
Draft

Add NuGet package staging CLI proposal#15048
Nigusu-Allehu wants to merge 2 commits into
devfrom
dev-nyenework-stage-cli

Conversation

@Nigusu-Allehu

@Nigusu-Allehu Nigusu-Allehu commented Aug 14, 2026

Copy link
Copy Markdown
Member

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 44164f80-2440-484e-8b53-a260a6430ac8

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an accepted-spec proposal for a new dotnet nuget stage command family, along with a versioned set of JSON Schemas defining the machine-readable (--format json) CLI output contract.

Changes:

  • Introduces v1 JSON Schema “envelope” and per-command result schemas for stage and stage group commands.
  • Documents versioning and schema index for the staging CLI JSON contract.
  • Adds the full design proposal document describing command surface area, protocol discovery, and output rules.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
accepted/2026/nuget-package-staging-cli/schemas/v1/envelope.schema.json Defines the shared v1 output envelope (version/command/result/problems).
accepted/2026/nuget-package-staging-cli/schemas/v1/push.schema.json Schema for stage push JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/list.schema.json Schema for stage list JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/view.schema.json Schema for stage view JSON output result across lifecycle states.
accepted/2026/nuget-package-staging-cli/schemas/v1/delete.schema.json Schema for stage delete JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/group-create.schema.json Schema for stage group create JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/group-list.schema.json Schema for stage group list JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/group-add.schema.json Schema for stage group add JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/group-remove.schema.json Schema for stage group remove JSON output result.
accepted/2026/nuget-package-staging-cli/schemas/v1/group-delete.schema.json Schema for stage group delete JSON output result.
accepted/2026/nuget-package-staging-cli/README.md Explains scope/versioning and provides a schema index.
accepted/2026/nuget-package-staging-cli.md Full accepted proposal detailing commands, protocol mapping, and output contract.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

- HTTP request or response bodies exchanged by the NuGet client and server.
- The staging server's OpenAPI contract.
- Server persistence models.
- Server-only validation states or error details.
Comment on lines +46 to +59
{
"type": "object",
"required": ["status", "created", "errors", "snupkg"],
"properties": {
"status": { "const": "failed" },
"created": { "type": "string", "format": "date-time" },
"errors": { "type": "array" },
"snupkg": {
"type": ["string", "null"],
"enum": ["validating", "staged", "failed", null]
}
},
"additionalProperties": false
}
Comment on lines +24 to +27
"snupkg": {
"type": ["string", "null"],
"enum": ["validating", "staged", "failed", null]
}
@Nigusu-Allehu Nigusu-Allehu self-assigned this Aug 14, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 44164f80-2440-484e-8b53-a260a6430ac8
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.

2 participants