ink icon indicating copy to clipboard operation
ink copied to clipboard

Release tag v1.2.0 is not found from GitHub API

Open JervNorsk opened this issue 1 month ago • 1 comments

I found an issue using mise-en-place by using the v1.2.0 release.

Reproduction

  1. Install mise-en-place
  2. Run the command:
    mise use -v -g github:inkle/[email protected]
    
    # OUTPUT
    # ---------------------
     DEBUG ARGS: ...\mise\current\bin\mise.exe use -v github:inkle/[email protected]
     DEBUG [vfox] Getting metadata for cmake
     DEBUG [vfox] Getting metadata for cmake
     DEBUG [vfox] Getting metadata for cmake
     DEBUG config: ...\mise.toml
     DEBUG config: ...\.mise\config.toml
     DEBUG config: ...\mise\current\config.toml
     DEBUG [vfox] Getting metadata for cmake
     DEBUG install_some_versions: github:inkle/[email protected]
     INFO  github:inkle/[email protected]    install
     DEBUG GET https://api.github.com/repos/inkle/ink/releases/tags/v1.2.0
     DEBUG starting new connection: https://api.github.com/
     DEBUG connecting to 140.82.121.5:443
     DEBUG connected to 140.82.121.5:443
     DEBUG pooling idle connection for ("https", api.github.com)
     DEBUG GET https://api.github.com/repos/inkle/ink/releases/tags/v1.2.0 404 Not Found
     DEBUG GET https://api.github.com/repos/inkle/ink/releases/tags/1.2.0
     DEBUG reuse idle connection for ("https", api.github.com)
     DEBUG pooling idle connection for ("https", api.github.com)
     DEBUG GET https://api.github.com/repos/inkle/ink/releases/tags/1.2.0 404 Not Found
     Error: 
        0: Failed to install github:inkle/[email protected]: 
              0: HTTP status client error (404 Not Found) for url (https://api.github.com/repos/inkle/ink/releases/tags/1.2.0)                                                                                                                   
    
           Location:
              src\http.rs:308
    
           Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
           Run with RUST_BACKTRACE=full to include source snippets.
    
     Location:
        src\toolset\mod.rs:284
    
     Version:
        2025.11.11 windows-x64 (2025-11-30)
    

How you can see mise-en-place try to fetch info from GitHub API release tags.

If we check directly the api on a browser we can assume that the v1.2.0 is not found.

curl https://api.github.com/repos/inkle/ink/releases/tags/v1.1.1
curl https://api.github.com/repos/inkle/ink/releases/tags/v1.2.0
{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name",
  "status": "404"
}

Can you investigate about it?

JervNorsk avatar Dec 03 '25 01:12 JervNorsk