Skip to content

feat(poly sync): sort the bricks to add by brick type and alphabetically - #457

Merged
DavidVujic merged 3 commits into
mainfrom
poly-sync-sorted-bricks
Jul 27, 2026
Merged

feat(poly sync): sort the bricks to add by brick type and alphabetically#457
DavidVujic merged 3 commits into
mainfrom
poly-sync-sorted-bricks

Conversation

@DavidVujic

Copy link
Copy Markdown
Owner

Description

When running poly sync: sorting the bricks that are missing in the pyproject.toml files.
Sorting by brick type, and then alphabetically
first bases, then components.

Comment: the use case for the sync command is mostly to handle missing components, but in cases where there are multible bases, the sorting will handle that too.

Motivation and Context

To improve the developer experience, making the added bricks nicely sorted, for teams that only adds a base to a project, and then relies on the poly sync command to add all the needed components.

How Has This Been Tested?

✅ CI
✅ added unit tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

@sonarqubecloud

Copy link
Copy Markdown

@DavidVujic
DavidVujic merged commit f323b5c into main Jul 27, 2026
4 checks passed
@DavidVujic
DavidVujic deleted the poly-sync-sorted-bricks branch July 27, 2026 10:41
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.

1 participant