-
Notifications
You must be signed in to change notification settings - Fork 61
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
cachi2: generate remote-source.json #2113
cachi2: generate remote-source.json #2113
Conversation
87cf205
to
1b73052
Compare
atomic_reactor/utils/cachi2.py
Outdated
"replaces": None, # it's always None, replacements aren't supported by cachi2 | ||
"type": heuristic_type, | ||
"version": version, | ||
# "dev": True # TODO |
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.
@chmeliik can we somehow determine this?
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.
For npm packages (and maybe yarn in the future) yes, from the cdx:npm:package:development property
For others no
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.
added for NPM
ba61dea
to
20da732
Compare
Cachi2 doesn't provide remote-source.json but for backward compatibility OSBS must provide it. STONEBLD-2585 Signed-off-by: Martin Basti <[email protected]>
20da732
to
7732d9c
Compare
LGTM, in ideal world we could use more abstraction by exporting some functionality to individual helper functions so they could be read and understood better (for example, the type matching or version finding). But I am not expecting any change here. |
I appreciate the comments, without them I would be completely lost. |
7870665
into
containerbuildsystem:feature_cachi2
Cachi2 doesn't provide remote-source.json but for backward compatibility OSBS must provide it.
STONEBLD-2585
Maintainers will complete the following section