Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
supremind
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hello
supremind
Commits
0f5ccc53
Commit
0f5ccc53
authored
Aug 19, 2020
by
lichaoguang973
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 使用规范
parent
0e0a822d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
REPO使用规范.txt
REPO使用规范.txt
+45
-0
No files found.
REPO使用规范.txt
0 → 100644
View file @
0f5ccc53
# Supremind
[Hello Supremind](https://git.supremind.info/hello/supremind/wikis/Hello-Supremind)
gitlab目录层级使用规范:
随着公司的发展,各项目的代码、模块逐步增加,给项目的维护带来一定的困难。为了更好的管理代码,需要把现有的gitlab repo重新组织一遍,以便将来更好的维护。后续新增的代码和repo也应该遵循本规范。
repo层级规范
为了方便管理,原则上不允许随意在第一层级创建repo。目前统计出来需要放在第一层级的repo列在下面。
product:
product存放产品化的相关代码和配置。产品化是指可以大范围推广和复制的项目或产品。可以从项目(project)中衍生出来。一旦项目成型并且可以复制,可以从project中迁移出来放到产品中。典型产品如交通,客流,岗位等。
各相关平台比如Atom,VisionMind等也存放在products下面。
和产品或者项目相关的前端应用app,按各自归属管理,分门别类的放在products或project下面。
operation:
operation存放运营相关的产品和项目代码。
project:
project存放具体项目代码和配置。每个项目一个。推荐按照如下方式组织:
— 2019
— CATxxx01
— CATxxx02
— 2020
algorithm:
algorithm存放算法推理模型和算法库代码,包括SDK,各模型训练代码,推理库,编解码基础库等。
stale:
存放历史代码。项目和产品不应该使用这里代码,也不应该往这里新添加代码,而且随时可能被删除。
infra:
存放公有云和基础架构相关的代码和配置。比如mongo,各中间件的配置,监控,运维脚本等。
hub:
存放一些需要共享的docker镜像。
hello:
hello world,入门使用。
*************************
dockerhub:
注意:
当前相当部分项目的代码放在dockerhub下面,和上面的hub有重复。由于目前项目迁移可能会造成问题,暂时搁置。后续看如何合并或处理。
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment