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

希望大佬们提供更多该程序的引导说明,包括部署过程和使用方法 #117

Open
binary5 opened this issue Apr 30, 2024 · 4 comments
Assignees

Comments

@binary5
Copy link

binary5 commented Apr 30, 2024

我的经历:
readme未提示python版本,查看 setup.py 提示python>=3.4,怕太新的版本不兼容故使用了pytho3.7;
pip初始化时提示需要grimoire_elk,安装一直报错gcc失败。几天后,查看grimoire_elk仓库发现这个:https://github.com/chaoss/grimoirelab-elk/blob/master/pyproject.toml
线索提示需要python3.8以上,遂换成3.8,成功克服gcc失败报错。
或许应该在readme提示要使用的python版本,并且修改setup.py

使用了readme文件提示的“Please create conf.yaml file as following way:”
运行时run.py 第30行报错 keyError,语句为
kwargs[item] = None if params[item] and params[item] == 'None' else params[item]
个人认为应该修改为:
kwargs[item] = None if item not in params or params[item] == 'None' else params[item]
成功克服keyError报错


My experience:

  • The README file did not indicate the Python version, but checking the setup.py file suggested Python>=3.4. Fearing incompatibility with newer versions, I used Python 3.7.
  • During pip initialization, it was indicated that grimoire_elk was needed, but installation consistently failed with gcc errors. After a few days, I discovered this in the grimoire_elk repository: https://github.com/chaoss/grimoirelab-elk/blob/master/pyproject.toml, which hinted that Python 3.8 or higher was required. I switched to 3.8 and successfully overcame the gcc failure errors.
  • Perhaps the required Python version should be indicated in the README, and the setup.py should be updated accordingly.
  • I followed the instructions in the README file to create the conf.yaml file as suggested.
  • When running run.py, there was a KeyError on line 30 of the code:
    kwargs[item] = None if params[item] and params[item] == 'None' else params[item]
    I believe it should be modified to:
    kwargs[item] = None if item not in params or params[item] == 'None' else params[item]
    This successfully resolved the KeyError.
@binary5 binary5 changed the title 希望大佬们提供更多该程序的引导说明,包括部署和运行的方法,以及实现什么功能 希望大佬们提供更多该程序的引导说明,包括部署过程和使用方法 May 11, 2024
@binary5
Copy link
Author

binary5 commented May 11, 2024

希望本仓库对爱好者更有接纳性
@EdmondFrank @eyehwan


这个组件是整个OSS Compass系统的一部分,虽然具备单独运行的能力,但依旧依赖其他组件生成的数据。我们有在docs仓提供了一些架构图和部署文档做参考
https://github.com/oss-compass/docs/blob/main/deployment-guide/SAAS%20Deployment%20Guide.md

希望能对你帮助


为什么要这样回复,好奇怪

@EdmondFrank
Copy link
Member

希望本仓库对爱好者更有接纳性 @EdmondFrank @eyehwan

这个组件是整个OSS Compass系统的一部分,虽然具备单独运行的能力,但依旧依赖其他组件生成的数据。我们有在docs仓提供了一些架构图和部署文档做参考 https://github.com/oss-compass/docs/blob/main/deployment-guide/SAAS%20Deployment%20Guide.md

希望能对你帮助

为什么要这样回复,好奇怪

上一个回复用的App,可能不知道点到了什么操作,确实奇怪 。

@EdmondFrank
Copy link
Member

目前OSS Compass 依赖了CHAOSS的部分组件,并在原有组件上做了调整和新特性引入,这个部分回归上游比较慢,因此主要还是我们自己Fork了分支进行开发,这样就会导致,各个组件之间的依赖容易发生版本冲突以及和原CHAOSS的组件产生较大的部署依赖差异,可能我们提供容器化部署的方式是一个解决方案,如果有其他想法和建议可以在本Issue讨论。

@binary5
Copy link
Author

binary5 commented May 24, 2024

我想的是可能有路人只是想尝试一下使用这个指标部分的程序学习一下这些代码,而不是一次性跑通整个SaaS。
也许这个仓库确实比较有门槛,我还是需要再努力提高自己才是。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants