jbang
jbang copied to clipboard
JBang Catalog for Apache Camel is missing and it has some community user alias hosted instead
The official Apache Camel project has a jbang catalog alias named camel that we host on github at
https://github.com/apache/camel/blob/main/jbang-catalog.json
This is no longer in the app store https://www.jbang.dev/appstore/
Instead there are 5 or so community user and their copy of camel alias. It would be good to only host the official Apache Camel alias and remove the fake ones.
we need to redo how jbang.dev/appstore is populated. atm we do a github search after jbang-catalog and it gives a result we then iterate and update the json that backs it.
It works perfectly fine everywhere except in github actions where search results gets rate limited.
Probably should move to be an explicit list ...
Yeah a explicit list makes it more formal and not just a bunch of random scripts - some are just experiments, and if a user has something serious then they can open a ticket here, or send a PR to get on the formal app store
Is it possible to use the camel@apache/camel catalog even without it being populated in the appstore? Thanks for any advise.
Yes. The appstore is just an overview.
JBang looks up directly in camels own catalog file.
Yes you can follow the install guide at https://camel.apache.org/manual/camel-jbang.html#_installation
I seem to be missing a thing setting up the camel app. When I run the install command like advised on the camel docs:
jbang app install camel@apache/camel
I receive this error:
[jbang] [ERROR] Unknown catalog 'apache/camel'
Attached the verbose logs from the install command:
Most interesting probably this line:
Caused by: java.io.FileNotFoundException: No file to download at https://raw.githubusercontent.com/apache/camel/HEAD/jbang-catalog.json. Server replied HTTP code: 404
I dont know why it tried to download it at bitbucket, but the camel app is on github.
It does that if GitHub catalog is not found.
My guess is that user is behind a firewall.
You can download the file to disk, and then install it via jbang from the file.