8000 Thor: Add central package management & lock with Github Action cache by Riges · Pull Request #177 · Riges/Netatmo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Thor: Add central package management & lock with Github Action cache #177

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 GitHu 8000 b”, 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

Merged
merged 4 commits into from
Apr 9, 2025

Conversation

Riges
Copy link
Owner
@Riges Riges commented Apr 9, 2025

This pull request includes several changes to implement central package management, improve CI workflows, and update package references. The most important changes include adding central package management to the repository, updating CI workflows to use locked package modes, and removing the Azure Pipelines configuration.

Central Package Management:

  • Directory.Packages.props: Added central package management for NuGet packages, including specifying package versions for multiple dependencies.
  • src/Netatmo/Netatmo.csproj and tests/Netatmo.Tests/Netatmo.Tests.csproj: Updated package references to use central package management. [1] [2]

CI Workflow Improvements:

  • .github/workflows/ci.yml and .github/workflows/tests.yml: Updated workflows to use dotnet restore --locked-mode and enabled caching for setup-dotnet action. [1] [2] [3]

Removal of Azure Pipelines Configuration:

  • azure-pipelines.yml: Removed the Azure Pipelines configuration file as part of the transition to GitHub Actions for CI/CD.

Documentation Update:

  • README.md: Added a section about central package management to inform developers about the new package management approach.

Dev Container Update:

Riges added 3 commits April 9, 2025 14:10
* **Directory.Packages.p
8000
rops**: Add file to manage package versions centrally.
* **Netatmo.csproj**: Remove version numbers from package references.
* **Netatmo.Tests.csproj**: Remove version numbers from package references.
* **README.md**: Add section about central package management.
Add build and test tasks to `.devcontainer/devcontainer.json`
* Add "tasks" section with "build" and "test" commands
* Use `dotnet restore` and `dotnet build` for the build task
* Use `dotnet restore` and `dotnet test` for the test task
* **Directory.Packages.props**
  - Add `<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>` property

* **.devcontainer/devcontainer.json**
  - Update build and test tasks to use `--locked-mode` for `dotnet restore`

* **tests/TestApp/packages.lock.json**
  - Add new package lock file

* **src/Netatmo/packages.lock.json**
  - Add new package lock file

* **tests/Netatmo.Tests/packages.lock.json**
  - Add new package lock file
@Riges Riges self-assigned this Apr 9, 2025
@Copilot Copilot AI review requested due to automatic review settings April 9, 2025 12:32
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 11 changed files in this pull request and generated no comments.

Files not reviewed (7)
  • .devcontainer/devcontainer.json: Language not supported
  • Directory.Packages.props: Language not supported
  • azure-pipelines.yml: Language not supported
  • src/Netatmo/Netatmo.csproj: Language not supported
  • src/Netatmo/packages.lock.json: Language not supported
  • tests/Netatmo.Tests/Netatmo.Tests.csproj: Language not supported
  • tests/TestApp/packages.lock.json: Language not supported

@Riges Riges requested a review from Copilot April 9, 2025 12:55
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 11 changed files in this pull request and generated no comments.

Files not reviewed (7)
  • .devcontainer/devcontainer.json: Language not supported
  • Directory.Packages.props: Language not supported
  • azure-pipelines.yml: Language not supported
  • src/Netatmo/Netatmo.csproj: Language not supported
  • src/Netatmo/packages.lock.json: Language not supported
  • tests/Netatmo.Tests/Netatmo.Tests.csproj: Language not supported
  • tests/TestApp/packages.lock.json: Language not supported

@Riges Riges merged commit 9377d27 into master Apr 9, 2025
9 checks passed
@Riges Riges deleted the feature-central-package-management branch April 9, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0