23 Star 41 Fork 15

开发-老牛 / WebSvnGit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

WebSvnGit

项目介绍

一个简单的代码发布工具(持续集成),支持svn,git,支持多项目。提交日志界面是主功能界面,可以编译,部署,查看系统日志,打补丁,代码更新(svn update ,git pull)等工具。 支持的代码语言java(现在只支持maven目录结构),php(要调整)。

用过jenkins,感觉很麻烦,maven插件安装不成功,再网上也找了一下,没有既可以看提交记录有可以打包部署特别是打补丁的,所以自己造了这个小工具,共300多行代码。

非常感谢https://gitee.com/wuzhike403/为我开发的html界面 此代码是通过python3实现的,应该很容易的改为python2的.

软件架构

软件架构说明

安装教程

  1. 安装 python3 svn客户端(TortoiseSVN) git客户端
  2. flash框架 pip install flask
  3. 运行 python WebSvnGit.py Linux环境建议 nohup python WebSvnGit.py & 保证程序不会退出
  4. 安装配置 maven 如果你想编译打包的话

使用说明

  1. 配置项目信息 ProjectsCofig.py
  • #源代码目录配置 source code directory

  • project_dict={

  • 'learngit': 'C:/Users/fencer/Desktop/doc_dir/learngit/',
  • 'pap':'F:/PAP/CodeMakerMyBatis/PAPWEA0613/'
  • }

  • #部署目录配置 deploay directory

  • project_deploy_dict={

  • 'learngit': 'C:/Users/fencer/Desktop/doc_dir/learngit/',
  • 'pap':'F:/PAP/CodeMakerMyBatis/PAPWEA0613/'
  • }

  • #项目日志文件路径配置 log file path

  • project_log_dict={

  • 'pap':'/data/app/tomcat_wea/logs/catalina.out'
  • }

  • #项目源代码版本控制系统类型 svn or git

  • project_type_dict={

  • 'learngit': 'git',
  • 'pap':'svn'
  • }

  • #常用命令或shell文件路径 common cmd or shell file path

  • project_cmd_dict={

  • 'pap': '/data/app/papsrc/pap_test.sh'
  • }

  1. 进入 项目列表界面 http://127.0.0.1
  2. 进入 项目提交日志列表界面 http://127.0.0.1/xxproject/logs

参与贡献

  1. Fork 本项目
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

码云特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. 码云官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解码云上的优秀开源项目
  4. GVP 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
  5. 码云官方提供的使用手册 http://git.mydoc.io/
  6. 码云封面人物是一档用来展示码云会员风采的栏目 https://gitee.com/gitee-stars/
The MIT License (MIT) Copyright (c) 2018 fencer911 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.

简介

一个简单的代码发布工具(持续集成),支持svn,git,支持多项目。提交日志界面是主功能界面,可以编译,部署,查看系统日志,打补丁,代码更新(svn update ,git pull)等工具。 支持的代码语言java(现在只支持maven目录结构),php(要调整)。 用过jenkins,感觉很麻烦,maven插件安装不成功,再网上也找了一下,没有既可以看提交记录有可以打包部署特别是打补丁的,所以自己造了这个小工具,共300多行代码。 非常感谢https://gitee.com/wuzhike403/为我开发的html界面 此代码是通过python3实现的,应该很容易的改为python2的. 展开 收起
Python 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/fencer911/WebSvnGit.git
git@gitee.com:fencer911/WebSvnGit.git
fencer911
WebSvnGit
WebSvnGit
master

搜索帮助