microsoft / microsoft/powerplatform-vscode

`pac solution version` changes formatting in solution.xml, causing unnecessary diff noise

Open
#454 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

E.g. running `pac solution version -s Solution' changes the solution.xml in the following way:

image

(whereas pac solution sync preserves xml formatting).

Bug: pac solution version should not change formatting of solution.xml

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the issue with pac solution version -s Solution and compare the resulting solution.xml with the original and with output from pac solution sync. Trace the version command's XML handling; done means updating the solution version without changing unrelated XML formatting or creating diff noise.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.