fsprojects / fsprojects/Paket

Running convert-from-nuget with --migrate-credentials plaintext fails.

Open
#2,543 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug credentials nuget-convert paket runtime: .net framework/mono
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

When running the command below:

paket convert-from-nuget --migrate-credentials plaintext

it fails with an error:

You cannot use the old and new syntax at the same time: --creds-migration <-> --migrate-credentials

If you try running:

paket convert-from-nuget --creds-migration plaintext

it fails with the following error:

ERROR: unrecognized argument: '--creds-migration'.

Repro steps

Please provide the steps required to reproduce the problem

  1. Run: paket convert-from-nuget --migrate-credentials plaintext
Expected behavior

It should run adding the credentials into the paket.dependancies file in plain text

Actual behavior

Error occurs:

You cannot use the old and new syntax at the same time: --creds-migration <-> --migrate-credentials

Known workarounds

None

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.

Research direction

Start by reproducing paket convert-from-nuget --migrate-credentials plaintext, then trace the convert-from-nuget command's argument definitions and credential-migration handling. Compare the accepted option with the legacy --creds-migration path; done means the documented command runs and writes credentials in plaintext to the Paket dependencies file.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.