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 manifest-from command #22

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

xstefank
Copy link
Contributor

@xstefank xstefank commented Jun 7, 2024

Resolves #21


public static ChannelManifest manifestFrom(List<Channel> channelPaths) {
return channelPaths.stream()
.map(channel -> ChannelManifestMapper.from(channel.getManifestCoordinate().getUrl()))
Copy link
Collaborator

Choose a reason for hiding this comment

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

@xstefank that will only work if the channel uses URL based manifest. Is that intended or should this work with GA(V) manifests as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, I forgot about this. I added the functionality, but I can't find an easy quick way to test it. Should it be tested?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I need to add more testing for this project as we use it more, but for now I think we're good

@spyrkob spyrkob merged commit 825b3b2 into wildfly-extras:main Jun 7, 2024
3 checks passed
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.

Add from-channel --manifest command
2 participants