mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 13:45:53 +00:00
Small inconsistency in logging #116
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FRvanderVeen on GitHub (Feb 22, 2022).
I was using the CreateDeb and CreateRpm tasks after each other. I noticed a small inconsistency in the logging output. This gave me the idea that something went wrong, but looking in the code, I see everything is fine.
Only the DebTask logs the following
3f7bd3c61a/Packaging.Targets/DebTask.cs (L192-L196)3f7bd3c61a/Packaging.Targets/DebTask.cs (L288-L292)Where all other tasks log
3f7bd3c61a/Packaging.Targets/RpmTask.cs (L260)3f7bd3c61a/Packaging.Targets/RpmTask.cs (L336)This difference is probably due to the fact that all other tasks write a log via the .targets file
Deb:
3f7bd3c61a/Packaging.Targets/build/Packaging.Targets.targets (L186-L190)Rpm:
3f7bd3c61a/Packaging.Targets/build/Packaging.Targets.targets (L99-L105)