Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add enforce_architecture flag wherever enforce_privacy is used #138

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

schoblaska
Copy link
Contributor

The packs half of rubyatscale/parse_packwerk#39.

This PR adds an enforce_architecture flag wherever enforce_privacy is used, bringing parity between the two extensions for packs functionality (namely, setting these flags in package.yml files when packs are created or moved).

schoblaska and others added 2 commits December 14, 2023 17:05
Co-authored-by: Ashley Willard <ashley.willard@gusto.com>
Co-authored-by: Perry Hertler <perry.hertler@gusto.com>
@schoblaska
Copy link
Contributor Author

$ packs create --no-enforce-architecture packs/foo
$ cat packs/foo/package.yml
enforce_dependencies: true
enforce_privacy: true
enforce_architecture: false
owner: MyTeam # specify your team here, or delete this key if this package is not owned by one team

$ packs create packs/bar
$ cat packs/bar/package.yml
enforce_dependencies: true
enforce_privacy: true
enforce_architecture: true
owner: MyTeam # specify your team here, or delete this key if this package is not owned by one team

@schoblaska schoblaska merged commit 53e40c0 into main Dec 15, 2023
14 checks passed
@schoblaska schoblaska deleted the mod/enforce-arch branch December 15, 2023 17:05
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.

2 participants