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

Update the Poetry Core version in the Habushu project to the required version #65

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

satishmanda
Copy link
Contributor

AIOPS-2767 Added functionality to upgrade the poetry-core version required by the Habushu

isMajorVersionUpdateRequired = false;
isMinorVersionUpdateRequired = false;
// check if we need to upgrade the poetry-core version.
if(IsPoetrycoreUpgradeRequired(dependency)) {
Copy link
Contributor

@cpointe-ibllanos cpointe-ibllanos Dec 5, 2023

Choose a reason for hiding this comment

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

A: Minor, the if statement is unnecessary.
return IsPoetrycoreUpgradeRequired(dependency)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are looping through the dependency map and iterate through all the elements to see if we any of it requires the upgrade. We need the if statement here incase any one of them requires upgrade.

Copy link
Contributor

@cpointe-ibllanos cpointe-ibllanos 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 to me, just minor comments. Thanks for utilizing good practices like clear variable naming, properly defined constants, and clear test steps.

I'd get a second opinion since I'm pretty new to Habushu's codebase however.

@satishmanda satishmanda changed the title AIOPS-2767 Update the Poetry Core version in the Habushu project to the required version Update the Poetry Core version in the Habushu project to the required version Dec 5, 2023
@satishmanda satishmanda merged commit fd42a3f into dev Dec 5, 2023
1 check passed
@satishmanda satishmanda deleted the AIOPS-2767 branch December 5, 2023 21:53
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