Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge latest Library.Template #958

Merged
merged 26 commits into from
Jun 12, 2023
Merged

Merge latest Library.Template #958

merged 26 commits into from
Jun 12, 2023

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Jun 12, 2023

AArnott and others added 26 commits May 1, 2023 22:48
It's been failing ever since switching from `Get-Nbgv.ps1` to `dotnet tool run nbgv`, but only on Azure Pipelines, and only on certain commits. Quite literally, it fails repeatedly on some particular commit, and if I push a new *empty* commit, it succeeds. This makes me believe that somehow, the git database or git commit id itself or something is causing `nbgv` to fail. I have no idea why it would fail with this output though:

```
Computing InsertVersionsValues variable
Option '--project' expects a single argument but 2 were provided.

ConvertFrom-Json: /home/vsts/work/1/s/azure-pipelines/variables/InsertVersionsValues.ps1:2
Line |
   2 |  … oft.VisualStudio.Validation" --format json | ConvertFrom-Json).Assemb …
     |                                                 ~~~~~~~~~~~~~~~~
     | Conversion from JSON failed with error: Unexpected character encountered
     | while parsing value: D. Path '', line 0, position 0.
```

The output suggests a malformed command line, but I simply see no possible way for that to happen. Nor can I repro it locally.
* Crank up dependabot

* Bump CSharpIsNullAnalyzer from 0.1.329 to 0.1.495

Bumps [CSharpIsNullAnalyzer](https://github.com/AArnott/CSharpIsNull) from 0.1.329 to 0.1.495.
- [Release notes](https://github.com/AArnott/CSharpIsNull/releases)
- [Commits](https://github.com/AArnott/CSharpIsNull/commits)

---
updated-dependencies:
- dependency-name: CSharpIsNullAnalyzer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Crank up dependabot

* Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.5.0 to 17.6.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.5.0...v17.6.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Crank up dependabot

* Bump dotnet-coverage from 17.7.0 to 17.7.1

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.7.0 to 17.7.1.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
I believe `dotnet tool run` may be stealing the `--project` parameter non-deterministically (perhaps due to string hashing inputs that change in every process). By adding `--` in front of all parameters for the `nbgv` tool, I believe and hope this will resolve the issue by forcing the command line parser to interpret all subsequent command line arguments to be directed to `nbgv`.
@AArnott AArnott enabled auto-merge June 12, 2023 15:21
@AArnott AArnott merged commit 814dd2b into main Jun 12, 2023
@AArnott AArnott deleted the dev/andarno/libtemplateUpdate branch June 12, 2023 15:42
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