Giter Site home page Giter Site logo

stash-prs-list's Introduction

Stash Pull Requests lists

Simple proxy, to get the API, and combine pull-requests with mergin info, and narrrowing down to a single user.

Table of Contents

Install

    git clone [email protected]:DKunin/stash-prs-list.git
    cd stash-prs-list
    npm prepeare

npm prepeare will create .projects file for you, there you should put links PR projects you are interested in.

Before usage JIRA_PASS, STASH_HOST and STASH_PROJECTS env variables should be set in your .bashrc file, or any other place, you use to declare variables. JIRA_PASS is base64 encoded your 'username:password'. STASH_PROJECTS - should be a list of project paths.

    export JIRA_PASS='ZnJlZDpmcmVk' 
    export STASH_HOST='www.stash.com'
    export STASH_PROJECTS='JS/repos/utils JS/repos/middleware'
    npm start

Or with Docker

    docker pull dkunin/stash-prs-list
    docker run -d -p 4848:4848 -e "JIRA_PASS=$JIRA_PASS" -e "STASH_HOST=$STASH_HOST" -e "STASH_PROJECTS=$STASH_PROJECTS" dkunin/stash-prs-list

Or if you want to modify/build your own image

    npm run docker-image-build 
    npm run docker-image-start

which will run:

    docker build ./ -t $(whoami)/$(basename $PWD)
    docker run -d -p 4848:4848 -e "JIRA_PASS=$JIRA_PASS" -e "STASH_HOST=$STASH_HOST" -e "STASH_PROJECTS=$STASH_PROJECTS" $(whoami)/$(basename $PWD)

Usage

Go to address:

    http://localhost:4848/api/prs?username=dkunin

License

MIT © Dmitri Kunin

stash-prs-list's People

Contributors

dkunin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

stash-prs-list's Issues

Will drop eventually, when not under vpn

{ Error: connect ECONNREFUSED --
at Object.exports._errnoException (util.js:1033:11)
at exports._exceptionWithHostPort (util.js:1056:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1105:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '---',
port: 80 }

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.