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

ACNA-2443: partial lib app config update for install and pack #723

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

moritzraho
Copy link
Member

@moritzraho moritzraho commented Sep 4, 2023

Description

NOTE this is only a partial update because app pack and app install need to validate the user configuration against a schema. The schema tracked in app plugin is outdated and the current validation logic doesn't resolve $included files.
The schema and validation logic is now part of app config lib.

A reason to not yet do a full update is to avoid validating the schema on every command before we expose the schema version to the config or at least support a no validation option. This requires further discussion with the team.

Related Issue

#709
deferred related PR #682

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 change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

package.json Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Merging #723 (ed50ebb) into master (726ffe7) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #723   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           57        57           
  Lines         3199      3207    +8     
  Branches       604       605    +1     
=========================================
+ Hits          3199      3207    +8     
Files Changed Coverage Δ
src/commands/app/install.js 100.00% <100.00%> (ø)
src/commands/app/pack.js 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@shazron
Copy link
Member

shazron commented Sep 6, 2023

@moritzraho conflicts that can't be resolved via Github UI

@moritzraho moritzraho closed this Sep 7, 2023
@moritzraho moritzraho reopened this Sep 7, 2023
Copy link
Member

@shazron shazron left a comment

Choose a reason for hiding this comment

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

Preliminary changes LGTM, pending final code.

@moritzraho moritzraho merged commit f71eb8d into master Sep 7, 2023
7 checks passed
@moritzraho moritzraho deleted the ACNA-2443/update-schema-for-install-and-pack branch September 7, 2023 13:12
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.

None yet

2 participants