Skip to content

JSON & misc cleanup#1234

Merged
rgoldberg merged 12 commits into
mas-cli:mainfrom
rgoldberg:7.0.0/1233-cleanup
Apr 27, 2026
Merged

JSON & misc cleanup#1234
rgoldberg merged 12 commits into
mas-cli:mainfrom
rgoldberg:7.0.0/1233-cleanup

Conversation

@rgoldberg

Copy link
Copy Markdown
Member

JSON & misc cleanup.

Resolve #1233

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Rename `mappingKeys` as `normalized`.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
…bleURL` as `invalidURL`; update their error messages.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
…<JSON.Object>`.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
@rgoldberg rgoldberg added this to the 7.0.0 milestone Apr 27, 2026
@rgoldberg rgoldberg self-assigned this Apr 27, 2026
@rgoldberg rgoldberg added chore Administrative task: documentation, build, test, release, git, etc. dependencies Update dependencies cleanup Optimization of (not bug fix for) an existing feature labels Apr 27, 2026
@sonarqubecloud

sonarqubecloud Bot commented Apr 27, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
Image 0 New issues
Image 0 Accepted issues

Measures
Image 0 Security Hotspots
Image No data about Coverage
Image 0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Periphery version to 3.7.4 and refactors JSON handling and model initialization. Key updates include renaming capitalizingFirstCharacter to uppercasingFirst, consolidating error types into invalidURL and invalidJSON, and introducing a ThrowingLazy utility for thread-safe, fallible lazy initialization. The CatalogApp and InstalledApp models now use a consistent normalization process for JSON keys, and the mas shell script was refactored to streamline jq logic across the outdated, search, and list commands. I have no feedback to provide.

@rgoldberg rgoldberg modified the milestones: 7.0.0, 7.2.0 Apr 27, 2026
@rgoldberg rgoldberg enabled auto-merge April 27, 2026 09:59
@rgoldberg rgoldberg disabled auto-merge April 27, 2026 10:20
@rgoldberg rgoldberg merged commit 3a5482a into mas-cli:main Apr 27, 2026
9 checks passed
@rgoldberg rgoldberg deleted the 7.0.0/1233-cleanup branch April 27, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Administrative task: documentation, build, test, release, git, etc. cleanup Optimization of (not bug fix for) an existing feature dependencies Update dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON & misc cleanup

1 participant