Repository navigation
Bump CsvHelper from 33.1.0 to 34.1.0 #126
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
Merged
hindermath
merged 28 commits into
main
from
dependabot/nuget/InventarViewerApp/CsvHelper-34.1.0
Nov 23, 2026
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f5a48d1
chore(deps): bump astral-sh/setup-uv
dependabot[bot] a3a8a25
Bump the nuget-minor-patch group with 3 updates
dependabot[bot] 4885a53
Bump CsvHelper from 33.1.0 to 34.1.0
dependabot[bot] 64cb2c9
Bump Microsoft.Extensions.Hosting from 10.0.15 to 11.0.0
dependabot[bot] c5cca7a
Bump Microsoft.Extensions.Logging.Abstractions and Npgsql
dependabot[bot] e926964
docs: refresh statistics for dependency update
hindermath 0bfda71
docs: refresh dependency update statistics evidence
hindermath 540c2a6
fix(deps): migrate CSV mappings to CsvHelper 34
hindermath 613136c
docs: refresh dependency update statistics evidence
hindermath 1d891dd
docs: regenerate Profile 2 after evidence refresh
hindermath ea5f378
Merge commit '0bfda7184f507a728fd1d0113c449173ee65f3ea' into HEAD
hindermath 916cd35
docs: refresh dependency update statistics evidence
hindermath 9393cd8
docs: regenerate Profile 2 after evidence refresh
hindermath 41fbce4
Merge commit '9393cd885971054817bed42f03f96da81e28484e' into HEAD
hindermath 1a23306
docs: refresh dependency update statistics evidence
hindermath 425f1a6
docs: regenerate Profile 2 after evidence refresh
hindermath fd55366
Merge commit '425f1a6b747752ef34dbff1ee6227b5e0c726940' into HEAD
hindermath ad89771
docs: refresh dependency update statistics evidence
hindermath b0cfce5
docs: regenerate Profile 2 after evidence refresh
hindermath 1b2e110
Merge commit 'b0cfce51f561304edece747a0b5e600a64fc7c67' into HEAD
hindermath bdbc61c
docs: refresh dependency update statistics evidence
hindermath d7739c3
docs: regenerate Profile 2 after evidence refresh
hindermath c57284f
fix(test): own temporary directories for CSV regression cases
hindermath f50792e
docs: refresh dependency update statistics evidence
hindermath 3befa03
docs: regenerate Profile 2 after evidence refresh
hindermath 80c8a86
docs: clarify generated CSV mapping ownership in both languages
hindermath a9f8f89
docs: refresh dependency update statistics evidence
hindermath cb9862c
docs: regenerate Profile 2 after evidence refresh
hindermath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <LangVersion>14.0</LangVersion> | ||
| <Version>1.2.8.124</Version> | ||
| <AssemblyVersion>1.2.8.124</AssemblyVersion> | ||
| <FileVersion>1.2.8.124</FileVersion> | ||
| <Version>1.2.8.126</Version> | ||
| <AssemblyVersion>1.2.8.126</AssemblyVersion> | ||
| <FileVersion>1.2.8.126</FileVersion> | ||
| </PropertyGroup> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,45 @@ | ||
| using CsvHelper.Configuration; | ||
| using CsvHelper; | ||
| using InventarWorkerCommon.Models.SqlDatabase; | ||
|
|
||
| namespace InventarWorkerCommon.Services.Csv; | ||
|
|
||
| /// <summary> | ||
| /// Provides a mapping configuration for the `MachineFromCsv` class to CSV files, | ||
| /// defining how properties such as name, operating system, and other machine details | ||
| /// correspond to specific column headers in the CSV. | ||
| /// DE: Erhält Header-Aliase und optionale Spalten mit der generierten Zuordnung. | ||
| /// EN: Preserves header aliases and optional columns through generated mapping. | ||
| /// </summary> | ||
| public class MachineMapFromCsv : ClassMap<MachineFromCsv> | ||
| [CsvRecordMap(typeof(MachineFromCsv))] | ||
| public partial class MachineMapFromCsv | ||
| { | ||
| /// <summary> | ||
| /// Configures the mapping between the `MachineFromCsv` class and CSV file data. | ||
| /// Assigns column names in the CSV file to the corresponding properties in | ||
| /// the `MachineFromCsv` class. Supports multiple possible column header names | ||
| /// for each property to accommodate varying CSV formats. Provides optional | ||
| /// mapping for properties where data may not always be present. | ||
| /// </summary> | ||
| public MachineMapFromCsv() | ||
| { | ||
| Map(m => m.Name).Name("Name", "MachineName", "Computer"); | ||
| Map(m => m.OperatingSystem).Name("OperatingSystem", "OS", "Platform").Optional(); | ||
| Map(m => m.LastSeen).Name("LastSeen", "LastActivity", "LastOnline").Optional(); | ||
| Map(m => m.IPv4).Name("IPv4", "INET").Optional(); | ||
| Map(m => m.IPv6).Name("IPv6", "INET6").Optional(); | ||
| Map(m => m.FQDN).Name("FQDN", "DNS Name").Optional(); | ||
| Map(m => m.Disabled).Name("Disabled", "Disable"); | ||
| Map(m => m.Deprovisioned).Name("Deprovisioned", "Deprovision"); | ||
| } | ||
| } | ||
| /// <summary>DE: CSV-Zuordnung für Name. EN: CSV mapping for Name.</summary> | ||
| [CsvColumn("Name", "MachineName", "Computer")] | ||
| public string Name { get; set; } = string.Empty; | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für OperatingSystem. EN: CSV mapping for OperatingSystem.</summary> | ||
| [CsvColumn("OperatingSystem", "OS", "Platform", Optional = true)] | ||
| public string? OperatingSystem { get; set; } | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für LastSeen. EN: CSV mapping for LastSeen.</summary> | ||
| [CsvColumn("LastSeen", "LastActivity", "LastOnline", Optional = true)] | ||
| public DateTime? LastSeen { get; set; } | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für IPv4. EN: CSV mapping for IPv4.</summary> | ||
| [CsvColumn("IPv4", "INET", Optional = true)] | ||
| public string? IPv4 { get; set; } | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für IPv6. EN: CSV mapping for IPv6.</summary> | ||
| [CsvColumn("IPv6", "INET6", Optional = true)] | ||
| public string? IPv6 { get; set; } | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für FQDN. EN: CSV mapping for FQDN.</summary> | ||
| [CsvColumn("FQDN", "DNS Name", Optional = true)] | ||
| public string? FQDN { get; set; } | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für Disabled. EN: CSV mapping for Disabled.</summary> | ||
| [CsvColumn("Disabled", "Disable")] | ||
| public bool Disabled { get; set; } | ||
|
|
||
| /// <summary>DE: CSV-Zuordnung für Deprovisioned. EN: CSV mapping for Deprovisioned.</summary> | ||
| [CsvColumn("Deprovisioned", "Deprovision")] | ||
| public bool Deprovisioned { get; set; } | ||
|
|
||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.