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

Simplify envtool shell subcommands #2614

Merged
merged 3 commits into from
May 12, 2023
Merged

Simplify envtool shell subcommands #2614

merged 3 commits into from
May 12, 2023

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented May 11, 2023

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration/compatibility tests.
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@AlekSi AlekSi added the code/chore Code maintenance improvements label May 11, 2023
@AlekSi AlekSi added this to the Next milestone May 11, 2023
@AlekSi AlekSi self-assigned this May 11, 2023
cmd/envtool/envtool.go Show resolved Hide resolved
cmd/envtool/envtool.go Show resolved Hide resolved
cmd/envtool/envtool_test.go Show resolved Hide resolved
cmd/envtool/envtool_test.go Show resolved Hide resolved
@AlekSi
Copy link
Member Author

AlekSi commented May 11, 2023

@kropidlowsky PTAL

@codecov
Copy link

codecov bot commented May 11, 2023

Codecov Report

Merging #2614 (8731e34) into main (1a3a301) will increase coverage by 31.03%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2614       +/-   ##
===========================================
+ Coverage   27.77%   58.80%   +31.03%     
===========================================
  Files         419      417        -2     
  Lines       20549    20313      -236     
===========================================
+ Hits         5707    11946     +6239     
+ Misses      14256     7480     -6776     
- Partials      586      887      +301     

see 208 files with indirect coverage changes

Flag Coverage Δ
integration 58.80% <ø> (+53.40%) ⬆️
mongodb 5.40% <ø> (ø)
pg 58.71% <ø> (?)
unit ?

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

@kropidlowsky
Copy link
Contributor

@AlekSi Thanks a lot!

@AlekSi AlekSi marked this pull request as ready for review May 11, 2023 17:43
@AlekSi AlekSi requested a review from a team as a code owner May 11, 2023 17:43
@AlekSi AlekSi requested review from w84thesun, rumyantseva, a team, chilagrow and noisersup and removed request for w84thesun and rumyantseva May 11, 2023 17:43
@AlekSi AlekSi enabled auto-merge (squash) May 11, 2023 17:45
@AlekSi AlekSi requested review from a team, w84thesun and rumyantseva and removed request for a team May 11, 2023 17:45
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

Great! I tried various tasks on Windows, they work apart from packages.

I think the last thing we need to decide about is how to retrieve the version for packages-deb/packages-rpm because sh: cat doesn't work as is. Though, powershell itself supports cat command (as an alias).

@AlekSi AlekSi merged commit de38f79 into FerretDB:main May 12, 2023
@AlekSi AlekSi deleted the simplify branch May 12, 2023 01:05
@AlekSi
Copy link
Member Author

AlekSi commented May 12, 2023

#2615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants