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

Big, Ugly Patch #350

Merged
merged 21 commits into from
Dec 17, 2024
Merged

Big, Ugly Patch #350

merged 21 commits into from
Dec 17, 2024

Conversation

dhower-qc
Copy link
Collaborator

A Big, Ugly Patch

  • Performs YAML resolution in Python, using lib/yaml_resolver.py
  • Adds many missing extensions
  • Changes Profile schema to match other objects
  • Implements versioning via lib/version.rb instead of Gem::Version/Requirement
  • Refactors ArchDef into Specification/Config
  • Simplifies ArchDef/Specification by exploiting common format for object schemas
  • New, simplified schema for configs
  • Adds schemas for profile (some are still placeholders)
  • Parallelizes GitHub regression test

fixes #336
fixes #320
fixes #319
fixes #317
fixes #299

 * Performs YAML resolution in Python, using lib/yaml_resolver.py
 * Adds many missing extensions
 * Changes Profile schema to match other objects
 * Implements versioning via lib/version.rb instead of Gem::Version/Requirement
 * Refactors ArchDef into Specification/Config
 * Simplifies ArchDef/Specification by exploiting common format for object schemas
 * New, simplified schema for configs
 * Adds schemas for profile (some are still placeholders)
 * Parallelizes GitHub regression test

fixes #336
fixes #320
fixes #319
fixes #317
fixes #299
Copy link
Collaborator

@james-ball-qualcomm james-ball-qualcomm left a comment

Choose a reason for hiding this comment

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

Recommend renaming Specification to Arch or Architecture and renaming ArchDef to ArchConfig.

@james-ball-qualcomm
Copy link
Collaborator

Don't see how to add additional comments to my review so I'll just add them here.

Why did the Profiles get put into their own files instead of inside a ProfileRelease?

@james-ball-qualcomm
Copy link
Collaborator

Recommend removing any knowledge of Specification and/or ArchDef classes from Config. Derek proposed removing the Config methods that use ArchDef.

@james-ball-qualcomm
Copy link
Collaborator

What happened to the initializers for Certificate classes? Are those now auto-created by some Ruby magic? If so, can you add comments to the classes that use this since readability is impacted.

lib/config.rb Show resolved Hide resolved
@james-ball-qualcomm
Copy link
Collaborator

Can you please update arch/README.adoc since it is stale?

@dhower-qc dhower-qc changed the title Bug, Ugly Patch Big, Ugly Patch Dec 16, 2024
@dhower-qc
Copy link
Collaborator Author

Can you please update arch/README.adoc since it is stale?

done

@dhower-qc dhower-qc marked this pull request as ready for review December 17, 2024 21:06
@dhower-qc
Copy link
Collaborator Author

@AFOliveira, @BrianAnakPintar do you have patches ready? If so, let's merge yours first and I'll handle any conflicts with this patch.

@AFOliveira
Copy link
Collaborator

only #340 but you fix that in this PR, right?

@dhower-qc
Copy link
Collaborator Author

only #340 but you fix that in this PR, right?

Yes, I do.

@BrianAnakPintar
Copy link
Contributor

Nothing on my end for now. @AFOliveira, I might need some help regarding the extensions.

@dhower-qc dhower-qc merged commit f5be2b8 into main Dec 17, 2024
10 checks passed
@dhower-qc dhower-qc deleted the refactor branch December 17, 2024 21:38
@AFOliveira AFOliveira mentioned this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants