Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Copilot] Add conditional constraints enforcing the pairing rules between 'replace-upstream' and 'replace-reason'

Open
#178 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 7 days

@liunan-ms is already working on this.

Since Sep 8, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement
Issue Description

The source-files section in the TOMLs has the replace-upstream and replace-reason fields added in #171, which have a conditional dependency on each other encoded inside the configfile.go::validateReplaceUpstream function. That dependency is not encoded in the auto-generated JSON schema for the time being.

Expected Changes

Once #171 is merged, we'd like to update our JSON schema generation to reflect these conditional constraints.

Additional Context

No response

Dominant language
Go
Stars
18
Forks
28
Avg merge
6d 19h
Merged PRs (30d)
19

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/azure-linux-dev-tools

All issues in microsoft/azure-linux-dev-tools

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.