Skip to content

Unnecessarily large qsv ZIP file downloaded for single qsv file #7

@rzmk

Description

@rzmk

We use several steps to extract and retrieve a specific qsv file for DP+.

ckan-devstaller/src/main.rs

Lines 348 to 352 in 3999143

cmd!(sh, "wget https://github.com/dathere/qsv/releases/download/4.0.0/qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?;
cmd!(sh, "sudo apt install unzip -y").run()?;
cmd!(sh, "unzip qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?;
cmd!(sh, "sudo rm -rf qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?;
cmd!(sh, "sudo mv ./qsvdp_glibc-2.31 /usr/local/bin/qsvdp").run()?;

This could be improved by having the single file hosted somewhere then retrieving it from there instead of the ZIP full of qsv files that is over 300MB in size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions