top | item 42392811

(no title)

ekristen | 1 year ago

cool. please let me know when you post, I would like to read. I'm the author of dist if that wasn't clear. Also looking for feedback on the project should you find it useful.

discuss

order

tarasglek|1 year ago

DuckDB binary downloaders compared

`eget` wins:

    eget duckdb/duckdb
    2 candidates found (unsure architecture): please select manually
    (1) duckdb_cli-osx-universal.zip
    (2) libduckdb-osx-universal.zip
    Enter selection number:
Afterwards it correctly unzips. Can use cmdline flag to match artifacts

`gah` fails:

    gah install duckdb/duckdb
    Fetching release info for: duckdb/duckdb [latest]
    Found release: v1.1.3 Bugfix Release
    Downloading:
    Warning: output file name has no length
    curl: option -o: is badly used here
(Using curl 8.4.0 on macOS)

`dist` also fails:

    dist install duckdb/duckdb
    • determining latest version 
    • version: 1.1.3
    ⨯ no matching asset found, score too low
    ⨯ closest matching: duckdb_cli-osx-universal.zip (34) (threshold: 40)

marverix|1 year ago

I thought that no one in right mind will use underscore in the binary name, but it seems that I had too much faith in humanity. Fixed:

     gah install duckdb/duckdb
    Fetching release info for: duckdb/duckdb [latest]
    Found release: v1.1.3 Bugfix Release
    Several download URLs were found which match your OS and arch. Please select one:
    1) https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-    amd64.zip
    2) https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-linux-amd64.zip
    #? 1
    Downloading: duckdb_cli-linux-amd64.zip
    ##################### 100,0%
    Extracting: duckdb_cli-linux-amd64.zip
    Installing: duckdb
    Give a new name or keep 'duckdb'? (Leave empty to keep the same)
    New name: 
    Installed: duckdb
    Done!

ekristen|1 year ago

Thanks for testing. I'm guessing you trimmed the output a bit there, it would normally say you can override using --no-score-check.

I've fixed this and cut a new release, dist 1.0.5.