-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
good first issueGood for newcomersGood for newcomersreadyIssue can be worked onIssue can be worked on
Description
The output of channel list is confusing... It looks like YAML file but it's not. It looks like a channel definition but it's not.
$ prospero channel list
Server /Users/jmesnil/Developer/wildfly/dist/target/wildfly-34.0.0.Beta1-SNAPSHOT/. is subscribed to following channels:
-------
# wildfly
manifest: org.wildfly.channels:wildfly:34.0.0.Beta1-SNAPSHOT
repositories:
id: jboss-public-repository-group
url: https://repository.jboss.org/nexus/content/groups/public/
id: central
url: https://repo.maven.apache.org/maven2
id: jboss-ga-repository
url: https://maven.repository.redhat.com/ga/
-------
# wildflyactually correspond to thenameof the channel.manifestis a different representation of the manifest coordinates (Maven GAV or URL)repositorieskind of represents array items
I'm not sure to understand why this command does not output the actual content of the .installation/installer_channels.yaml:
$ cat .installation/installer-channels.yaml
---
schemaVersion: "2.0.0"
name: "wildfly"
repositories:
- id: "jboss-public-repository-group"
url: "https://repository.jboss.org/nexus/content/groups/public/"
- id: "central"
url: "https://repo.maven.apache.org/maven2"
- id: "jboss-ga-repository"
url: "https://maven.repository.redhat.com/ga/"
manifest:
maven:
groupId: "org.wildfly.channels"
artifactId: "wildfly"
version: "34.0.0.Beta1-SNAPSHOT"
noStreamStrategy: "none"
Maybe we could provide a short and long output for channel list.
The short list would display the name of the channel as well as the manifest GAV or URL (which are the most important information) while the long list would dump .installation/installer_channels.yaml (which would be a valid YAML file corresponding to channel definitions).
Something like:
$ prospero channel list
wildfly org.wildfly.channels:wildfly:34.0.0.Beta1-SNAPSHOT
$ prospero channel list --full
---
schemaVersion: "2.0.0"
name: "wildfly"
repositories:
- id: "jboss-public-repository-group"
url: "https://repository.jboss.org/nexus/content/groups/public/"
- id: "central"
url: "https://repo.maven.apache.org/maven2"
- id: "jboss-ga-repository"
url: "https://maven.repository.redhat.com/ga/"
manifest:
maven:
groupId: "org.wildfly.channels"
artifactId: "wildfly"
version: "34.0.0.Beta1-SNAPSHOT"
noStreamStrategy: "none"
@spyrkob WDYT?
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersreadyIssue can be worked onIssue can be worked on