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

WapmSource: config option to prioritize webc v3 #4642

Closed
theduke opened this issue May 7, 2024 — with Linear · 0 comments
Closed

WapmSource: config option to prioritize webc v3 #4642

theduke opened this issue May 7, 2024 — with Linear · 0 comments

Comments

Copy link
Contributor

theduke commented May 7, 2024

Extend the BuiltinPackageLoader with a config option to prioritize webc v3 over v2.

We need this to gain confidence in v3 in different testing environments before we make v3 the default.

How to modify the source:

  • fetch both v2 and v3 from the backend
  • use a config option to prioritize either over the other

Example query:

query {
 getPackage(name:"xxx/yyy"){
  versions {
    version 
    piritaManifest
    manifest
    v2: distribution(version:V2) {
      webcSha256Hash
      webcDownloadUrl
      
    }
    
    v3: distribution(version:V3) {
      webcSha256Hash
      webcDownloadUrl
      
    }
  }
}
}
@theduke theduke changed the title BuiltinPackageLoader: config option to prioritize webc v3 WapmSource: config option to prioritize webc v3 May 7, 2024
@linear linear bot closed this as completed May 9, 2024
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

No branches or pull requests

1 participant