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

Registry doesn't support plugins with several versions #31

Closed
garagatyi opened this issue Sep 20, 2018 · 0 comments
Closed

Registry doesn't support plugins with several versions #31

garagatyi opened this issue Sep 20, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@garagatyi
Copy link

When some plugin or editor has 2 versions in registry index build check fails

Sending build context to Docker daemon  267.8kB
Step 1/10 : FROM mikefarah/yq
 ---> 28dd2998f056
Step 2/10 : RUN apk add --no-cache bash
 ---> Using cache
 ---> e2017954fdbb
Step 3/10 : COPY /plugins /test/plugins
 ---> Using cache
 ---> 45991a42fa51
Step 4/10 : COPY check_plugins_location.sh /test/check_plugins_location.sh
 ---> 32c202c5fcdc
Step 5/10 : RUN cd /test/ && ./check_plugins_location.sh
 ---> Running in 1370d8fd82dc
./check_plugins_location.sh: line 18: cd: too many arguments
11:32:04 main [ERRO] open meta.yaml: no such file or directory
!!! ID mismatch in plugin 'org.eclipse.che.editor.theia/1.0.0/
!!!   id in meta.yaml: 'Error: open meta.yaml: no such file or directory
Usage:
  yq read [yaml_file] [path] [flags]

Aliases:
  read, r

Examples:

yq read things.yaml a.b.c
yq r - a.b.c (reads from stdin)
yq r things.yaml a.*.c
yq r -d1 things.yaml a.array[0].blah
yq r things.yaml a.array[*].blah
      

Flags:
  -d, --doc string   process document index number (0 based, * for all documents) (default "0")
  -h, --help         help for read
  -j, --tojson       output as json

Global Flags:
  -t, --trim      trim yaml output (default true)
  -v, --verbose   verbose mode'
!!!   id directory name: 'org.eclipse.che.editor.theia' 
11:32:04 main [ERRO] open meta.yaml: no such file or directory
!!! Version mismatch in plugin 'org.eclipse.che.editor.theia/1.0.0/
1.0.1':
!!!   version in meta.yaml: 'Error: open meta.yaml: no such file or directory
Usage:
  yq read [yaml_file] [path] [flags]

Aliases:
  read, r

Examples:

yq read things.yaml a.b.c
yq r - a.b.c (reads from stdin)
yq r things.yaml a.*.c
yq r -d1 things.yaml a.array[0].blah
yq r things.yaml a.array[*].blah
      

Flags:
  -d, --doc string   process document index number (0 based, * for all documents) (default "0")
  -h, --help         help for read
  -j, --tojson       output as json

Global Flags:
  -t, --trim      trim yaml output (default true)
  -v, --verbose   verbose mode'
!!!   version directory name: '1.0.0/
1.0.1' 
The command '/bin/sh -c cd /test/ && ./check_plugins_location.sh' returned a non-zero code: 1
@garagatyi garagatyi added the bug Something isn't working label Sep 20, 2018
garagatyi pushed a commit that referenced this issue Sep 20, 2018
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
garagatyi pushed a commit that referenced this issue Sep 24, 2018
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant