Skip to content

Allow sources to be specified as Environment Variables - #4271

Closed
msarilar wants to merge 3 commits into
fsprojects:masterfrom
msarilar:source_as_env_var
Closed

msarilar wants to merge 3 commits into
fsprojects:masterfrom
msarilar:source_as_env_var

Conversation

@msarilar

@msarilar msarilar commented Sep 3, 2024

Copy link
Copy Markdown

resolves #1796

@forki

forki commented Nov 11, 2024

Copy link
Copy Markdown
Member

this should be mentioned in the docs

@dsyme dsyme closed this Aug 26, 2026
@dsyme dsyme reopened this Aug 26, 2026
@dsyme

dsyme commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

/repo-assist Update the docs too

@github-actions

github-actions Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

✓ Repo Assist completed successfully, see workflow run.

Generated by 🌈 Repo Assist, see workflow run. Learn more.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 This is an automated response from Repo Assist.

Per @forki's request, here's suggested documentation for the "source as environment variable" feature, to be added to docs/content/nuget-dependencies.md (after the existing username/password environment variable section):

`authtype` is an optional parameter to specify the authentication scheme. Allowed
values are `basic` and `ntlm`. If no authentication type is specified, basic
authentication will be used.

It's also possible to specify the entire source line as an environment variable.
This is useful if you don't want the feed URL (or its credentials) to appear in
source control at all:

\`\`\`paket
source %FEED_URL%
\`\`\`

Here, the `FEED_URL` environment variable must contain everything that would
normally follow the `source` keyword, for example:

\`\`\`
(myserver/redacted) username: "%PRIVATE_FEED_USER%" password: "%PRIVATE_FEED_PASS%" authtype: "ntlm"
\`\`\`

Since this PR is on a fork (msarilar/Paket) that I don't have push access to, I can't commit this directly to the branch — @msarilar, feel free to incorporate this text (or your own wording) into the docs to complete the PR.

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38

@dsyme

dsyme commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

/repo-assist Please make a new PR with the same contents as this PR but also adding docs.

@github-actions

github-actions Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

✓ Repo Assist completed successfully, see workflow run.

Generated by 🌈 Repo Assist, see workflow run. Learn more.

github-actions Bot added a commit that referenced this pull request Aug 27, 2026
Reimplements PR #4271 (by msarilar) on top of current master, and adds
documentation for the new 'source as environment variable' feature to
docs/content/nuget-dependencies.md as requested by @forki and @dsyme.

Co-authored-by: Copilot <[email protected]>
@dsyme dsyme closed this Aug 27, 2026
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.

Variables in paket.dependencies

3 participants