This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 953
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #555 from wufeifei/develop
Released v2.0.0-alpha.2
- Loading branch information
Showing
30 changed files
with
269 additions
and
446 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,28 @@ | ||
Cobra Changelog | ||
=============== | ||
|
||
Here you can see the full list of changes between each Cobra release. | ||
|
||
Version 2.0.0-alpha.2 | ||
--------------------- | ||
|
||
Released on Sep 06 2017 | ||
|
||
- 修复上传非支持的后缀提示 | ||
- 修复VirtualEnv环境下无法执行 | ||
- 修复grep/find路径位置变动 | ||
- 优化日志等级 | ||
- 优化Docker下路径错误 | ||
- 优化耗时计算 | ||
- 其它细节优化和Bug修复 | ||
|
||
Version 2.0.0-alpha.1 | ||
--------------------- | ||
|
||
Released on Sep 05 2017 | ||
|
||
内测正式版本 | ||
|
||
- 简化安装和使用成本 | ||
- 增加CLI模式 | ||
- 开源扫描规则 |
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
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,14 @@ | ||
FROM ubuntu:xenial | ||
|
||
COPY . /code/ | ||
WORKDIR /code | ||
|
||
RUN apt-get update && apt-get install -y python-pip curl \ | ||
&& apt-get autoremove \ | ||
&& apt-get clean \ | ||
&& apt-get autoclean \ | ||
&& pip install -r requirements.txt \ | ||
&& cp config.template config | ||
|
||
EXPOSE 5000 | ||
CMD ["python", "cobra.py", "-H", "0.0.0.0", "-P", "5000"] |
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
#!/usr/bin/python | ||
|
||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
import re | ||
import sys | ||
|
||
from cobra import main | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) | ||
sys.exit(main()) | ||
|
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
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
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
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
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
Oops, something went wrong.