Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: smart-pull-request #51

Closed
jaymzh opened this issue Aug 26, 2020 · 0 comments · Fixed by #60
Closed

RFE: smart-pull-request #51

jaymzh opened this issue Aug 26, 2020 · 0 comments · Fixed by #60
Assignees

Comments

@jaymzh
Copy link
Owner

jaymzh commented Aug 26, 2020

We should make a spr (smart-pull-request) that can do things like warn you if your repo is dirty.

@jaymzh jaymzh self-assigned this Aug 26, 2020
jaymzh added a commit that referenced this issue Nov 21, 2020
Add a new `smartpullrequest` command (aliases: `spr` and `smartpr`).
It's a shortcut for `hub pull-request`, but checks for a dirty repo
first.

That closes #51

Since we have a dirty check now, this adds it to `smartpush` and
`forcepush` as well as refactors those to DRY them up a bit.

Finally, this adds `--ignore-dirty` and `--ignore-prerun-failure` to
allow bypassing botht he new dirty check and the existing prerun checks.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit that referenced this issue Nov 21, 2020
Add a new `smartpullrequest` command (aliases: `spr` and `smartpr`).
It's a shortcut for `hub pull-request`, but checks for a dirty repo
first.

That closes #51

Since we have a dirty check now, this adds it to `smartpush` and
`forcepush` as well as refactors those to DRY them up a bit.

Finally, this adds `--ignore-dirty` and `--ignore-prerun-failure` to
allow bypassing botht he new dirty check and the existing prerun checks.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit that referenced this issue Nov 21, 2020
Add a new `smartpullrequest` command (aliases: `spr` and `smartpr`).
It's a shortcut for `hub pull-request`, but checks for a dirty repo
first.

That closes #51

Since we have a dirty check now, this adds it to `smartpush` and
`forcepush` as well as refactors those to DRY them up a bit.

Finally, this adds `--ignore-dirty` and `--ignore-prerun-failure` to
allow bypassing botht he new dirty check and the existing prerun checks.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit that referenced this issue Nov 21, 2020
Add a new `smartpullrequest` command (aliases: `spr` and `smartpr`).
It's a shortcut for `hub pull-request`, but checks for a dirty repo
first.

That closes #51

Since we have a dirty check now, this adds it to `smartpush` and
`forcepush` as well as refactors those to DRY them up a bit.

Finally, this adds `--ignore-dirty` and `--ignore-prerun-failure` to
allow bypassing botht he new dirty check and the existing prerun checks.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
jaymzh added a commit that referenced this issue Nov 21, 2020
Add a new `smartpullrequest` command (aliases: `spr` and `smartpr`).
It's a shortcut for `hub pull-request`, but checks for a dirty repo
first.

That closes #51

Since we have a dirty check now, this adds it to `smartpush` and
`forcepush` as well as refactors those to DRY them up a bit.

Finally, this adds `--ignore-dirty` and `--ignore-prerun-failure` to
allow bypassing botht he new dirty check and the existing prerun checks.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant