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

Group check.v1 package with third-party package #3137

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

anishbista60
Copy link
Contributor

@anishbista60 anishbista60 commented Sep 17, 2024

Change Overview

  • Remove the . from . "gopkg.in/check.v1" and then group it with third-party package . Use check prefix when you are gettting issue after removing .

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test
  • 🏗️ Build

Issues

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • Enable gci linter and remove the dot which is present under gci.sections in .golangci.yml (Just to check that whether gci throwing error or not, which will not be included as a part of this PR)
  • Then, Run make golint for testing.
  • 💚 E2E

@anishbista60
Copy link
Contributor Author

anishbista60 commented Sep 17, 2024

@viveksinghggits Please take a look once. So, i can move forward.
#3094

@viveksinghggits
Copy link
Contributor

@viveksinghggits Please take a look once. So, i can move forward. #3094

can you please add the test plan for the PR @anishbista60 .

@anishbista60
Copy link
Contributor Author

@viveksinghggits sure i'll do it but the changes are not completed yet.
could you please verify the changes ? if it's looks good then i can move forward for other files.

@viveksinghggits
Copy link
Contributor

@anishbista60 yes the current changes look good.

@anishbista60 anishbista60 force-pushed the import branch 3 times, most recently from 2a17f0f to 23c7fe2 Compare September 19, 2024 13:25
@anishbista60
Copy link
Contributor Author

@viveksinghggits Everything Done. Please ! have a look. Works fine in my machine.
Screenshot from 2024-09-19 18-39-34

@julio-lopez
Copy link
Contributor

julio-lopez commented Sep 21, 2024

@anishbista60
For future reference, it makes sense to split large changes like this where 100s of files are modified with the same type of change. For example, instead o single large PR, have individual PRs with say 20 files per PR. That makes them easier to review individually, and also merge, as it reduces the probability of conflicts, and if there are conflicts, then other non-conflicting PRs can be merged.

@julio-lopez julio-lopez merged commit abbb737 into kanisterio:master Sep 21, 2024
16 checks passed
@julio-lopez
Copy link
Contributor

@anishbista60
🥇Thanks for doing this.

🎉 🎊 🚀 🥳

@anishbista60
Copy link
Contributor Author

@anishbista60 For future reference, it makes sense to split large changes like this where 100s of files are modified with the same type of change. For example, instead o single large PR, have individual PRs with say 20 files per PR. That makes them easier to review individually, and also merge, as it reduces the probability of conflicts, and if there are conflicts, then other non-conflicting PRs can be merged.

Sure , ok.

@pavannd1
Copy link
Contributor

@anishbista60 Please verify all the checks in this PR to ensure we haven't flipped anything. I found one issue causing test failures here.

One of the reasons to break down large PRs into multiple smaller PRs - it'll be easier for reviewers to catch such issues.

@anishbista60
Copy link
Contributor Author

anishbista60 commented Sep 25, 2024

@pavannd1 Sorry ! for difficulty while reviewing and obviously going to 100 of files would be difficult. I walked though entire changes and doesn't get any error except yours ones.

@anishbista60
Copy link
Contributor Author

anishbista60 commented Sep 25, 2024

looks you already fix that. thank you

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.

Group check.v1 package with third-party package.
4 participants