-
Notifications
You must be signed in to change notification settings - Fork 173
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
refactor: skeleton creator #3042
Conversation
✅ Deploy Preview for zarf-docs canceled.
|
Codecov ReportAttention: Patch coverage is
|
8304cfd
to
e29a2ec
Compare
a86edd5
to
63c5a9f
Compare
9b415b0
to
032ce43
Compare
src/pkg/packager/publish.go
Outdated
@@ -48,26 +50,36 @@ func (p *Packager) Publish(ctx context.Context) (err error) { | |||
} | |||
|
|||
if p.cfg.CreateOpts.IsSkeleton { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this have to be changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we can leave changing this until after publish has been refactored if you prefer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that would be best
39624a7
to
88cad84
Compare
88cad84
to
9f1f383
Compare
Signed-off-by: Philip Laine <[email protected]>
9f1f383
to
2ceb476
Compare
Signed-off-by: Philip Laine <[email protected]> Signed-off-by: Micah Nagel <[email protected]>
Signed-off-by: Philip Laine <[email protected]> Signed-off-by: ittacco <[email protected]>
Signed-off-by: Philip Laine <[email protected]>
Description
Refactors skeleton creator.
A major feature of the refactor is that the implementation no longer requires sitting in the correct directory to build.
This change also limits imports to a single level. This means that it is no longer possible to import n levels of local skeleton packages anymore.
Related Issue
Relates to #2969
Checklist before merging