Closed Prince-Mendiratta closed 1 year ago
Hey @Prince-Mendiratta Sure, if adding the dependency fixes the issue, that would make it easier for other contributors to use as well. But I think there should be a workaround with Thrust. What do you think @henit-chobisa ?
Hey @Prince-Mendiratta @samad-yar-khan this issue is due to recent changes in Apps.Engine. Now that we are using UI from fuselage and we need that dependency from v1.37.0
and later.
Hey @Prince-Mendiratta Sure, if adding the dependency fixes the issue, that would make it easier for other contributors to use as well. But I think there should be a workaround with Thrust. What do you think @henit-chobisa ?
Yes definitely, Samad Thrust just installs all the dependencies that is mentioned by our app, and then run it, inside a container. As @Nabhag8848 said, I believe there is sort of a dependency change and thrust uses the lates version of Rocket.Chat, so the dependencies of the latest version of Rocket.Chat and our app doesn't met.
I am working on dynamically customising thrust with the supported image of Apps Engine, but that will take time as I have to optimize making custom Rocket.Chat images in thrust.
But one workaround can be to specify the version of Rocket.Chat, that we know is supported.
Hey @Prince-Mendiratta Sure, if adding the dependency fixes the issue, that would make it easier for other contributors to use as well. But I think there should be a workaround with Thrust. What do you think @henit-chobisa ?
Yes definitely, Samad Thrust just installs all the dependencies that is mentioned by our app, and then run it, inside a container. As @Nabhag8848 said, I believe there is sort of a dependency change and thrust uses the lates version of Rocket.Chat, so the dependencies of the latest version of Rocket.Chat and our app doesn't met.
I am working on dynamically customising thrust with the supported image of Apps Engine, but that will take time as I have to optimize making custom Rocket.Chat images in thrust.
But one workaround can be to specify the version of Rocket.Chat, that we know is supported.
@henit-chobisa @Prince-Mendiratta @Nabhag8848 Makes sense. Maybe we can do both, add a dependency and keep track of which versions we support.
Hey @Prince-Mendiratta Sure, if adding the dependency fixes the issue, that would make it easier for other contributors to use as well. But I think there should be a workaround with Thrust. What do you think @henit-chobisa ?
Yes definitely, Samad Thrust just installs all the dependencies that is mentioned by our app, and then run it, inside a container. As @Nabhag8848 said, I believe there is sort of a dependency change and thrust uses the lates version of Rocket.Chat, so the dependencies of the latest version of Rocket.Chat and our app doesn't met. I am working on dynamically customising thrust with the supported image of Apps Engine, but that will take time as I have to optimize making custom Rocket.Chat images in thrust. But one workaround can be to specify the version of Rocket.Chat, that we know is supported.
@henit-chobisa @Prince-Mendiratta @Nabhag8848 Makes sense. Maybe we can do both, add a dependency and keep track of which versions we support.
Yep! there will be a lot of worked around when we need to migrate to later version from now. there are lot class & interface marked as deprecated including BlockBuilder. and now engine suggests to create instance of blockbuilder instead of using modify to getBlockBuilder for eg.
@Nabhag8848 Can you please link the documentation which suggests these changes ? I think they must have some backward compatibility but we would eventually need to upgrade.
- Here check method getBlockBuilder() method description.
- Here Blockbuilder class marked as deprecated
Thanks for sharing this @Nabhag8848 ! I think we should fix this issue soon. Thrust is pretty cool and will allow more contributors to experience the app. So, I am fine with both the approaches mentioned by @henit-chobisa. CC @Prince-Mendiratta
We will eventually work towards removing deprecated code.
Hi @samad-yar-khan. If I understand correctly, we just need to add @rocket.chat/ui-kit
as a dependency for the fix, right? Updating the apps engine version seems like a larger endeavour to me.
@Prince-Mendiratta yes, that should be good for us at the moment. Along with that we can be to specify the version of Rocket.Chat, that we know is supported.
With the PR merged, retried opening gitpod on main and it works well now!
Thank you @samad-yar-khan @Nabhag8848 @henit-chobisa
With the PR merged, retried opening gitpod on main and it works well now!
Thank you @samad-yar-khan @Nabhag8848 @henit-chobisa
@Prince-Mendiratta yes ! thanks for the contribution 🚀 💯
Description:
Whenever you create a new Gitpod instance workspace using the Gitpod button on the README or clone the app locally and install the app on local server, it throws a dependency error.
Steps to reproduce:
Gitpod
Locally
rpm install
.rc-apps deploy --url http://localhost:3000 --username <username> --password <password>
.Expected behavior:
App is installed successfully.
Actual behavior:
A dependency error is shown that prevents the app from being installed.
Rocket.Chat Server Setup Information:
Additional context
This bug can be fixed by adding
@rocket.chat/ui-kit
as a dev dependency in the package.json. If you can confirm this is indeed a valid issue, I'll send in a PR with the require changes.cc @samad-yar-khan