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

updated Dry Run feature #128

Closed
wants to merge 9 commits into from
Closed

Conversation

adityakalburgi
Copy link
Contributor

@adityakalburgi adityakalburgi commented Oct 20, 2024

Hi @techy4shri, @Kota-Karthik

Thank you for your feedback! I apologize for not following the PR template initially. I’m currently updating the PR with the required information.

Description

Updated the README.md to clarify project setup instructions.
Added a dry run feature in flags.py, which will display the files that would be deleted without actually removing them. This allows users to review the potential deletions before making any changes.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Tests update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • I have maintained a clean commit history by using the necessary Git commands
  • I have checked that my code does not cause any merge conflicts

Screenshots (if applicable)

Screenshot 2024-10-17 194025

Copy link
Collaborator

@techy4shri techy4shri left a comment

Choose a reason for hiding this comment

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

@adityakalburgi I would suggest you follow the PR guidelines. Fill the template I have given here. It is needed so as to facilitate point assignment and any future review.
Also, please maintain a clean commit history by squashing all the commits. You can do so by follwowing the steps below:

  1. git fetch origin
  2. git rebase -i HEAD~5
  3. squash <commit message>
  4. git push --force
    Wait for review from Karthik afterwards.

Copy link
Owner

@Kota-Karthik Kota-Karthik left a comment

Choose a reason for hiding this comment

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

@adityakalburgi
please follow the PR template
only then any changes would be reviewed

@Wahid7852
Copy link
Collaborator

Waiting for a response @adityakalburgi. Failure in responding within 24 hours will lead to me closing your PR.

@adityakalburgi
Copy link
Contributor Author

Waiting for a response @adityakalburgi. Failure in responding within 24 hours will lead to me closing your PR.

Hi i am soo updating the PR thank you..

@Kota-Karthik
Copy link
Owner

@adityakalburgi
I noticed something about your PR
I think you hadn't pulled changes before making changes
Which will cause problems
So i request you to pull the changes , then make a PR

@techy4shri
Copy link
Collaborator

@adityakalburgi update?

Copy link
Collaborator

@techy4shri techy4shri left a comment

Choose a reason for hiding this comment

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

Jull sync your fork and pull changes once to ensure you are up-to-date with everything and then we will be happy to merge your PR!

@adityakalburgi
Copy link
Contributor Author

Jull sync your fork and pull changes once to ensure you are up-to-date with everything and then we will be happy to merge your PR!

Ok sure will do it soon...

Copy link
Owner

@Kota-Karthik Kota-Karthik left a comment

Choose a reason for hiding this comment

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

@adityakalburgi
please make changes as requested!

@adityakalburgi
Copy link
Contributor Author

Jull sync your fork and pull changes once to ensure you are up-to-date with everything and then we will be happy to merge your PR!

hi @techy4shri i have sync my fork please have a look thank you!

@techy4shri
Copy link
Collaborator

@adityakalburgi will do soon. Wait for review from Karthik.

@Wahid7852
Copy link
Collaborator

@Kota-Karthik review ra pls

Copy link
Owner

@Kota-Karthik Kota-Karthik left a comment

Choose a reason for hiding this comment

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

@adityakalburgi
Your pr still removes most of the code
like logging and other interactive cli code
please fix it!

from twinTrim.dataStructures.fileFilter import FileFilter

# Setting up logging configuration
logging.basicConfig (
Copy link
Owner

Choose a reason for hiding this comment

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

@adityakalburgi
check this
your changes removes the logging part and interactive cli part totally
This is not cause you removed them , but because you havent pulled chaanges

@adityakalburgi
Copy link
Contributor Author

hi @Kota-Karthik i have updated my PR!

@Wahid7852
Copy link
Collaborator

I will say to close this PR, delete your fork of TwinTrim, Then refork the repo, do your changes on the new fork and then submit a new PR

This PR now is looking dirty with so many redundant merges.

@techy4shri
Copy link
Collaborator

Squash the commits and make the commit history clean please or raise a new PR.

@Kota-Karthik
Copy link
Owner

@adityakalburgi
If you fail to follow the instructions I gave you on discord
I will be closing this PR by EOD tomorrow

@adityakalburgi
Copy link
Contributor Author

@adityakalburgi If you fail to follow the instructions I gave you on discord I will be closing this PR by EOD tomorrow

I will create a new PR so you can close this one

@techy4shri techy4shri closed this Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] addition of dry run mode
4 participants