guibranco / BancosBrasileiros-MergeTool

🇧🇷 🏦 📋 Brazilian banks: MergeTool - The C# .NET tool used to merge and keep data from the Bancos Brasileiros repository updated
https://guibranco.github.io/BancosBrasileiros-MergeTool/
MIT License
5 stars 0 forks source link

GitAuto: [FEATURE] Add YAML format to the output formats #167

Open gitauto-ai[bot] opened 2 weeks ago

gitauto-ai[bot] commented 2 weeks ago

Resolves #156

What is the feature

Add support for a new output format—YAML—to the data generated by the tool. Currently, the tool supports output formats such as CSV, XML, JSON, and Markdown. The YAML output should follow the same structure as the JSON output, providing an additional human-readable and whitespace-sensitive format.

Why we need the feature

How to implement and why

Step 1: Update Output Format Options

Reasoning: Updating the interface allows users to easily select the new format without affecting existing functionalities.


Step 2: Implement YAML Serialization

Reasoning: Leveraging a well-supported library ensures reliability and reduces the risk of serialization errors.


Step 3: Update Documentation and Samples

Reasoning: Clear documentation assists users in understanding and adopting the new feature effectively.


Step 4: Write Unit Tests

Reasoning: Testing guarantees the reliability of the new feature and prevents regressions in future updates.


Step 5: Maintain Code Quality

Reasoning: Maintaining code quality and consistency aids in long-term maintainability and collaboration.

About backward compatibility

Conclusion: The feature is fully backward compatible, providing additional functionality without affecting existing users or integrations.

Test these changes locally

git checkout -b gitauto/issue-#156-b65c0f67-2645-4513-8d04-26b3e13e680f
git pull origin gitauto/issue-#156-b65c0f67-2645-4513-8d04-26b3e13e680f
sonarcloud[bot] commented 2 weeks ago

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint