Skip to content

Improve documentation, improve security, improve Scripts/mas & cleanup code#1238

Merged
rgoldberg merged 6 commits intomas-cli:mainfrom
rgoldberg:7.0.0/1237-cleanup
May 1, 2026
Merged

Improve documentation, improve security, improve Scripts/mas & cleanup code#1238
rgoldberg merged 6 commits intomas-cli:mainfrom
rgoldberg:7.0.0/1237-cleanup

Conversation

@rgoldberg
Copy link
Copy Markdown
Member

@rgoldberg rgoldberg commented Apr 29, 2026

  • Document outdated-app detection in README.md.
  • Improve existing documentation in README.md, AGENTS.md & GEMINI.md.
  • Add SECURITY.md.
  • Pin GHA actions to git revisions.
  • Minimize permission scopes in GHA workflows.
  • Improve Scripts/mas.
  • Cleanup code.

Resolve #1237

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
@rgoldberg rgoldberg added this to the 7.0.0 milestone Apr 29, 2026
@rgoldberg rgoldberg self-assigned this Apr 29, 2026
@rgoldberg rgoldberg added the cleanup Optimization of (not bug fix for) an existing feature label Apr 29, 2026
Copy link
Copy Markdown

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

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 DownloadQueueObserver to return from the task when self is nil and includes minor reformatting in CatalogApp.swift. Feedback was provided regarding the placement of the editorconfig-checker-disable-next-line comment, as moving it to the end of a line may prevent the linting tool from correctly suppressing line-length violations.

Comment thread Sources/mas/Models/CatalogApp.swift
@rgoldberg rgoldberg requested a review from a team as a code owner May 1, 2026 15:19
@rgoldberg
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown

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

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 introduces a SECURITY.md file, adds a comprehensive 'Outdated-App Detection' section to the README.md explaining various configuration flags, and refactors the mas script for improved path handling and error reporting. It also includes a fix for a task lifecycle issue in the download observer. Review feedback focuses on correcting a broken link in the security policy, ensuring Markdown files adhere to the 80-character line length limit specified in the style guide, and properly formatting linter directives.

Comment thread SECURITY.md Outdated
Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md
Comment thread Sources/mas/Models/CatalogApp.swift
@rgoldberg rgoldberg force-pushed the 7.0.0/1237-cleanup branch from 5e08d63 to dfb08e9 Compare May 1, 2026 16:45
rgoldberg added 4 commits May 1, 2026 12:49
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 force-pushed the 7.0.0/1237-cleanup branch from dfb08e9 to 5bc13cd Compare May 1, 2026 16:49
@rgoldberg rgoldberg changed the title Cleanup code Improve README.md, improve security, improve Scripts/mas & cleanup code May 1, 2026
@rgoldberg rgoldberg added the chore Administrative task: documentation, build, test, release, git, etc. label May 1, 2026
Improve existing documentation in `README.md`, `AGENTS.md` & `GEMINI.md`.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
@rgoldberg rgoldberg force-pushed the 7.0.0/1237-cleanup branch from 5bc13cd to caec297 Compare May 1, 2026 18:25
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

@rgoldberg rgoldberg changed the title Improve README.md, improve security, improve Scripts/mas & cleanup code Improve documentation, improve security, improve Scripts/mas & cleanup code May 1, 2026
@rgoldberg rgoldberg merged commit 49222bc into mas-cli:main May 1, 2026
9 checks passed
@rgoldberg rgoldberg deleted the 7.0.0/1237-cleanup branch May 1, 2026 19:03
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve documentation, improve security, improve Scripts/mas & cleanup code

1 participant