Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Multiple Resource Download Links #169

Open
harry-xi opened this issue Oct 9, 2024 · 0 comments
Open

[Feature]: Multiple Resource Download Links #169

harry-xi opened this issue Oct 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@harry-xi
Copy link
Contributor

harry-xi commented Oct 9, 2024

Is your feature request related to a problem? Please describe.

In some cases, we may want to download some resources that are not distributed with the ontology and put them in a specified folder during installation, and it would be convenient for lip to provide this download capability.

Describe the solution you'd like

Supports specifying file download and placement paths, and for compressed packages, supports setting the decompression path.
Consider the following configuration format.

"resources":[
    {
        "url":"exampel.com/a.zip",
        "place_path":"a"
    },
    {
        "url":"exampel.com/a.zip",
        "extract_path":"aContent"
    }
]

after install: a.zip in folder a, the content in a in folder aContent

Describe alternatives you've considered

Downloading by invoking system commands via install-time commands

Additional context

No response

@harry-xi harry-xi added the enhancement New feature or request label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant