GithubHelp home page GithubHelp logo

eko / atom-pull-request Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 398 KB

This package allows you to quickly prepare your pull request by driving you directly on your pull request creation page of your current Git project and by pre-defining source/target branches.

Home Page: https://atom.io/packages/pull-request

License: MIT License

JavaScript 98.17% CSS 1.83%
atom pull-request plugin

atom-pull-request's Introduction

Pull Request (Atom package)

Build Status

This package allows you to quickly prepare your pull request by driving you directly on your pull request creation page of your current Git project and by pre-defining source/target branches.

Package preview

Installation

Using the Atom Package Manager:

$ apm install pull-request

Or Settings โž” Install โž” Search for pull-request.

Configuration

Using Github

  1. Go to https://github.com/settings/tokens and create a new API token
  2. Open your config.cson file
  3. Add this snippet (replacing '' with the token you created):
"pull-request":
  githubApiToken: "<your-token>"

Using Gitlab

  1. Go to https://gitlab.com/profile/personal_access_tokens and create a new API token
  2. Open your config.cson file
  3. Add this snippet (replacing '' with the token you created):
  4. Optionally, if you rely on a private Gitlab server, also fill in your base uri.
"pull-request":
  gitlabApiToken: "<your-token>"
  gitlabUrl: "https://gitlab.acme.tld"

Usage

You can use the ctrl + alt + p pre-defined shortcut or just search for Pull Request: Open using the palette.

Contributing

Feel free to contribute on this package, I will be happy to work with you.

atom-pull-request's People

Contributors

eko avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

atom-pull-request's Issues

Uncaught TypeError: Cannot read property '1' of null

Hello ! I don't arrive to launch the addon... :( can anyone help me?

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.29.0 x64
Electron: 2.0.5
OS: Mac OS X 10.13.6
Thrown From: pull-request package 0.2.1

Stack Trace

Uncaught TypeError: Cannot read property '1' of null

At /Users/ronan/.atom/packages/pull-request/lib/providers/provider.js:17

TypeError: Cannot read property '1' of null
    at Gitlab.getOriginName (/packages/pull-request/lib/providers/provider.js:17:34)
    at Gitlab.handle (/packages/pull-request/lib/providers/gitlab.js:33:70)
    at Object.open (/packages/pull-request/lib/pull-request.js:63:14)
    at HTMLElement.pullRequestOpen (/packages/pull-request/lib/pull-request.js:38:39)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1347:25)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:339:53)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -9:36 github:toggle-git-tab (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -8:48.3.0 pull-request:open (input.hidden-input)
     -8:28.1.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -7:23.2.0 core:confirm (input.hidden-input)
     -6:59.5.0 core:select-all (input.hidden-input)
     -5:51.7.0 pull-request:open (input.hidden-input)
     -0:00.8.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

pull-request 0.2.1 

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.