-
Notifications
You must be signed in to change notification settings - Fork 20
Comparing changes
Open a pull request
base repository: modular/stack-pr
base: 0.1.1
head repository: modular/stack-pr
compare: 0.1.2
- 15 commits
- 7 files changed
- 5 contributors
Commits on Aug 24, 2024
-
Emit terminal hyperlinks (#19)
Implements enough of the [terminal hyperlink specification][1] to allow us to include links to PRs, where they exist, in the terminal output. This specification is implemented by several terminals, including: - kitty - wezterm - iTerm2 - Alacritty - Windows Terminal - Konsole - xterm.js (VS Code's backing terminal implementation) See [this tracking repository][2] for a full listing. The ECMA-48 specification requires that terminals that do not understand the OSC-8 command code silently ignore it; in compliant terminals that do not implement the hyperlink specification, users will simply observe no changes to the output of `stack-pr`. For cases where outputting these escape codes is still undesirable I have added a `--no-hyperlinks` flag. [1]: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda [2]: https://github.com/Alhadis/OSC8-Adoption/
Configuration menu - View commit details
-
Copy full SHA for ea8bc06 - Browse repository at this point
Copy the full SHA ea8bc06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85e6cd4 - Browse repository at this point
Copy the full SHA 85e6cd4View commit details
Commits on Aug 26, 2024
-
Check that the bottom PR is mergeable (#20)
GitHub lets you check if a PR is actually mergeable via the `gh` CLI by retrieving the `mergeStateStatus` field. This field has a bunch of values (see the [API documentation][1] linked below), but the one we care about is `CLEAN`, indicating that the PR has no merge conflicts and has passed PR checks. I'd like to eventually add this information to `stack-pr view`, but it will require some extra piping, and will slow down the command due to the extra network request. 1: https://docs.github.com/en/graphql/reference/enums#mergestatestatus
Configuration menu - View commit details
-
Copy full SHA for 804f0bf - Browse repository at this point
Copy the full SHA 804f0bfView commit details
Commits on Oct 5, 2024
-
Fix delete_remote_branches (#27)
delete_remote_branches formatted remote branch refs with an extra single quote around each branch. These would never match the branch strings stored in stack entries, so remote branches would never get deleted. This commit removes the extra single quotes.
Configuration menu - View commit details
-
Copy full SHA for 3161fcb - Browse repository at this point
Copy the full SHA 3161fcbView commit details -
Suppress subcommand output by default (#26)
For large or busy repositories, stack-pr commands can generate hundreds of lines of output from Git subcommands being executed. Most of the time these don't matter; the user doesn't care about them. This PR suppresses them by default by redirecting stdout and stderr to `subprocess.DEVNULL`. If this output is desired in a specific case, the command-line flag `--verbose` (`-V`) can be used to avoid this redirection.
Configuration menu - View commit details
-
Copy full SHA for a2af242 - Browse repository at this point
Copy the full SHA a2af242View commit details
Commits on Oct 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f6aa5ae - Browse repository at this point
Copy the full SHA f6aa5aeView commit details -
Add config files feature. (#32)
The allows to have a local config to customize defaults for CL options. Closes #22.
Configuration menu - View commit details
-
Copy full SHA for adacd0a - Browse repository at this point
Copy the full SHA adacd0aView commit details
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a5e0725 - Browse repository at this point
Copy the full SHA a5e0725View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 79d6dde - Browse repository at this point
Copy the full SHA 79d6ddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5220b76 - Browse repository at this point
Copy the full SHA 5220b76View commit details
Commits on Oct 12, 2024
-
Show executed commands when --verbose is on. (#38)
stack-info: PR: #38, branch: ZolotukhinM/stack/3
Configuration menu - View commit details
-
Copy full SHA for 331cb54 - Browse repository at this point
Copy the full SHA 331cb54View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1256e7 - Browse repository at this point
Copy the full SHA a1256e7View commit details -
Don't attempt to delete remote branch after a PR has landed. (#42)
GitHub deletes the remote branch automatically when the PR is merged, so we don't to explicitly do that. Trying to delete it currently results in an error like this: ``` error: unable to delete 'ZolotukhinM/stack/1': remote ref does not exist error: failed to push some refs to '...' ``` The code for deleting the branch has been sitting there for a long time, but until a fix in #27 it used incorrect branch names.
Configuration menu - View commit details
-
Copy full SHA for 7cbd8ab - Browse repository at this point
Copy the full SHA 7cbd8abView commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a3b909e - Browse repository at this point
Copy the full SHA a3b909eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 940741b - Browse repository at this point
Copy the full SHA 940741bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.1.1...0.1.2