Skip to content

chore: support local NuGet source via NOSCORE_LOCAL_PACKAGES env var#2088

Merged
erwan-joly merged 1 commit intomasterfrom
chore/nuget-local-source
Apr 24, 2026
Merged

chore: support local NuGet source via NOSCORE_LOCAL_PACKAGES env var#2088
erwan-joly merged 1 commit intomasterfrom
chore/nuget-local-source

Conversation

@erwan-joly
Copy link
Copy Markdown
Collaborator

@erwan-joly erwan-joly commented Apr 24, 2026

Summary

  • Adds a conditional RestoreAdditionalProjectSources PropertyGroup to Directory.Build.props that activates only when NOSCORE_LOCAL_PACKAGES is set.
  • No runtime cost for contributors who don't opt in — the property group is skipped, restore uses nuget.org only.
  • Documents the setup in README section 5.

Test plan

  • dotnet restore succeeds with NOSCORE_LOCAL_PACKAGES unset.
  • dotnet restore with NOSCORE_LOCAL_PACKAGES pointing to a folder with a .nupkg picks it up.

Generated with Claude Code

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 24, 2026

Warning

Rate limit exceeded

@erwan-joly has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 10 minutes and 43 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 10 minutes and 43 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f81d76e7-cdf8-4af3-b37e-f1460b34c8bc

📥 Commits

Reviewing files that changed from the base of the PR and between 8fc131d and eaf705e.

📒 Files selected for processing (2)
  • Directory.Build.props
  • README.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/nuget-local-source

Comment @coderabbitai help to get the list of available commands and usage tips.

Adds a conditional PropertyGroup to Directory.Build.props that sets
RestoreAdditionalProjectSources from the env var when defined. CI and
fresh clones without the env var are unaffected — the property group
is simply skipped.

README section 5 documents the opt-in setup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@erwan-joly erwan-joly force-pushed the chore/nuget-local-source branch from 3a22b56 to eaf705e Compare April 24, 2026 03:25
@erwan-joly erwan-joly changed the title chore: add local NuGet source via NOSCORE_LOCAL_PACKAGES env var chore: support local NuGet source via NOSCORE_LOCAL_PACKAGES env var Apr 24, 2026
@erwan-joly erwan-joly merged commit 6432b93 into master Apr 24, 2026
2 checks passed
@erwan-joly erwan-joly deleted the chore/nuget-local-source branch April 24, 2026 03:31
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.

1 participant