Giter VIP home page Giter VIP logo

pm_fellow's Introduction

Usage

1.How to use the package
1.1 Init database

pmfellow db init --conn=user:password@host

1.2 Set db access in env

export FELLOW_USER=xxx
export FELLOW_DB=xxx
export FELLOW_PASSWORD=xxx

1.3 Create site

pmfellow site add "https://user:token@site?name&type"
pmfellow site list

token: repo private access token
site: url, host only
name:
type: github or gitlab

1.4 get site developers and groups

pmfellow user import --site=site_iid
pmfellow group import --site=site_iid

1.5 get site projects

nohup pmfellow project import --site=site_iid &
pmfellow project import --site=site_iid

1.6 get project issues

pmfellow issue import --site=site_iid [--since=iid] [--project=project_iid] 

JIRA SaaS User

How to generate a api-token

https://id.atlassian.com/manage-profile/security/api-tokens

How to generate OAuth2 token

JiraClientFactory.oauth_jira(cls,server,app_key,rsa)

Develop

Version Requirement

Python 3.7
MySQL 5.7

Install depemdency

pip3 install -r requirements.txt

Run from source code

python3 -m pmfellow 

Build package

python3 setup.py sdist bdist_wheel

Deploy package

pip3 install pmfellow.whl

For ubuntu 16

sudo apt-get update
export LC_ALL=C
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt install python3.7
sudo ln -s /usr/bin/python3.7 /usr/bin/python3
sudo apt-get install python3.7-gdbm
sudo apt install python3-pip
pip3 install wheel

pm_fellow's People

Contributors

otecteng avatar mimousewu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.