Skip to content

Commit

Permalink
# This is a combination of 312 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

fix naming & code style & bugs

# This is the commit message #2:

prepare for publishing

# This is the commit message #3:

fix typo

# This is the commit message #4:

add cli toolkit

# This is the commit message #5:

add runner template

# This is the commit message #6:

Update runner.tpl
# This is the commit message #7:

add lots of features in cli

# This is the commit message #8:

add lots of new features

# This is the commit message #9:

add port support in solver

# This is the commit message #10:

add appveyor goreleaser and travis

# This is the commit message #11:

code format

# This is the commit message #12:

fix readme

# This is the commit message #13:

add github readme

# This is the commit message #14:

add vuepress to gitignore

# This is the commit message #15:

fix user runtime bugs for command line toolkit

# This is the commit message #16:

fix config js

# This is the commit message #17:

add logo and etc

# This is the commit message #18:

add config handler

# This is the commit message #19:

fix handler for configuration file

# This is the commit message #20:

format code

# This is the commit message #21:

fix a typo

# This is the commit message #22:

add docs

# This is the commit message #23:

add main function indicator in go releaser

# This is the commit message #24:

change language mark

# This is the commit message #25:

[ImgBot] optimizes images

/docs/.vuepress/public/logo.png -- 529.62kb -> 516.57kb (2.46%)

# This is the commit message #26:

try to move go releaser

# This is the commit message #27:

remove main in goreleaser

# This is the commit message #28:

fix main indictor

# This is the commit message #29:

fix binary name and main file

# This is the commit message #30:

add arm arch

# This is the commit message #31:

add before hooks in gorelease

# This is the commit message #32:

add post hooks

# This is the commit message #33:

[wip] travis build hooks

# This is the commit message #34:

add ignore file

# This is the commit message #35:

remove main

# This is the commit message #36:

remove post hook

# This is the commit message #37:

add arm v6 & windows & freebsd in goos

# This is the commit message #38:

Fix #3

# This is the commit message #39:

fix dependencies problem

# This is the commit message #40:

format

# This is the commit message #41:

add dashboard template

# This is the commit message #42:

fix #6

# This is the commit message #43:

py version upgrade

# This is the commit message #44:

[ImgBot] optimizes images

/dashboard/src/assets/logo.png -- 5.54kb -> 5.09kb (8.18%)

# This is the commit message #45:

Add renovate.json
# This is the commit message #46:

add readme

# This is the commit message #47:

add ascii intro

# This is the commit message #48:

fix a bug in v0.0.2 release

# This is the commit message #49:

Pin dependencies
# This is the commit message #50:

fix #5

# This is the commit message #51:

Update dependency cross-spawn to v6
# This is the commit message #52:

Update dependency css-loader to v1
# This is the commit message #53:

Update dependency babel-loader to v8
# This is the commit message #54:

Update dependency shelljs to v0.8.2
# This is the commit message #55:

Update dependency url-loader to v0.6.2
# This is the commit message #56:

Update dependency autoprefixer to v9
# This is the commit message #57:

Update dependency babel-eslint to v10
# This is the commit message #58:

Update dependency babel-plugin-dynamic-import-node to v2
# This is the commit message #59:

Update dependency eslint-config-standard to v12
# This is the commit message #60:

Update dependency eslint to v5
# This is the commit message #61:

Update dependency eslint-loader to v2
# This is the commit message #62:

Update dependency eslint-plugin-standard to v4
# This is the commit message #63:

Update dependency eslint-friendly-formatter to v4
# This is the commit message #64:

Update dependency eslint-plugin-promise to v4
# This is the commit message #65:

Update dependency eslint-plugin-html to v4
# This is the commit message #66:

Update dependency eslint-plugin-node to v7
# This is the commit message #67:

Update dependency file-loader to v2
# This is the commit message #68:

Update dependency html-webpack-plugin to v3
# This is the commit message #69:

Update dependency optimize-css-assets-webpack-plugin to v5
# This is the commit message #70:

Update dependency jest-serializer-vue to v2
# This is the commit message #71:

Update dependency webpack-dev-server to v3
# This is the commit message #72:

Update dependency vuetify to v1.2.6
# This is the commit message #73:

Update dependency webpack-bundle-analyzer to v3
# This is the commit message #74:

Update jest monorepo to v23
# This is the commit message #75:

Update dependency url-loader to v1
# This is the commit message #76:

Update dependency postcss-url to v8
# This is the commit message #77:

Update dependency postcss-import to v12
# This is the commit message #78:

Update dependency ora to v3
# This is the commit message #79:

Update dependency webpack to v4
# This is the commit message #80:

Update dependency vue-jest to v2
# This is the commit message #81:

Update dependency postcss-loader to v3
# This is the commit message #82:

Update dependency uglifyjs-webpack-plugin to v2
# This is the commit message #83:

Update dependency vue-style-loader to v4
# This is the commit message #84:

Update dependency vue-loader to v15
# This is the commit message #85:

Update dependency babel-plugin-dynamic-import-node to v2.2.0
# This is the commit message #86:

Update dependency vuetify to v1.2.7
# This is the commit message #87:

Create CODE_OF_CONDUCT.md
# This is the commit message #88:

Update dependency copy-webpack-plugin to v4.5.3
# This is the commit message #89:

Update dependency url-loader to v1.1.2
# This is the commit message #90:

Update dependency vuetify to v1.2.8
# This is the commit message #91:

Update dependency semver to v5.6.0
# This is the commit message #92:

Update dependency vuetify to v1.2.9
# This is the commit message #93:

Update dependency eslint to v5.7.0
# This is the commit message #94:

[wip] solving #5

# This is the commit message #95:

fix #5

# This is the commit message #96:

add raven support

# This is the commit message #97:

fix import problem

# This is the commit message #98:

add raven init function

# This is the commit message #99:

add init raven function

# This is the commit message #100:

removed unused imports

# This is the commit message #101:

Update dependency autoprefixer to v9.2.0
# This is the commit message #102:

Update dependency vue-jest to v3
# This is the commit message #103:

change features in docs

# This is the commit message #104:

[WIP] refactor docs

# This is the commit message #105:

[WIP] fix a typo

# This is the commit message #106:

write file structure

# This is the commit message #107:

add credit page

# This is the commit message #108:

add publish to github

# This is the commit message #109:

add write package

# This is the commit message #110:

Add vuepress to npm dependencies

# This is the commit message #111:

fix some chinese structure

# This is the commit message #112:

[docs] add an example in getting-started

# This is the commit message #113:

Update dependency chromedriver to v2.43.0
# This is the commit message #114:

Update dependency webpack to v4.21.0
# This is the commit message #115:

Update dependency vuetify to v1.3.0
# This is the commit message #116:

Update dependency portfinder to v1.0.18
# This is the commit message #117:

Pin dependency vuepress to 0.14.4
# This is the commit message #118:

Update dependency autoprefixer to v9.2.1
# This is the commit message #119:

Update dependency webpack-bundle-analyzer to v3.0.3
# This is the commit message #120:

Add license scan report and status

Signed-off-by: fossabot <badges@fossa.io>
# This is the commit message #121:

fix readme

# This is the commit message #122:

Update issue templates
# This is the commit message #123:

Update dependency autoprefixer to v9.3.0
# This is the commit message #124:

Update dependency vuetify to v1.3.2
# This is the commit message #125:

Update dependency webpack-dev-server to v3.1.10
# This is the commit message #126:

Update dependency portfinder to v1.0.19
# This is the commit message #127:

Update dependency postcss-import to v12.0.1
# This is the commit message #128:

Update dependency webpack to v4.22.0
# This is the commit message #129:

Update dependency node-notifier to v5.3.0
# This is the commit message #130:

Update dependency copy-webpack-plugin to v4.5.4
# This is the commit message #131:

Update README.md
# This is the commit message #132:

Update dependency eslint-plugin-node to v8
# This is the commit message #133:

Update dependency chromedriver to v2.43.1
# This is the commit message #134:

Update dependency eslint to v5.8.0
# This is the commit message #135:

Update dependency vuetify to v1.3.3
# This is the commit message #136:

Update dependency autoprefixer to v9.3.1
# This is the commit message #137:

Update dependency webpack to v4.23.1
# This is the commit message #138:

add logo assets

# This is the commit message #139:

add some go doc and online documents

# This is the commit message #140:

[ImgBot] Optimize images

*Total -- 51.46kb -> 40.54kb (21.21%)

/assets/logo.png -- 12.26kb -> 9.38kb (23.53%)
/assets/logo-with-slogan-landscape.png -- 18.50kb -> 14.70kb (20.57%)
/assets/logo-with-slogan.png -- 20.70kb -> 16.47kb (20.41%)

# This is the commit message #141:

Update dependency vuetify to v1.3.4
# This is the commit message #142:

Update dependency copy-webpack-plugin to v4.6.0
# This is the commit message #143:

Update dependency css-loader to v1.0.1
# This is the commit message #144:

open-source typescript based discovery service

# This is the commit message #145:

Update dependency webpack to v4.25.0
# This is the commit message #146:

Update dependency vuetify to v1.3.5
# This is the commit message #147:

Update dependency selenium-server to v3.141.0
# This is the commit message #148:

Pin dependencies
# This is the commit message #149:

Update dependency nodemon to v1.18.6
# This is the commit message #150:

Update dependency webpack to v4.25.1
# This is the commit message #151:

Update dependency @types/node to v10.12.5
# This is the commit message #152:

add import package functions

# This is the commit message #153:

[wip] trying to fix bugs in read request body

# This is the commit message #154:

[wip] fixing the bug of reading requests

# This is the commit message #155:

add package put/get methods

# This is the commit message #156:

merge

# This is the commit message #157:

add Dockerfile & tslint fix

# This is the commit message #158:

Update dependency eslint to v5.9.0
# This is the commit message #159:

add markdown readme

# This is the commit message #160:

fix several problems

# This is the commit message #161:

add buildfile to be compatible with the docker cloud

# This is the commit message #162:

reset build filepath

# This is the commit message #163:

add argument

# This is the commit message #164:

all args in one line

# This is the commit message #165:

remove build hooks and use start scripts

# This is the commit message #166:

set level for logsene

# This is the commit message #167:

add registry service

# This is the commit message #168:

Pin dependencies
# This is the commit message #169:

Update dependency vuetify to v1.3.7
# This is the commit message #170:

Update dependency selenium-server to v3.141.5
# This is the commit message #171:

Update dependency @types/dotenv to v6
# This is the commit message #172:

remove koa-bodyparser

# This is the commit message #173:

add docs

# This is the commit message #174:

gofmt

# This is the commit message #175:

Update dependency shelljs to v0.8.3
# This is the commit message #176:

Update dependency @types/node to v10.12.6
# This is the commit message #177:

Update dependency eslint-plugin-html to v5
# This is the commit message #178:

add "other utilities" in services

# This is the commit message #179:

fix some description

# This is the commit message #180:

minor change in README

# This is the commit message #181:

code fix

# This is the commit message #182:

re init dashboard

# This is the commit message #183:

finish front page

# This is the commit message #184:

add login page

# This is the commit message #185:

add few pages

# This is the commit message #186:

fix build ignore file

# This is the commit message #187:

add i18n support

# This is the commit message #188:

add config settings

# This is the commit message #189:

add news components

# This is the commit message #190:

add news function

# This is the commit message #191:

add status card

# This is the commit message #192:

[wip] log file handler

# This is the commit message #193:

add tests

# This is the commit message #194:

code format changes

# This is the commit message #195:

[wip] user authentication

# This is the commit message #196:

add get registries endpoint

# This is the commit message #197:

add few things

# This is the commit message #198:

update dockerfile

# This is the commit message #199:

fix build problems

# This is the commit message #200:

copy dist file

# This is the commit message #201:

update start command

# This is the commit message #202:

remove copy dist command

# This is the commit message #203:

finish registry function

# This is the commit message #204:

code format update

# This is the commit message #205:

minor fix

# This is the commit message #206:

Pin dependency amazon-cognito-identity-js-typescript to 1.22.0
# This is the commit message #207:

Pin dependencies
# This is the commit message #208:

Update dependency @types/jest to v23.3.10
# This is the commit message #209:

Update dependency @types/node to v10.12.11
# This is the commit message #210:

Update dependency typescript to v3.2.1
# This is the commit message #211:

Pin dependencies
# This is the commit message #212:

add axios integrity

# This is the commit message #213:

add terminal

# This is the commit message #214:

fix log stream

# This is the commit message #215:

finish dashboard displaying system log

# This is the commit message #216:

stylish the log terminal

# This is the commit message #217:

dashboard utilization

# This is the commit message #218:

some utilization for dashboard

# This is the commit message #219:

add toml dependency

# This is the commit message #220:

minor fix

# This is the commit message #221:

add cvpm-request

# This is the commit message #222:

[WIP] optimize for dashboard

# This is the commit message #223:

Pin dependencies
# This is the commit message #224:

[WIP] optimze for dashboard

# This is the commit message #225:

[WIP] Dashboard

# This is the commit message #226:

add a 'coming soon' in import from hub

# This is the commit message #227:

add publish prod command in Makefile

# This is the commit message #228:

add some docs

# This is the commit message #229:

add didi cloud logi into spnsors

# This is the commit message #230:

fix didi logo problem

# This is the commit message #231:

fix a typo

# This is the commit message #232:

add system info query system

# This is the commit message #233:

optimize for dashboard

# This is the commit message #234:

almost finish the dashboard!

# This is the commit message #235:

add authentication

# This is the commit message #236:

code format

# This is the commit message #237:

delete coverage folder in discovery

# This is the commit message #238:

code format

# This is the commit message #239:

code format

# This is the commit message #240:

go_vet format

# This is the commit message #241:

Set up CI with Azure Pipelines
# This is the commit message #242:

Update azure-pipelines.yml
# This is the commit message #243:

Update azure-pipelines.yml
# This is the commit message #244:

Update README.md
# This is the commit message #245:

add api-spec.json

# This is the commit message #246:

add create ticket function

# This is the commit message #247:

add feat:init

# This is the commit message #248:

fix clone repo problem

# This is the commit message #249:

Pin dependencies
# This is the commit message #250:

Update dependency @types/node to v10.12.17
# This is the commit message #251:

Update dependency tslint to v5.12.0
# This is the commit message #252:

Update dependency js-base64 to v2.5.0
# This is the commit message #253:

add feat/init

# This is the commit message #254:

finish feat/init

# This is the commit message #255:

Update dependency vuetify to v1.3.15
# This is the commit message #256:

Update dependency vue-i18n to v8.5.0
# This is the commit message #257:

add Dockerfile & dep to manage vendors

# This is the commit message #258:

remove unused dep

# This is the commit message #259:

minor fix

# This is the commit message #260:

[wip] reverse proxy

# This is the commit message #261:

Update travis
# This is the commit message #262:

Directories, not file names
# This is the commit message #263:

[ImgBot] Optimize images

/docs/.vuepress/public/sponsors/didi_logo.png -- 11.30kb -> 9.74kb (13.78%)

# This is the commit message #264:

add copyright info

# This is the commit message #265:

Update dependency vuetify to v1.4.0
# This is the commit message #266:

Update dependency webpack-merge to v4.2.1
# This is the commit message #267:

Update dependency @types/jest to v23.3.11
# This is the commit message #268:

Update dependency @types/node to v10.12.18
# This is the commit message #269:

Update dependency toml to v2.3.5
# This is the commit message #270:

Update dependency rimraf to v2.6.3
# This is the commit message #271:

Update dependency file-loader to v3
# This is the commit message #272:

Update dependency @types/passport to v1
# This is the commit message #273:

Update dependency vue-i18n to v8.7.0
# This is the commit message #274:

enable reverse proxy

# This is the commit message #275:

delete wrong submit

# This is the commit message #276:

remove cors settings in python code

# This is the commit message #277:

update go version to 1.11.2

# This is the commit message #278:

fix port selection

# This is the commit message #279:

fix travis problem

# This is the commit message #280:

Update dependency chalk to v2.4.2
# This is the commit message #281:

Update dependency @types/jest to v23.3.12
# This is the commit message #282:

docs: privacy

# This is the commit message #283:

add didi logo

# This is the commit message #284:

update privacy

# This is the commit message #285:

Update dependency vuetify to v1.4.1
# This is the commit message #286:

Update dependency tslint to v5.12.1
# This is the commit message #287:

Update CODE_OF_CONDUCT.md
# This is the commit message #288:

Update dependency vuetify to v1.4.2
# This is the commit message #289:

Update vue monorepo to v2.5.22
# This is the commit message #290:

Update dependency supertest to v3.4.1
# This is the commit message #291:

update deps

# This is the commit message #292:

Update dependency vuetify to v1.4.3
# This is the commit message #293:

Update dependency vuex to v3.1.0
# This is the commit message #294:

Update dependency eslint-plugin-import to v2.15.0
# This is the commit message #295:

Update dependency supertest to v3.4.2
# This is the commit message #296:

Update dependency ts-node to v8
# This is the commit message #297:

Update dependency js-base64 to v2.5.1
# This is the commit message #298:

Update dependency @types/jest to v23.3.13
# This is the commit message #299:

Update dependency typescript to v3.2.4
# This is the commit message #300:

[wip] pipeline

# This is the commit message #301:

add get pretrained method

# This is the commit message #302:

[wip] pipeline

# This is the commit message #303:

Setup.py: added license metadata
# This is the commit message #304:

[ImgBot] Optimize images

/cvpm/tests/assets/lenna.jpg -- 25.13kb -> 24.96kb (0.68%)

# This is the commit message #305:

Update project URLs
# This is the commit message #306:

Update dependency vue-socket.io to v3.0.5
# This is the commit message #307:

Update dependency eslint-plugin-import to v2.16.0
# This is the commit message #308:

Update dependency @types/node to v10.12.19
# This is the commit message #309:

Update dependency ts-node to v8.0.2
# This is the commit message #310:

Update jest monorepo to v24
# This is the commit message #311:

add basic dataset tabel

# This is the commit message #312:

Update dependency @types/node to v10.12.20
  • Loading branch information
xzyaoi committed Feb 20, 2020
1 parent 84c848e commit 253b725
Show file tree
Hide file tree
Showing 212 changed files with 38,594 additions and 84 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/official-model-request.md
@@ -0,0 +1,13 @@
---
name: Official Model Request
about: Request a model that hosted by official account

---

## Model Name

## Model Usage

## Description

## Existed Implementation?
12 changes: 11 additions & 1 deletion .gitignore
@@ -1,3 +1,13 @@
cvpm.egg-info/
*.pyc
.vscode
.vscode/
node_modules/
build
dist
.env
.idea/
.DS_Store
!discovery/hooks/build
!dashboard/build
!docs/dist/api.html
cli/cvpm
39 changes: 39 additions & 0 deletions .goreleaser.yml
@@ -0,0 +1,39 @@
project_name: cvpm
before:
hooks:
- cp -r cli/. ./
builds:
-
goos:
- freebsd
- linux
- windows
- darwin
binary: cvpm
goarch:
- amd64
- arm
- arm64
env:
- CGO_ENABLED=0
goarm:
- 5
- 6
- 7
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^tests:'
39 changes: 39 additions & 0 deletions .travis.yml
@@ -0,0 +1,39 @@
language: go
sudo: required
git:
clone: quiet

addons:
apt:
packages:
# needed for the nfpm pipe:
- rpm
# needed for the snap pipe:
- snapd

env:
# needed for the snap pipe:
- PATH=/snap/bin:$PATH

script:
- go test -race -v ./...

go: '1.11.2'

matrix:
allow_failures:
- go: tip

install:
- sudo snap install snapcraft --classic
- go get github.com/unarxiv/cvpm/cli

services:
- docker

deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at enquiry@autoai.org. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
13 changes: 13 additions & 0 deletions Dockerfile
@@ -0,0 +1,13 @@
FROM library/golang

WORKDIR /go/src/cvpm

COPY cli/ .

RUN go get -d -v ./...
RUN go install -v ./...
RUN go build

EXPOSE 10590

CMD [ "cvpm", "daemon", "run" ]
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016-2018 Xiaozhe Yao and contributors

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.
25 changes: 23 additions & 2 deletions Makefile
Expand Up @@ -3,11 +3,15 @@ default:
@echo "\tmake test"
@echo "\tmake format"
@echo "\tmake docs"

@echo "\tmake package"
@echo "\tmake clean"
@echo "\tmake publish"
test:

build-arm:
cd cli && env GOOS=linux GOARCH=arm go build cli/

format:
format-py:
autoflake -i cvpm/*.py
# autoflake -i cvpm/**/*.py

Expand All @@ -17,7 +21,24 @@ format:
yapf -i cvpm/*.py
# yapf -i cvpm/**/*.py

format-go:
gofmt -l -s -w *.go

docs:
cd docs && npm run docs:build

package:
python setup.py sdist bdist_wheel

clean:
rm -rf build
rm -rf dist
rm -rf cvpm.egg-info

publish-test:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

publish-prod:
twine upload dist/*

.PHONY: docs
3 changes: 1 addition & 2 deletions Pipfile
Expand Up @@ -13,11 +13,10 @@ toml = "*"
requests = "*"
pillow = "*"
numpy = "*"
autoflake = "*"
isort = "*"
yapf = "*"
gevent = "*"

flask-cors="*"

[requires]

Expand Down
40 changes: 40 additions & 0 deletions README.md
@@ -0,0 +1,40 @@
# CVPM - Computer Vision Package Manager

[简体中文](https://cvpm.autoai.org/zh-CN/guide/)

[![Go Report Card](https://goreportcard.com/badge/github.com/unarxiv/cvpm)](https://goreportcard.com/report/github.com/unarxiv/cvpm)
[![Build Status](https://travis-ci.org/unarxiv/CVPM.svg?branch=master)](https://travis-ci.org/unarxiv/CVPM)
[![GitHub issues](https://img.shields.io/github/issues/unarxiv/cvpm.svg?style=flat-square)](https://github.com/unarxiv/cvpm/issues)
[![GitHub license](https://img.shields.io/github/license/unarxiv/cvpm.svg?style=flat-square)](https://github.com/unarxiv/CVPM/blob/master/LICENSE)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Funarxiv%2FCVPM.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Funarxiv%2FCVPM?ref=badge_shield)

## Introduction

CVPM is a package manager for computer vision. It helps you to download, install and run a computer vision service.

[![asciicast](https://asciinema.org/a/YRgOSy1a7WwdPyK77PEgE12Kl.png)](https://asciinema.org/a/YRgOSy1a7WwdPyK77PEgE12Kl)

## Documentation

Full documentation can be found [here](https://cvpm.autoai.org).

## Contributing

If you found a security bugs, please do not post it in issues or any other public forum. You can send me [email](mailto:xiaozhe.yaoi@qq.com) directly.

## Contributors
[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/0)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/0)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/1)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/1)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/2)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/2)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/3)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/3)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/4)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/4)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/5)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/5)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/6)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/6)[![](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/images/7)](https://sourcerer.io/fame/xzyaoi/unarxiv/CVPM/links/7)


## Affiliated Project

This project is inspired from [CVTron](https://docs.cvtron.org).

## FAQs

Q: Where can I find useful models?

A: There are three places. The first one, which we recommend most, is our [model hub](https://hub.autoai.org), where you can download, purchase, search models. The second one is GitHub. At GiHub, you can search for CVPM_Available in readme file, which indicates that repository is compatible with CVPM. The third one is our [forum](https://forum.cvtron.xyz), where you can discuss performance of models, and ask for other models.

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Funarxiv%2FCVPM.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Funarxiv%2FCVPM?ref=badge_large)
11 changes: 11 additions & 0 deletions appveyor.yml
@@ -0,0 +1,11 @@
version: 0.{build}
skip_tags: true
cache: C:\Users\appveyor\AppData\Local\NuGet\Cache
build_script:
- SET GOPATH=c:\workspace
- go test -v -race ./...
test: off
clone_folder: c:\workspace\src\github.com\unarxiv\cvpm\cli
branches:
only:
- master
Binary file added assets/logo-with-slogan-landscape.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo-with-slogan-landscape.xcf
Binary file not shown.
Binary file added assets/logo-with-slogan.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo-with-slogan.xcf
Binary file not shown.
Binary file added assets/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.xcf.gz
Binary file not shown.
35 changes: 35 additions & 0 deletions azure-pipelines.yml
@@ -0,0 +1,35 @@
# Go
# Build your Go project.
# Add steps that test, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/go

pool:
vmImage: 'Ubuntu 16.04'

variables:
GOBIN: '$(GOPATH)/bin' # Go binaries path
GOROOT: '/usr/local/go1.11' # Go installation path
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code

steps:
- script: |
mkdir -p '$(GOBIN)'
mkdir -p '$(GOPATH)/pkg'
mkdir -p '$(modulePath)'
shopt -s extglob
mv !(gopath) '$(modulePath)'
echo '##vso[task.prependpath]$(GOBIN)'
echo '##vso[task.prependpath]$(GOROOT)/bin'
displayName: 'Set up the Go workspace'

- script: |
go version
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
cd cli && go build -v
workingDirectory: '$(modulePath)'
displayName: 'Get dependencies, then build'
2 changes: 2 additions & 0 deletions cli/.gitignore
@@ -0,0 +1,2 @@
vendor/
cli

0 comments on commit 253b725

Please sign in to comment.