microsoft / microsoft/OSSGadget

How to best represent artifact download urls for project managers that have more than one file associated.

Open
#330 1 comment 0 reactions 1 assignee View on GitHub

@jpinz is already working on this.

Since Apr 15, 2022.

Dominant language
C#
Stars
371
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Would there ever be an interest for callers to differentiate the what each download URL represents? I'm thinking of Maven for example, where one file could be the pom file, one could be a JAR file, one could be sources, etc. etc. I wonder whether we could return a list of object, and the object could contain not only a URL/Uri field, but also something like a package-manager-specific enum indicating the type of artifact the URL points to?

We might need to think carefully about how generics would play out for something like that though.

Originally posted by @pmalmsten in https://github.com/microsoft/OSSGadget/pull/329#discussion_r851434783

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.