Skip to content
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

✨Build presets & map analysis state functions #2152

Merged

Conversation

HadasahR
Copy link
Contributor

@HadasahR HadasahR commented Nov 3, 2024

refactoring code according to comments in issue #2100
these functions are used in the PR there

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.97%. Comparing base (b654645) to head (e2ddd08).
Report is 249 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2152      +/-   ##
==========================================
+ Coverage   39.20%   41.97%   +2.77%     
==========================================
  Files         146      175      +29     
  Lines        4857     5644     +787     
  Branches     1164     1417     +253     
==========================================
+ Hits         1904     2369     +465     
- Misses       2939     3154     +215     
- Partials       14      121     +107     
Flag Coverage Δ
client 41.97% <100.00%> (+2.77%) ⬆️
server ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@rszwajko rszwajko left a comment

Choose a reason for hiding this comment

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

The commit with refactoring needs to be moved to separate PR. One way to do it is as follows:

// do a backup - rename a branch to "..._v1" and push to GH
// NOTE that I've changed char "&" to word "and" 
// "&" is an operator in bash shell and requires escaping/quoting 
 » git branch -M buildPresets_and_mapAnalysisState_functions_v1  
 » git push origin HEAD
// obtain commit hash
 » git log -1 | cat                                                                                                                    130 ↵
commit c070fa6827ff42de08cf510c792428beed7c3a81
Author: HadasahR <[email protected]>
Date:   Sun Nov 3 14:05:13 2024 +0200

    refactoring code as suggested in #2100
    
    Signed-off-by: HadasahR <[email protected]>
// create a new branch "..._v2"
 » git checkout -b buildPresets_and_mapAnalysisState_functions_v2 origin/main
// copy the commit to new branch
» git cherry-pick c070fa6827ff42de08cf510c792428beed7c3a81
// force push to the PR branch 
» git push origin HEAD:"buildPresets_&_mapAnalysisState_functions" --force

@mguetta1 mguetta1 force-pushed the buildPresets_&_mapAnalysisState_functions branch from 27068ea to f6e5257 Compare November 18, 2024 20:31
Signed-off-by: Maayan Hadasi <[email protected]>
@mguetta1 mguetta1 requested a review from rszwajko November 19, 2024 07:56
@mguetta1 mguetta1 force-pushed the buildPresets_&_mapAnalysisState_functions branch from d25f964 to e23c630 Compare November 19, 2024 08:22
@mguetta1 mguetta1 force-pushed the buildPresets_&_mapAnalysisState_functions branch from e23c630 to 179248d Compare November 19, 2024 08:26
Signed-off-by: Maayan Hadasi <[email protected]>
Copy link
Collaborator

@rszwajko rszwajko left a comment

Choose a reason for hiding this comment

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

Looks good!

@mguetta1 mguetta1 merged commit 1b95d56 into konveyor:main Jan 29, 2025
12 checks passed
sjd78 pushed a commit to sjd78/tackle2-ui that referenced this pull request Feb 1, 2025
refactoring code according to comments in issue konveyor#2100
these functions are used in the PR there

---------

Signed-off-by: HadasahR <[email protected]>
Signed-off-by: Maayan Hadasi <[email protected]>
Co-authored-by: Maayan Hadasi <[email protected]>
Co-authored-by: Maayan Hadasi <[email protected]>
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.

3 participants