8000 Comparing v2.12.0...v2.12.1 · cli/go-gh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cli/go-gh
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.12.0
Choose a base ref
...
head repository: cli/go-gh
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.12.1
Choose a head ref
  • 7 commits
  • 2 files changed
  • 2 contributors

Commits on May 20, 2025

  1. Initial fix for browsing URLs

    This commit enhances `Browser` logic within `pkg/browser` to detect supported and possibly supported URL schemes / protocols.
    
    If a URL is presented that doesn't match a known supported scheme/protocol, then `Browse(string) error` will check if the provided URL matches a file or directory on the filesystem.  Erring if this matches anything we can find on the filesystem.
    andyfeller committed May 20, 2025
    Configuration menu
    Copy the full SHA
    df956a6 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2025

  1. Enhance OS-specific browser tests, PR feedback

    This commit addresses @babakks feedback in the PR of splitting out Windows and Unix/Linux specific browser tests from the shared common tests as well as minor restructuring of test setup / teardown logic.
    andyfeller committed May 22, 2025
    Configuration menu
    Copy the full SHA
    0f8a22f View commit details
    Browse the repository at this point in the history

Commits on May 27, 2025

  1. Test refactor, refine errors, remove VSCode fix

    This commit is focused on PR feedback:
    
    1. Undoing the fix for running package tests within VSCode
    
       The "Run package tests" action within VSCode uses `-coverprofile` flag when
       invoking `go test`, which causes `TestBrowse` to error due to missing
       `GOCOVERDIR` env var.
    
       As this was called out as a problem in multiple tests, it felt like a larger
       problem to tackle outside of these changes.
    
    2. Ensure browser test runs for Linux/Unix separately from Mac OS
    
       @babakks called out how the previous version of tests would fail on Linux
       when testing against Mac OS calculate app.
    
       This test has been reworked to separate Mac OS from Unix/Linux tests as
       well as consolidate the separate build specific test files back into a
       single file.
    
    3. Improved `error` messages
    
       Rather than having a single, uniform error message from the various scenarios,
       this commit more nuanced error messages based on the different scenarios that
       are user-friendly.
    
    4. Erring if URL is an executable on the path
    
       This is an additional defense in depth effort to guard against URLs that
       match executables found within the user's path. This leverages similar logic
       used elsewhere within `gh` for safely finding and executing commands.
    andyfeller committed May 27, 2025
    Configuration menu
    Copy the full SHA
    258949b View commit details
    Browse the repository at this point in the history

Commits on May 28, 2025

  1. PR feedback

    After discussing this with @babakks, we consolidated the tests further and improved the documentation around why we do not resolve symlinks when checking for files on the filesystem.
    andyfeller committed May 28, 2025
    Configuration menu
    Copy the full SHA
    055ff21 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2025

  1. Configuration menu
    Copy the full SHA
    56c6f10 View commit details
    Browse the repository at this point in the history
  2. Expand test cases for schem case sensitivity

    This commit ensures that `HTTPS` and `https` are treated the same
    andyfeller committed May 29, 2025
    Configuration menu
    Copy the full SHA
    1ecf6c4 View commit details
    Browse the repository at this point in the history
  3. Merge commit from fork

    Initial fix for browsing URLs
    BagToad authored May 29, 2025
    Configuration menu
    Copy the full SHA
    a08820a View commit details
    Browse the repository at this point in the history
Loading
0