-
Notifications
You must be signed in to change notification settings - Fork 62
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
Non UI Actions Migration from GingerCore to GingerCoreNet #3979
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe pull request involves the removal of the Changes
Possibly related PRs
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
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: CHILL
⛔ Files ignored due to path filters (1)
Ginger/GingerCoreNET/DLLS/PresentationCore.dll
is excluded by!**/*.dll
,!**/*.dll
📒 Files selected for processing (3)
- Ginger/GingerCore/Animations/Animations.cs (0 hunks)
- Ginger/GingerCore/GingerCore.csproj (1 hunks)
- Ginger/GingerCoreNET/GingerCoreNET.csproj (2 hunks)
💤 Files with no reviewable changes (1)
- Ginger/GingerCore/Animations/Animations.cs
🔇 Additional comments (4)
Ginger/GingerCoreNET/GingerCoreNET.csproj (1)
386-386
: LGTM: Reference path standardizationThe path change for AzureDevOpsRepo.dll aligns with the project's standard DLL reference pattern.
Ginger/GingerCore/GingerCore.csproj (3)
44-45
: Approved the removal of obsolete resourcesIf confirmed that these resources and files are no longer in use, their removal helps in streamlining the project and reducing clutter.
Also applies to: 48-49
44-45
: Verify the removal of EmbeddedResource entries for Actions\REST and Actions\WebServicesRemoving these
EmbeddedResource
entries may impact resources that depend onActions\REST
andActions\WebServices
. Please confirm that these resources are no longer required and that their removal does not affect other parts of the application.Run the following script to search for references to these resources in the codebase:
#!/bin/bash # Description: Search for references to 'Actions/REST' and 'Actions/WebServices' in the codebase, excluding GingerCore.csproj. # Test: Find occurrences of 'Actions/REST' and 'Actions/WebServices' in other project and source files. rg 'Actions[\\/](REST|WebServices)' -g '!GingerCore.csproj'
48-49
: Verify the impact of removing 'None' items for Actions\REST and Actions\WebServicesThe removal of these
None
items might affect the inclusion of non-compilable files such as configuration files or other resources underActions\REST
andActions\WebServices
. Ensure that this change does not unintentionally exclude necessary files required at runtime.Use the following script to check for any remaining references to these directories:
✅ Verification successful
Removal of Actions\REST and Actions\WebServices items is safe to proceed
The verification shows that:
- Neither
Actions\REST
norActions\WebServices
directories exist in the current codebase under GingerCore- These removals are part of a broader pattern where both
EmbeddedResource
andNone
items are being removed for these directories- No source files or references to these directories were found in the codebase
The removal of these
None
items is consistent with the removal of their correspondingEmbeddedResource
items, suggesting this is a cleanup of obsolete directory references that are no longer part of the project.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Search for references to 'Actions/REST' and 'Actions/WebServices' in the codebase, excluding GingerCore.csproj. # Test: Find occurrences of these directories in other files. rg 'Actions[\\/](REST|WebServices)' -g '!GingerCore.csproj'Length of output: 240
Script:
#!/bin/bash # Search for references to Actions/REST and Actions/WebServices directories rg -i "Actions[/\\]REST" --type-not csproj rg -i "Actions[/\\]WebServices" --type-not csproj # Check if these directories exist and list their contents fd -t d "Actions/REST" || fd -t d "Actions\\REST" fd -t d "Actions/WebServices" || fd -t d "Actions\\WebServices" # Check for any file references in other csproj files fd -e csproj -x grep -l "Actions.REST\|Actions.WebServices" {}Length of output: 427
Script:
#!/bin/bash # Search for references to these directories using simpler patterns rg -i "Actions.REST" --type-not csproj rg -i "Actions.WebServices" --type-not csproj # List all files under GingerCore directory to see if these folders exist fd . Ginger/GingerCore/Actions -t f # Check for any other removal patterns in the csproj file grep -A 5 -B 5 "Remove" Ginger/GingerCore/GingerCore.csprojLength of output: 3621
<Reference Include="Open3270"> | ||
<HintPath>..\Ginger\DLLs\Open3270.dll</HintPath> | ||
</Reference> | ||
<Reference Include="PresentationCore"> | ||
<HintPath>DLLS\PresentationCore.dll</HintPath> | ||
</Reference> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Standardize the Open3270.dll reference path
The Open3270.dll reference uses a different path pattern (..\Ginger\DLLs) compared to other references in the project. Consider moving it to the standard DLLS folder and updating the path to maintain consistency:
- <Reference Include="Open3270">
- <HintPath>..\Ginger\DLLs\Open3270.dll</HintPath>
- </Reference>
+ <Reference Include="Open3270">
+ <HintPath>DLLS\Open3270.dll</HintPath>
+ </Reference>
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
<Reference Include="Open3270"> | |
<HintPath>..\Ginger\DLLs\Open3270.dll</HintPath> | |
</Reference> | |
<Reference Include="PresentationCore"> | |
<HintPath>DLLS\PresentationCore.dll</HintPath> | |
</Reference> | |
<Reference Include="Open3270"> | |
<HintPath>DLLS\Open3270.dll</HintPath> | |
</Reference> | |
<Reference Include="PresentationCore"> | |
<HintPath>DLLS\PresentationCore.dll</HintPath> | |
</Reference> |
Thank you for your contribution.
Before submitting this PR, please make sure:
Summary by CodeRabbit
Bug Fixes
Chores