bazel-contrib / bazel-contrib/rules_dotnet

Store download URL for packages used by nuget_repo / nuget_archive

Open
#401 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
209
Forks
98
Avg merge
3h 59m
Merged PRs (30d)
14

Description

There are NuGet repository implementations (for example that of JFrog Artifactory) that use different URL patterns for hosting NuGet packages:

```https://ART_REPO/artifactory/api/nuget/nuget-all/Download/Some.Package.Name/1.0.0```

Either at download time the rule should call `FindPackagesById()` and read the `src` attribute of the `` element; Or we should have the package def (and also paket2bazel) store the full download URL instead of just `version` and `sources`.

Contributor guide

Open the contributing guide

Research direction

The issue names nuget_repo, nuget_archive, FindPackagesById(), the content src attribute, package definitions, and paket2bazel. Start by tracing how those rules currently derive package downloads from version and sources, then compare the two proposed approaches for JFrog-style URLs. Done means packages using alternate NuGet URL patterns download correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.