Skip to content

Bug fix/linux_DownloadSolutionFormGitIssueFix#4270

Merged
Maheshkale447 merged 3 commits into
Releases/Published-Official-Releases/Official-Release-2025.3from
BugFix/GitLinuxFix
Jul 29, 2025
Merged

Bug fix/linux_DownloadSolutionFormGitIssueFix#4270
Maheshkale447 merged 3 commits into
Releases/Published-Official-Releases/Official-Release-2025.3from
BugFix/GitLinuxFix

Conversation

@GokulBothe99

@GokulBothe99 GokulBothe99 commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution.
Before submitting this PR, please make sure:

  • PR description and commit message should describe the changes done in this PR
  • Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
  • Latest Code from master or specific release branch is merged to your branch
  • No unwanted\commented\junk code is included
  • No new warning upon build solution
  • Code Summary\Comments are added to my code which explains what my code is doing
  • Existing unit test cases are passed
  • New Unit tests are added for your development
  • Sanity Tests are successfully executed for New and Existing Functionality
  • Verify that changes are compatible with all relevant browsers and platforms.
  • After creating pull request there should not be any conflicts
  • Resolve all Codacy comments
  • Builds and checks are passed before PR is sent for review
  • Resolve code review comments
  • Update the Help Library document to match any feature changes

Summary by CodeRabbit

  • Bug Fixes

    • Improved handling of Git credentials with special characters to prevent authentication issues.
    • Enhanced error reporting for source control project retrieval failures.
  • Refactor

    • Standardized parameter naming for improved consistency in source control integration.
  • Chores

    • Replaced direct DLL references with NuGet package references for Ginger.ExecuterService.Contracts across multiple projects, streamlining dependency management.

@coderabbitai

coderabbitai Bot commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

This update transitions several project files from direct DLL references to using a NuGet package for Ginger.ExecuterService.Contracts version 25.3.0. Additionally, it refines the GetProject logic in source control integration, improves credential handling in Git operations, and applies minor formatting and parameter naming consistency.

Changes

Cohort / File(s) Change Summary
NuGet Package Migration
Ginger/Ginger.csproj, Ginger/GingerCoreCommon/GingerCoreCommon.csproj, Ginger/GingerCoreNET/GingerCoreNET.csproj, Ginger/GingerCoreNETUnitTest/GingerCoreNETUnitTest.csproj, Ginger/GingerRuntime/GingerRuntime.csproj
Replaced direct DLL references to Ginger.ExecuterService.Contracts.dll with NuGet package reference version 25.3.0.
Source Control Integration Logic
Ginger/GingerCoreNET/SourceControl/SourceControlIntegration.cs
Updated GetProject method: renamed parameters to camelCase, added conditional logic for platform/source control, improved error reporting, and adjusted return value. Added relevant using directives and formatting changes.
Git Credential Encoding
Ginger/GingerCoreNET/SourceControl/GitSourceControlShellWrapper.cs
Modified Git clone URL construction to URL-encode username and password using Uri.EscapeDataString for proper formatting.

Sequence Diagram(s)

sequenceDiagram
    participant Caller
    participant SourceControlIntegration
    participant SourceControlBase

    Caller->>SourceControlIntegration: GetProject(sourceControl, path, uri, progressNotifier, cancellationToken)
    alt OS is Linux or source control is SVN
        SourceControlIntegration->>SourceControlBase: GetProject(path, uri)
    else
        SourceControlIntegration->>SourceControlBase: GetProjectWithProgress(path, uri, progressNotifier, cancellationToken)
    end
    SourceControlBase-->>SourceControlIntegration: (success, error)
    SourceControlIntegration-->>Caller: success
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • showing progress on UI #4127: Both PRs involve enhancements to GetProject and GetProjectWithProgress methods in source control, focusing on progress handling and integration logic.

Suggested reviewers

  • Maheshkale447

Poem

In the warren of code, a hop and a leap,
DLLs replaced, dependencies neat.
Credentials now safe, with encoding in tow,
Source control logic—tidy and thorough.
A package update, a bunny’s delight,
Reviewing these changes will be light!
🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch BugFix/GitLinuxFix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@GokulBothe99
GokulBothe99 changed the base branch from master to Releases/Official-Release July 29, 2025 12:53

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c58f7db and ba17c91.

⛔ Files ignored due to path filters (1)
  • Ginger/GingerCoreNET/DLLS/Ginger.ExecuterService.Contracts.dll is excluded by !**/*.dll, !**/*.dll
📒 Files selected for processing (7)
  • Ginger/Ginger/Ginger.csproj (2 hunks)
  • Ginger/GingerCoreCommon/GingerCoreCommon.csproj (2 hunks)
  • Ginger/GingerCoreNET/GingerCoreNET.csproj (1 hunks)
  • Ginger/GingerCoreNET/SourceControl/GitSourceControlShellWrapper.cs (1 hunks)
  • Ginger/GingerCoreNET/SourceControl/SourceControlIntegration.cs (3 hunks)
  • Ginger/GingerCoreNETUnitTest/GingerCoreNETUnitTest.csproj (2 hunks)
  • Ginger/GingerRuntime/GingerRuntime.csproj (1 hunks)
🧰 Additional context used
🧠 Learnings (8)
📓 Common learnings
Learnt from: IamRanjeetSingh
PR: Ginger-Automation/Ginger#3720
File: Ginger/Ginger/SolutionWindows/TreeViewItems/NewTreeViewItemBase.cs:574-606
Timestamp: 2024-07-26T22:04:12.930Z
Learning: User IamRanjeetSingh prefers minimal changes in patch updates for stability. Typo corrections or similar minor code improvements may be deferred to later updates.
Learnt from: sudarshan0212
PR: Ginger-Automation/Ginger#4024
File: Ginger/GingerRuntime/GingerRuntime.csproj:43-43
Timestamp: 2024-12-09T12:36:36.824Z
Learning: Version 24.6.1 of Ginger.ExecuterService.Contracts is unlisted and should not be suggested for updates.
Learnt from: IamRanjeetSingh
PR: Ginger-Automation/Ginger#4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.
Learnt from: Maheshkale447
PR: Ginger-Automation/Ginger#3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The `LastUpdatedTime` in the `POMExecutionUtils.cs` file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.
Learnt from: GokulBothe99
PR: Ginger-Automation/Ginger#4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The `Amdocs.Ginger.Common.SourceControlLib` namespace is required in files that reference the `GingerSolution` class for source control operations in the Ginger automation framework.
Learnt from: GokulBothe99
PR: Ginger-Automation/Ginger#4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The `Amdocs.Ginger.Common.SourceControlLib` namespace is required in files that reference the `GingerSolution` class for source control operations in the Ginger automation framework.
Learnt from: AmanPrasad43
PR: Ginger-Automation/Ginger#0
File: :0-0
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The `WorkSpace.Instance.Solution.GetSolutionTargetApplications()` method in the Ginger project is designed to always return a value, making additional error handling unnecessary according to the project's contributors.
Learnt from: GokulBothe99
PR: Ginger-Automation/Ginger#4201
File: Ginger/Ginger/SourceControl/CheckInPage.xaml.cs:60-64
Timestamp: 2025-05-09T10:02:58.761Z
Learning: The `GetCurrentWorkingBranch()` method in Ginger source control module has been confirmed by the developer to work reliably without null checks in the current implementation.
Ginger/GingerCoreNET/GingerCoreNET.csproj (10)

Learnt from: sudarshan0212
PR: #4024
File: Ginger/GingerRuntime/GingerRuntime.csproj:43-43
Timestamp: 2024-12-09T12:36:36.824Z
Learning: Version 24.6.1 of Ginger.ExecuterService.Contracts is unlisted and should not be suggested for updates.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: IamRanjeetSingh
PR: #4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T10:37:13.073Z
Learning: In Ginger codebase, both using amdocs.ginger.GingerCoreNET; and using Amdocs.Ginger.CoreNET; are valid and serve different purposes. The first (lowercase) contains the WorkSpace class and related workspace functionality, while the second (proper case) contains drivers like GenericAppiumDriver and other core functionality. Both may be required in files that use types from both namespaces.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it imports the ObservableList<> class which is used throughout the file.

Learnt from: Maheshkale447
PR: #3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The LastUpdatedTime in the POMExecutionUtils.cs file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it provides access to the ObservableList<> class which is used throughout the file for collections of RunSetConfig, AnalyzerItemBase, and ApplicationPOMModel objects.

Learnt from: prashelke
PR: #4067
File: Ginger/GingerCoreCommon/Repository/SolutionRepository.cs:55-55
Timestamp: 2025-01-21T11:43:12.379Z
Learning: In Ginger's SolutionRepository, the path @"ExecutionResults\GingerExecutionResults.db" needs to be explicitly excluded in mSolutionPathsToAvoid list, even though its parent directory @"ExecutionResults" is also excluded. This specific file exclusion serves a distinct purpose and should not be considered redundant.

Learnt from: AmanPrasad43
PR: #4034
File: Ginger/GingerCoreNET/ALMLib/Azure/AzureDevOpsCore.cs:235-235
Timestamp: 2024-12-12T09:43:40.482Z
Learning: In Ginger/GingerCoreNET/ALMLib/Azure/AzureDevOpsCore.cs, using dynamic for the attachment variable in the AddAttachmentsToDefect method is acceptable because AttachmentReference is not reliable at this time.

Ginger/GingerRuntime/GingerRuntime.csproj (12)

Learnt from: sudarshan0212
PR: #4024
File: Ginger/GingerRuntime/GingerRuntime.csproj:43-43
Timestamp: 2024-12-09T12:36:36.824Z
Learning: Version 24.6.1 of Ginger.ExecuterService.Contracts is unlisted and should not be suggested for updates.

Learnt from: IamRanjeetSingh
PR: #4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: Maheshkale447
PR: #3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The LastUpdatedTime in the POMExecutionUtils.cs file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T10:37:13.073Z
Learning: In Ginger codebase, both using amdocs.ginger.GingerCoreNET; and using Amdocs.Ginger.CoreNET; are valid and serve different purposes. The first (lowercase) contains the WorkSpace class and related workspace functionality, while the second (proper case) contains drivers like GenericAppiumDriver and other core functionality. Both may be required in files that use types from both namespaces.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it imports the ObservableList<> class which is used throughout the file.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it provides access to the ObservableList<> class which is used throughout the file for collections of RunSetConfig, AnalyzerItemBase, and ApplicationPOMModel objects.

Learnt from: prashelke
PR: #4067
File: Ginger/GingerCoreCommon/Repository/SolutionRepository.cs:55-55
Timestamp: 2025-01-21T11:43:12.379Z
Learning: In Ginger's SolutionRepository, the path @"ExecutionResults\GingerExecutionResults.db" needs to be explicitly excluded in mSolutionPathsToAvoid list, even though its parent directory @"ExecutionResults" is also excluded. This specific file exclusion serves a distinct purpose and should not be considered redundant.

Learnt from: prashelke
PR: #3984
File: Ginger/GingerCoreNET/ALMLib/RQM/ExportToRQM.cs:911-911
Timestamp: 2024-11-06T09:06:34.050Z
Learning: In the Ginger/GingerCoreNET/ALMLib/RQM/ExportToRQM.cs file of the Ginger project, initializing lists in C# using [] syntax (e.g., List<T> list = [];) is acceptable and does not require changing to new List<T>().

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T09:52:40.873Z
Learning: The GenericAppiumDriver class is located in the Amdocs.Ginger.CoreNET namespace, not in a namespace that matches its file path structure. File paths don't always correspond to namespace declarations in this codebase.

Learnt from: prashelke
PR: #4193
File: Ginger/GingerCoreCommon/GeneralLib/ApiSettings.cs:3-18
Timestamp: 2025-04-30T13:57:26.082Z
Learning: In the Ginger project, C# properties should follow PascalCase naming convention for consistency across the codebase, as demonstrated in the ApiSettings class.

Ginger/GingerCoreCommon/GingerCoreCommon.csproj (10)

Learnt from: sudarshan0212
PR: #4024
File: Ginger/GingerRuntime/GingerRuntime.csproj:43-43
Timestamp: 2024-12-09T12:36:36.824Z
Learning: Version 24.6.1 of Ginger.ExecuterService.Contracts is unlisted and should not be suggested for updates.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T10:37:13.073Z
Learning: In Ginger codebase, both using amdocs.ginger.GingerCoreNET; and using Amdocs.Ginger.CoreNET; are valid and serve different purposes. The first (lowercase) contains the WorkSpace class and related workspace functionality, while the second (proper case) contains drivers like GenericAppiumDriver and other core functionality. Both may be required in files that use types from both namespaces.

Learnt from: IamRanjeetSingh
PR: #4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.

Learnt from: Maheshkale447
PR: #3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The LastUpdatedTime in the POMExecutionUtils.cs file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it imports the ObservableList<> class which is used throughout the file.

Learnt from: prashelke
PR: #4067
File: Ginger/GingerCoreCommon/Repository/SolutionRepository.cs:55-55
Timestamp: 2025-01-21T11:43:12.379Z
Learning: In Ginger's SolutionRepository, the path @"ExecutionResults\GingerExecutionResults.db" needs to be explicitly excluded in mSolutionPathsToAvoid list, even though its parent directory @"ExecutionResults" is also excluded. This specific file exclusion serves a distinct purpose and should not be considered redundant.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it provides access to the ObservableList<> class which is used throughout the file for collections of RunSetConfig, AnalyzerItemBase, and ApplicationPOMModel objects.

Learnt from: prashelke
PR: #4193
File: Ginger/GingerCoreCommon/GeneralLib/ApiSettings.cs:3-18
Timestamp: 2025-04-30T13:57:26.082Z
Learning: In the Ginger project, C# properties should follow PascalCase naming convention for consistency across the codebase, as demonstrated in the ApiSettings class.

Ginger/GingerCoreNETUnitTest/GingerCoreNETUnitTest.csproj (9)

Learnt from: sudarshan0212
PR: #4024
File: Ginger/GingerRuntime/GingerRuntime.csproj:43-43
Timestamp: 2024-12-09T12:36:36.824Z
Learning: Version 24.6.1 of Ginger.ExecuterService.Contracts is unlisted and should not be suggested for updates.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T10:37:13.073Z
Learning: In Ginger codebase, both using amdocs.ginger.GingerCoreNET; and using Amdocs.Ginger.CoreNET; are valid and serve different purposes. The first (lowercase) contains the WorkSpace class and related workspace functionality, while the second (proper case) contains drivers like GenericAppiumDriver and other core functionality. Both may be required in files that use types from both namespaces.

Learnt from: IamRanjeetSingh
PR: #4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.

Learnt from: Maheshkale447
PR: #3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The LastUpdatedTime in the POMExecutionUtils.cs file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it imports the ObservableList<> class which is used throughout the file.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it provides access to the ObservableList<> class which is used throughout the file for collections of RunSetConfig, AnalyzerItemBase, and ApplicationPOMModel objects.

Learnt from: prashelke
PR: #4067
File: Ginger/GingerCoreCommon/Repository/SolutionRepository.cs:55-55
Timestamp: 2025-01-21T11:43:12.379Z
Learning: In Ginger's SolutionRepository, the path @"ExecutionResults\GingerExecutionResults.db" needs to be explicitly excluded in mSolutionPathsToAvoid list, even though its parent directory @"ExecutionResults" is also excluded. This specific file exclusion serves a distinct purpose and should not be considered redundant.

Ginger/GingerCoreNET/SourceControl/GitSourceControlShellWrapper.cs (5)

Learnt from: prashelke
PR: #4249
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs:7199-7202
Timestamp: 2025-07-10T07:12:52.786Z
Learning: In Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs, text values used in XPath expressions should be escaped using a helper method (such as EscapeXPathString) to handle single quotes and ensure valid XPath syntax.

Learnt from: prashelke
PR: #4249
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs:4684-4695
Timestamp: 2025-07-10T07:11:28.974Z
Learning: In Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs, attribute values used in CSS selectors (e.g., ByTitle, ByAriaLabel, ByDataTestId, ByPlaceholder) should be escaped using a helper method (such as EscapeCssAttributeValue) to prevent selector breakage due to special characters.

Learnt from: GokulBothe99
PR: #4011
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:102-105
Timestamp: 2024-11-29T07:45:52.303Z
Learning: When reviewing the password encryption implementation in GingerCoreNET/RunLib/CLILib, consider that the existing approach is acceptable, and changes to enhance security aspects are not required.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/GingerCoreCommon/SourceControlLib/SourceControlBase.cs:58-59
Timestamp: 2025-03-20T10:08:02.309Z
Learning: Plain string storage for credentials in the SourceControlBase class is acceptable for now as confirmed by the developer. Security improvements for credential storage may be planned for a future iteration.

Learnt from: amitamir
PR: #4151
File: Ginger/GingerCoreNET/RunLib/CLILib/CLIDynamicFile.cs:0-0
Timestamp: 2025-03-30T15:18:06.262Z
Learning: In CLIDynamicFile.cs, when using the UseTempFolder feature, we should use the cliHelper.GetTempFolderPathForRepo() method instead of manually constructing the temporary path, as this method already handles proper repository name extraction from URLs.

Ginger/Ginger/Ginger.csproj (10)

Learnt from: sudarshan0212
PR: #4024
File: Ginger/GingerRuntime/GingerRuntime.csproj:43-43
Timestamp: 2024-12-09T12:36:36.824Z
Learning: Version 24.6.1 of Ginger.ExecuterService.Contracts is unlisted and should not be suggested for updates.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: IamRanjeetSingh
PR: #4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T10:37:13.073Z
Learning: In Ginger codebase, both using amdocs.ginger.GingerCoreNET; and using Amdocs.Ginger.CoreNET; are valid and serve different purposes. The first (lowercase) contains the WorkSpace class and related workspace functionality, while the second (proper case) contains drivers like GenericAppiumDriver and other core functionality. Both may be required in files that use types from both namespaces.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it imports the ObservableList<> class which is used throughout the file.

Learnt from: Maheshkale447
PR: #3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The LastUpdatedTime in the POMExecutionUtils.cs file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it provides access to the ObservableList<> class which is used throughout the file for collections of RunSetConfig, AnalyzerItemBase, and ApplicationPOMModel objects.

Learnt from: prashelke
PR: #4067
File: Ginger/GingerCoreCommon/Repository/SolutionRepository.cs:55-55
Timestamp: 2025-01-21T11:43:12.379Z
Learning: In Ginger's SolutionRepository, the path @"ExecutionResults\GingerExecutionResults.db" needs to be explicitly excluded in mSolutionPathsToAvoid list, even though its parent directory @"ExecutionResults" is also excluded. This specific file exclusion serves a distinct purpose and should not be considered redundant.

Learnt from: prashelke
PR: #4193
File: Ginger/GingerCoreCommon/GeneralLib/ApiSettings.cs:3-18
Timestamp: 2025-04-30T13:57:26.082Z
Learning: In the Ginger project, C# properties should follow PascalCase naming convention for consistency across the codebase, as demonstrated in the ApiSettings class.

Ginger/GingerCoreNET/SourceControl/SourceControlIntegration.cs (18)

Learnt from: prashelke
PR: #4193
File: Ginger/GingerCoreCommon/GeneralLib/ApiSettings.cs:3-18
Timestamp: 2025-04-30T13:57:26.082Z
Learning: In the Ginger project, C# properties should follow PascalCase naming convention for consistency across the codebase, as demonstrated in the ApiSettings class.

Learnt from: GokulBothe99
PR: #4201
File: Ginger/Ginger/SourceControl/CheckInPage.xaml.cs:60-64
Timestamp: 2025-05-09T10:02:58.761Z
Learning: The GetCurrentWorkingBranch() method in Ginger source control module has been confirmed by the developer to work reliably without null checks in the current implementation.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/GingerCoreCommon/UserCofig/UserProfile.cs:748-765
Timestamp: 2025-03-20T11:17:00.659Z
Learning: The GetSolutionSourceControlInfo method in UserProfile class, which retrieves or creates a GingerSolution entry for a specific solution GUID, has been confirmed by the developer to be working as expected without issues of duplicate entries.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:30.816Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: GokulBothe99
PR: #4137
File: Ginger/Ginger/SourceControl/SourceControlProjectsPage.xaml.cs:21-21
Timestamp: 2025-03-20T11:10:33.780Z
Learning: The Amdocs.Ginger.Common.SourceControlLib namespace is required in files that reference the GingerSolution class for source control operations in the Ginger automation framework.

Learnt from: AmanPrasad43
PR: Ginger-Automation/Ginger#0
File: :0-0
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The WorkSpace.Instance.Solution.GetSolutionTargetApplications() method in the Ginger project is designed to always return a value, making additional error handling unnecessary according to the project's contributors.

Learnt from: prashelke
PR: #4232
File: Ginger/GingerCoreNET/ActionsLib/UI/VisualTesting/VRTAnalyzer.cs:19-22
Timestamp: 2025-06-16T10:37:13.073Z
Learning: In Ginger codebase, both using amdocs.ginger.GingerCoreNET; and using Amdocs.Ginger.CoreNET; are valid and serve different purposes. The first (lowercase) contains the WorkSpace class and related workspace functionality, while the second (proper case) contains drivers like GenericAppiumDriver and other core functionality. Both may be required in files that use types from both namespaces.

Learnt from: GokulBothe99
PR: #4085
File: Ginger/GingerCore/SourceControl/SVNSourceControl.cs:293-293
Timestamp: 2025-02-06T07:35:24.052Z
Learning: SVN source control is no longer supported in the Ginger project. All SVN-related code should be considered deprecated.

Learnt from: prashelke
PR: #4254
File: Ginger/GingerCoreNET/GeneralLib/ElementWrapperInfo.cs:89-93
Timestamp: 2025-07-16T14:17:56.429Z
Learning: In Ginger/GingerCoreNET/GeneralLib/ElementWrapperInfo.cs, the user prashelke prefers to keep the current casing for properties insideIframe and insideShadowDOM in the ElementwrapperContext class rather than changing them to PascalCase.

Learnt from: Maheshkale447
PR: #3637
File: Ginger/GingerCoreNET/Application Models/Execution/POM/POMExecutionUtils.cs:226-234
Timestamp: 2024-07-26T22:04:12.930Z
Learning: The LastUpdatedTime in the POMExecutionUtils.cs file of the Ginger project is always in the correct DateTime format, as confirmed by the user. This information is crucial for avoiding unnecessary error handling suggestions in future reviews.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it imports the ObservableList<> class which is used throughout the file.

Learnt from: GokulBothe99
PR: #4188
File: Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs:22-23
Timestamp: 2025-04-25T13:29:45.059Z
Learning: The using Amdocs.Ginger.Repository; statement in Ginger/GingerCoreNET/RunLib/CLILib/DoOptionsHanlder.cs is necessary as it provides access to the ObservableList<> class which is used throughout the file for collections of RunSetConfig, AnalyzerItemBase, and ApplicationPOMModel objects.

Learnt from: IamRanjeetSingh
PR: #4058
File: Ginger/GingerCoreNET/Drivers/CoreDrivers/Web/ActionHandlers/ActUIElementHandler.cs:648-649
Timestamp: 2025-01-16T04:09:15.662Z
Learning: The Ginger project primarily targets .NET 8.0, which supports C# 12 features including collection expressions with spread operator.

Learnt from: GokulBothe99
PR: #4180
File: Ginger/GingerCoreNET/SourceControl/GitSourceControlShellWrapper.cs:0-0
Timestamp: 2025-04-18T05:54:51.824Z
Learning: In the "Create new git branch" feature, the GitSourceControlShellWrapper implementations of CreateBranch() and GetLocalBranches() intentionally throw NotImplementedException as this functionality is primarily implemented in the GITSourceControl class using LibGit2Sharp.

Learnt from: AmanPrasad43
PR: #4034
File: Ginger/GingerCoreNET/ALMLib/Azure/AzureDevOpsCore.cs:235-235
Timestamp: 2024-12-12T09:43:40.482Z
Learning: In Ginger/GingerCoreNET/ALMLib/Azure/AzureDevOpsCore.cs, using dynamic for the attachment variable in the AddAttachmentsToDefect method is acceptable because AttachmentReference is not reliable at this time.

Learnt from: prashelke
PR: #3984
File: Ginger/GingerCoreNET/ALMLib/RQM/ExportToRQM.cs:911-911
Timestamp: 2024-11-06T09:06:34.050Z
Learning: In the Ginger/GingerCoreNET/ALMLib/RQM/ExportToRQM.cs file of the Ginger project, initializing lists in C# using [] syntax (e.g., List<T> list = [];) is acceptable and does not require changing to new List<T>().

Learnt from: GokulBothe99
PR: #4085
File: Ginger/GingerCoreNET/SourceControl/GITSourceControl.cs:317-317
Timestamp: 2025-02-06T07:15:58.225Z
Learning: In GITSourceControl class, the progressNotifier parameter can be null - in such cases the progress reporting is simply skipped without any issues as null checks are properly implemented in the code.

Learnt from: GokulBothe99
PR: #4085
File: Ginger/GingerCoreNET/SourceControl/GITSourceControl.cs:306-306
Timestamp: 2025-02-06T07:12:40.129Z
Learning: The GetLatest operation in GITSourceControl when invoked through CLI does not require cancellation support as it's designed to run to completion without interactive cancellation.

🔇 Additional comments (9)
Ginger/Ginger/Ginger.csproj (1)

733-733: All Ginger.ExecuterService.Contracts references are consistent (v25.3.0)
I verified every .csproj in the solution that mentions Ginger.ExecuterService.Contracts—all use

<PackageReference Include="Ginger.ExecuterService.Contracts" Version="25.3.0" />

and there are no legacy <Reference> entries. Everything is aligned.

Ginger/GingerCoreNET/GingerCoreNET.csproj (1)

264-265: Confirm package availability & remove any stale DLL reference

Switching to the NuGet package is the right move; however, please double-check that version 25.3.0 of Ginger.ExecuterService.Contracts is published on the feed used by your CI agents and that no residual <Reference Include="Ginger.ExecuterService.Contracts"> … </Reference> entries linger in other ItemGroups (they’d silently override the package).

Ginger/GingerCoreCommon/GingerCoreCommon.csproj (1)

35-37: Verify consistent assembly binding across all projects

The added package line looks fine, but make sure every project (including plugins built outside this repo) consumes the same 25.3.0 version, otherwise binding redirects will be required at runtime.

Ginger/GingerRuntime/GingerRuntime.csproj (1)

42-45: Runtime deliverables: ensure the contract DLL is copied

Because this is an executable project, confirm the restored Ginger.ExecuterService.Contracts.dll is copied into the publish / single-file bundle. A quick dotnet publish -c Release -r linux-x64 smoke test will surface any missing-assembly errors early.

Ginger/GingerCoreNETUnitTest/GingerCoreNETUnitTest.csproj (1)

92-92: LGTM! Excellent transition to NuGet package management.

The replacement of direct DLL references with NuGet package references for Ginger.ExecuterService.Contracts version 25.3.0 is a best practice that improves dependency management and version consistency across the solution.

Ginger/GingerCoreNET/SourceControl/GitSourceControlShellWrapper.cs (1)

154-154: Excellent security improvement for credential handling.

The addition of Uri.EscapeDataString() for both username and password ensures proper URL encoding of credentials, preventing issues with special characters and potential security vulnerabilities in Git clone URLs.

Ginger/GingerCoreNET/SourceControl/SourceControlIntegration.cs (3)

34-35: Good addition of using statements for cleaner code.

The static import of SourceControlBase and addition of System.Threading namespace support the enhanced functionality while improving code readability.


151-151: Improved parameter naming consistency.

The change from PascalCase to camelCase for parameter names (Pathpath, URIuri) follows C# naming conventions and improves code consistency.


156-165: Enhanced platform-aware source control handling.

The conditional logic properly selects between GetProject and GetProjectWithProgress based on platform and source control type, with improved error handling and success status tracking. This addresses platform-specific requirements while maintaining proper error reporting.

Comment on lines 808 to 812
<HintPath>DLLs\CredentialManagement.dll</HintPath>
</Reference>
<Reference Include="Ginger.ExecuterService.Contracts">
<HintPath>..\GingerCoreNET\DLLS\Ginger.ExecuterService.Contracts.dll</HintPath>
</Reference>

<Reference Include="GingerExternal">
<HintPath>..\GingerCoreNET\DLLS\GingerExternal.dll</HintPath>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Remove the orphaned blank node and old reference artefacts

Line 810 is now an empty, change-flagged line where the old DLL <Reference> block was.
While harmless, it’s noise in source control and may confuse future diffs.
Delete the stray line (and ensure the physical Ginger.ExecuterService.Contracts.dll file is no longer shipped in ProjectDll/ or DLLs/).

🤖 Prompt for AI Agents
In Ginger/Ginger/Ginger.csproj around lines 808 to 812, there is an orphaned
blank line left from a removed DLL <Reference> block. Remove this empty line to
clean up the project file and avoid confusion in future diffs. Additionally,
verify that the physical file Ginger.ExecuterService.Contracts.dll is no longer
present in the ProjectDll/ or DLLs/ directories and remove it if found.

@Maheshkale447
Maheshkale447 changed the base branch from Releases/Official-Release to Releases/Published-Official-Releases/Official-Release-2025.3 July 29, 2025 16:47
@Maheshkale447
Maheshkale447 merged commit 101fd3a into Releases/Published-Official-Releases/Official-Release-2025.3 Jul 29, 2025
4 of 5 checks passed
@Maheshkale447
Maheshkale447 deleted the BugFix/GitLinuxFix branch July 29, 2025 16:50
@coderabbitai coderabbitai Bot mentioned this pull request Sep 19, 2025
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants