| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Import upstream patches pending release
- Fix typos
- man: Remove stray backtick character
- man: clarify that "pull update/comment/close" require an argument.
- issue: Fix creating issue without labels (Closes: #798851)
- Use HTTPS URLs where possible
- Pass GIT_EDITOR to sh
- clone: Fix parsing URLs as repository locations
All thanks to Jakub Wilk.
|
| |
|
|
|
|
| |
Fixes #137
|
|
|
|
|
|
|
|
|
| |
As per git documentation, GIT_EDITOR "is meant to be interpreted by the
shell when it is used".
This allows setting GIT_EDITOR to something like "gvim -f".
Fixes #139.
|
| |
|
|
|
|
|
|
|
|
|
| |
Set default value of labels to empty list, instead of None which caused:
nil is not a array.
HTTP Error 422: Unprocessable Entity
Fixes #142.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Version v0.9.0
Changes
=======
* `setup`: Ask the user for another note if the current is taken
It is not possible to retrieve the OAuth token anymore using the GitHub API,
so instead of doing that, we ask the user to create a new token if the
default one is already used.
https://github.com/sociomantic/git-hub/pull/133
* `pull rebase`: Add `--delete-branch` option
When this option is used, the branch used to make the pull request from will
be deleted after rebasing the pull request.
https://github.com/sociomantic/git-hub/pull/129
* `man` page improvements
Describe the missing global options and add a `FILES` section mentioning
files used to keep, for example, the messages typed by the user.
https://github.com/sociomantic/git-hub/pull/131
https://github.com/sociomantic/git-hub/pull/126
* Fix `--pause` resuming
https://github.com/sociomantic/git-hub/pull/132
|
| |
| |
| |
| |
| | |
This section lists the files created during the program's operation
along with what their contents are.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The GitHub API changed, and it doesn't return the OAuth token anymore.
If a previous note exists, now the user is asked for a new name to
create a new token. If no new name is specified, the setup command is
cancelled. A tip is included to the user in case they want to regenerate
the token of the offered note.
|
| |
| |
| |
| |
| |
| | |
When using `--global` or `--system` we don't want to use the project
name as part of the OAuth token note, even if we are inside a GitHub
project.
|
| |
| |
| |
| |
| |
| | |
The state file was created with O_EXCL, and was being recreated when
resuming a --pause, but it was not removed before, so if failed with an
EEXIST error.
|
| |
| |
| |
| |
| |
| | |
When pausing the pull request rebase, the `--delete-branch` option was
not saved to the status file, so when using `rebase --continue`, the
branch wasn't deleted.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This emulates the "Delete Branch" button in GitHub's web interface.
Fixes #129.
|
| |
| |
| |
| |
| | |
The other `git-hub` project has been renamed to `git-spindle` (since it
now seems to also support gitlab). Update the README file accordingly.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #88.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Is the only import that was done locally, and now is used in more than
one place, so it makes sense to have it at the top like the rest.
|
| |
| |
| |
| | |
Fix #95
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is not a trivial change, as GitHub doesn't support this for the
API, so we need to search for the possible username first. Only if one
(and only one) username is found the results of the search is used as
the username. The search is only triggered if there is a `@` symbol in
the username.
Fixes #102.
|
| |
| |
| |
| |
| | |
When adding the tracking branch as a default pull base the man page was
updated but not the command-line help, which is a bit misleading.
|
| |
| |
| |
| |
| |
| | |
The message contains information about the new pull request or the code
attached to an issue, like what's the branch with the proposed changes,
and what's the destination repository and branch.
|
| |
| |
| |
| |
| | |
There are no real difference in the kind of API calls we make, so no
other changes are needed.
|
| |
| |
| |
| | |
Improves #99.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When using the triangular workflow, git-hub should push to the fork
instead of origin when creating new pull requests, and for this
hub.forkremote has to be properly set.
Fixes #106.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When --global or --system is not used, the `setup` command should be ran
from a git repository, so the options can be stored in that particular
project's config. This commit improves the error message provided to the
user when this is not the case.
Fixes #100.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When performing a setup, if a token already existed with a note
'git-hub', the command will just fail with a cryptic GitHub error.
This commit makes the `setup` command look for existing tokens first,
and if there is one, it reuses it.
Fixes #99.
|
| | |
|
| |
| |
| |
| | |
Fixes #93
|
| |
| |
| |
| |
| |
| |
| |
| | |
The code handling the case where the stashed changes produced by git-hub
were not last in the stash was completely broken after a refactoring
done in 84fcb10bce6b3b617fce6922c640b2b699aadda5.
This should finally fix #91.
|
| |
| |
| |
| | |
Fixes #91.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The Makefile `deb` rule is broken and is not setting the `prefix`. This
causes the files to be installed in `/usr/local` instead of `/usr` as
regular Debian packages should do.
|
| |
| |
| |
| |
| |
| |
| | |
Review comments belonging to the same piece of code is now printed in
a group, leaded by the diff hunk that's being commented. A group of
review comments and regular issue comments are now separated by a more
graphical horizontal bar.
|
| | |
|
| |
| |
| |
| |
| | |
With this option, the issues are printed with the same format as the
`issue list` command.
|
| | |
|
| |
| |
| |
| | |
Fixes #83 and also retrieve labels for pull requests.
|
| | |
|
| | |
|
| | |
|