分层资源覆盖
tro的Python项目详细描述
#厌倦了资源覆盖
###指针
- 主页:http://saga-project.github.io/troy/
- 文档:http://saga-project.github.io/troy/docs/build/html/
- 维基页面:https://github.com/saga-project/troy/wiki/
- 问题跟踪程序:https://github.com/saga-project/troy/issues/
###安装说明
在这个阶段,saga python、radical.utils和bigjob的devel分支应该 与特洛伊一起使用。(如果不是手动安装,则 特洛伊安装程序可能会引入非devel版本。)
要设置特洛伊环境,请使用
PIP安装。
或者,为了确保特洛伊在所有跟踪中都安装正确 已删除以前安装的数量:
pip卸载troy;rm-rf./build;pip安装。
###配置
您可以在“~/.troy.cfg”位置使用配置文件。 示例在examples/troy.cfg中提供,您可以复制 到“~/.troy.cfg”并根据您的环境进行自定义。
有关可用配置选项的详细说明 在特洛伊图书馆的文档中,主要应用于特洛伊 插件。
###开发者注意:
开发分支是devel,当 实现新功能。特征分支命名为feature/xyz,并且 只有在与其他开发人员协调后才合并到devel中。
发布被标记在master分支上-只有发布管理器将合并 从devel到master,准备发布。
通常的开发工作流应该如下所示:
` git clone git@github.com:saga-project/troy.git # get repostory cd troy # git checkout devel # switch to devel branch git checkout -b feature/world_domination # create a feature branch from there vim troy/world_domination.py # do the deed... vim tests/test_world_domination.py # git commit -am 'we now dominate the world' # commit your changes git push origin feature/world_domination # sync with github `
最后一个命令将确保您(直到那时只在本地存在)分支。 将在中央存储库中镜像,并可用于其他 开发商。
一旦小组同意合并,您将运行:
` git checkout devel git pull # get updates from github git checkout feature/world_domination git pull # get updates from github git merge devel # make sure branch is in sync with devel run_my_tests # do it! git checkout devel git merge feature/world_domination # merge your feature branch git push origin # sync with github git branch -d feature/world_domination # remove feature branch `
如果不确定什么,请询问andre;)