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 info file artifacts #433

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DannyBrito
Copy link
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

sorted := dalec.SortMapKeys(spec.Artifacts.InfoFiles)
for _, key := range sorted {
cfg := spec.Artifacts.InfoFiles[key]
resolved := cfg.ResolveName(key)
Copy link
Contributor

Choose a reason for hiding this comment

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

I notice that in some cases (e.g. docs, licenses) we do this check:

if resolved != key || cfg.SubPath != ""

Can you help me understand the reason for that check and why it's not needed here?

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