Skip to content

Conversation

@FrankBakkerNl
Copy link
Contributor

Proposed change

When nd-codegen is run, it will check nuget if there is a newer version available and write a warning if there is.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • The code compiles without warnings (code quality check)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration are added/changed:

@codecov
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 34 lines in your changes missing coverage. Please review.

Project coverage is 82%. Comparing base (b9c730e) to head (a30de9a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...mon.HassModel.CodeGenerator/DependencyValidator.cs 0% 30 Missing ⚠️
...n.HassModel.CodeGenerator/Helpers/VersionHelper.cs 0% 2 Missing ⚠️
...Model/NetDaemon.HassModel.CodeGenerator/Program.cs 0% 2 Missing ⚠️
Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1191   +/-   ##
====================================
- Coverage    82%     82%   -1%     
====================================
  Files       196     196           
  Lines      3820    3851   +31     
  Branches    428     430    +2     
====================================
- Hits       3167    3161    -6     
- Misses      486     523   +37     
  Partials    167     167           
Flag Coverage Δ
unittests 82% <0%> (-1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@FrankBakkerNl FrankBakkerNl enabled auto-merge (squash) October 19, 2024 17:44
Copy link
Collaborator

@helto4real helto4real left a comment

Choose a reason for hiding this comment

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

This is amazing!

@helto4real helto4real disabled auto-merge October 26, 2024 07:56
@helto4real helto4real merged commit 3abb733 into net-daemon:main Oct 26, 2024
helto4real added a commit that referenced this pull request Feb 4, 2025
* Have nd-codegen check for available updates

* skip prerelease versions

* fix

---------

Co-authored-by: Tomas Hellström <tomas.hellstrom@yahoo.se>
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.

nd-codegen should check if a newer version is available, and log a warning if so.

2 participants