-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
由framework迁移并拆分
- Loading branch information
0 parents
commit 5bd60c9
Showing
161 changed files
with
11,326 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# maven ignore | ||
target/ | ||
*.jar | ||
!.mvn/wrapper/* | ||
*.war | ||
#*.zip | ||
*.tar | ||
*.tar.gz | ||
|
||
# eclipse ignore | ||
.settings/ | ||
.project | ||
.classpath | ||
|
||
# idea ignore | ||
.idea/ | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
||
# temp ignore | ||
*.log | ||
*.cache | ||
*.diff | ||
*.patch | ||
*.tmp | ||
|
||
# system ignore | ||
.DS_Store | ||
Thumbs.db | ||
*.orig | ||
|
||
# flatten ignore | ||
.flattened-pom.xml | ||
|
||
# LICENSE check result | ||
license-list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
language: java | ||
sudo: false # faster builds | ||
|
||
jdk: | ||
# - openjdk11 | ||
- openjdk8 | ||
|
||
|
||
before_install: | ||
- echo "Downloading Maven 3.5.0" | ||
&& wget https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip | ||
&& unzip -q apache-maven-3.5.0-bin.zip | ||
&& export M2_HOME=$PWD/apache-maven-3.5.0 | ||
&& export PATH=$M2_HOME/bin:$PATH | ||
&& cp ./style/travis_settings.xml $HOME/.m2/settings.xml | ||
&& mvn -version | ||
|
||
#指定分支,只有指定的分支提交时才会运行脚本 | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
|
||
|
||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
|
||
install: true | ||
|
||
script: | ||
- travis_wait 30 mvn clean install -DskipTests=false -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
after_failure: | ||
- echo "build failed!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
Copyright © 2019-2020 <sky> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the “Software”), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
## Meteor | ||
|
||
[![Build Status](https://travis-ci.org/xk11961677/framework.svg?branch=master)](https://travis-ci.org/xk11961677/framework) | ||
[![license](https://img.shields.io/badge/license-mit-ff69b4.svg)](https://mit-license.org/license.html) | ||
[![springboot](https://img.shields.io/badge/springboot-2.1.4.RELEASE-orange.svg)](https://spring.io/projects/spring-boot) | ||
![gitter](https://img.shields.io/gitter/room/sky-docs/community) | ||
![version](https://img.shields.io/badge/version-0.1.0-blueviolet.svg) | ||
![helloworld](https://img.shields.io/badge/hello-world-blue) | ||
[![codecov](https://codecov.io/gh/xk11961677/framework/branch/master/graph/badge.svg)](https://codecov.io/gh/xk11961677/framework) | ||
|
||
远程调用框架 | ||
=== | ||
|
||
|
||
背景 | ||
--- | ||
|
||
|
||
项目简介 | ||
--- | ||
|
||
|
||
项目架构 | ||
--- | ||
|
||
|
||
使用指南 | ||
--- | ||
|
||
开源地址 | ||
--- | ||
|
||
版本说明 | ||
--- | ||
* 暂时0.1.0版本 | ||
|
||
版权说明 | ||
--- | ||
* [The MIT License (MIT)](LICENSE) | ||
|
||
|
||
|
||
问题反馈 | ||
--- | ||
* 在使用中有任何问题,欢迎反馈 | ||
|
||
开发计划 | ||
--- | ||
|
||
关于作者 | ||
--- | ||
* name: sky | ||
* email: [email protected] | ||
|
||
## 其他说明 | ||
|
||
### git 分支开发规约 | ||
- 使用git flow 流程,分支名称分别以 feature-* 、 release-* 、hotfix-* 开头 | ||
- 版本号:<主版本>.<次版本>.<增量版本>-<代号> | ||
- 方式1: 升级版本号命令: mvn versions:set -DnewVersion=x.x.x | ||
- 方式2: 升级版本号命令 | ||
- mvn release:prepare | ||
1. 把项目打一个release版本 | ||
2. 在git的tag中打一个tag | ||
3. 自动升级SNAPSHOT 并提交更新后的pom文件到git | ||
- mvn release:rollback | ||
1. 回滚,但不会删除tag | ||
- mvn release:perform | ||
1. 去git的tag上拿代码 | ||
2. 用tag上的代码,打一个release版的包 | ||
3. deploy到的maven私服 | ||
- 方式3: 仅修改 pom.xml --> <revision>1.0.0-SNAPSHOT</revision> 属性 | ||
- 推荐方式3 | ||
- 代号版本 | ||
- SNAPSHOT: 用于develop/hotfix | ||
- RC数字: 用于测试阶段 | ||
- RELEASE: 正式发布版 | ||
- 具体列子: | ||
1. 开发版本: 1.1.0-SNAPSHOT、1.2.0-SNAPSHOT、2.1.0-SNAPSHOT | ||
2. 稳定版本: | ||
1. 候选发布版本: 1.1.0-RC1、1.2.0-RC2 | ||
2. 正式发布版本: 1.1.0-RELEASE、1.1.1-RELEASE | ||
|
||
### git message 规约 | ||
#### 作用 | ||
* 生成规范的 changelog 文件 | ||
#### 提交格式 | ||
* [请点我](docs/script/changelog/commit.md) | ||
#### 插件 | ||
* idea 可使用 git commit template 插件 | ||
* npm 可以使用 commitizen | ||
|
||
#### 生成changelog方式 | ||
* 运行docs/script/changelog/gitlog.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
codecov: | ||
branch: master | ||
require_ci_to_pass: yes | ||
coverage: | ||
status: | ||
patch: no | ||
project: | ||
default: | ||
threshold: 1% | ||
if_not_found: success | ||
changes: no | ||
precision: 2 | ||
range: "50...100" | ||
ignore: | ||
- ".github/.*" | ||
- ".style/.*" | ||
- "*.md" | ||
- "LICENSE" | ||
comment: | ||
layout: "reach,diff,flags,tree" | ||
behavior: default | ||
require_changes: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## changelog git 提交时message格式 | ||
|
||
### 三个部分:Header,Body 和 Footer | ||
``` | ||
<type>(<scope>): <subject> | ||
// 空一行 | ||
<body> | ||
// 空一行 | ||
<footer> | ||
``` | ||
|
||
### Header | ||
type(必需)、scope(可选)和subject(必需) | ||
#### type用于说明 commit 的类别,只允许使用下面7个标识。 | ||
1. feat:新功能(feature) | ||
2. fix:修补bug | ||
3. docs:文档(documentation) | ||
4. style: 格式(不影响代码运行的变动) | ||
5. refactor:重构(即不是新增功能,也不是修改bug的代码变动) | ||
6. test:增加测试 | ||
7. chore:构建过程或辅助工具的变动 | ||
|
||
#### scope用于说明 commit 影响的范围 | ||
比如数据层、控制层、视图层等等,视项目不同而不同 | ||
|
||
#### subject | ||
subject是 commit 目的的简短描述,不超过50个字符 | ||
|
||
### Body | ||
Body 部分是对本次 commit 的详细描述,可以分成多行 | ||
|
||
- 修改版本号1.0.1-SNAPSHOT | ||
- 去掉xx_member库 | ||
|
||
### Footer | ||
Footer 部分只用于两种情况 | ||
1. 不兼容变动 , 以 BREAKING CHANGE 开头 | ||
2. 关闭 Issue , 如: Closes #123, #245, #992 | ||
|
||
### Revert | ||
还有一种特殊情况,如果当前 commit 用于撤销以前的 commit,则必须以revert:开头,后面跟着被撤销 Commit 的 Header。 | ||
``` | ||
revert: feat(pencil): add 'graphiteWidth' option | ||
This reverts commit 667ecc1654a317a13331b17617d973392f415f02. | ||
``` |
Oops, something went wrong.