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

feat: add tar provider, more tests, adjust vitest config #86

Closed
wants to merge 1 commit into from

Conversation

alex-key
Copy link

@alex-key alex-key commented Feb 25, 2023

Should resolve #10

@pi0 I had to change proposed pattern to replace &=version with #version. Ampersand (&) could be evaluated by most terminals as next command if you do not wrap in quotes. So I propose to use [url]#name=[name]#version=[version].
Though I am not sure if version is really needed and useful. See my comment in the diff.

@@ -2,8 +2,12 @@ import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
exclude: [
"**/node_modules/**",
"./test/.tmp/**"
Copy link
Author

@alex-key alex-key Feb 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added .tmp directory to exclusions to get rid of skipped tests in the the coverage report

return <TarInfo>{
url: m.url,
name: m.name || "",
version: m.version || "",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that version is not used anywhere if both name and version provided. I would just keep only name

@Jupa8i
Copy link

Jupa8i commented Aug 29, 2023

When will you be in master?

@alex-key
Copy link
Author

When will you be in master?

@pi0 kind reminder to review. Let me know if any adjustments are needed

@pi0
Copy link
Member

pi0 commented Dec 23, 2023

Hi dear @alex-key thanks for working on this PR and sorry it got stalled for a while.

I have worked on a slightly different approach to support generic HTTP(s) sources as either JSON provider or direct tar provider (#129)

As for tests, they are really nice additions. There are couple of merge conflicts now wasn't sure if you prefer to still pick it to rebase or not but moved to the issue ##130 please ping to assign if you still like to help on improving test coverage!

@pi0 pi0 closed this Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

built-in tar: provider
3 participants