-
Notifications
You must be signed in to change notification settings - Fork 49
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
Places in code assume that repo is a Github repo #260
Comments
This assumption was made because in order to adapt this for different hosts (like gitlab, bitbucket, self-host etc) we'd need to have a different version of this component for each host's API, and that was needlessly complicated at the time. This assumption is also made in the following places
|
Thanks @zrthxn! This issue is mostly for tracking purposes, it's good for now but somewhere down the line we'd like for the ChRIS store to support the functionality here (of storing and serving READMEs). As you mentioned, self-hosted git repos will not be easy to support, and this can be a common use case (hospitals need to host private or proprietary plugins internally). |
@jennydaman @zrthxn Am intrested in working on this task , is it ready for work |
@sherrif10 thanks for showing interest in this issue! The ideal solution (to have the README come from the ChRIS Store backend) would be hard to implement, but we can improve on the current implementation. We can try:
|
Thanks @jennydaman will share a pull request for more guidance. |
ChRIS_store_ui/src/components/Plugin/components/PluginBody/PluginBody.jsx
Line 211 in 8b1c540
We shouldn't make this assumption, might be hosted on better sites like Gitlab.
The text was updated successfully, but these errors were encountered: