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

Use our own Prettier Docker image #2535

Merged
merged 5 commits into from
May 4, 2023
Merged

Use our own Prettier Docker image #2535

merged 5 commits into from
May 4, 2023

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented May 1, 2023

Description

It can be used without permission problems.

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.

It can be used without permission problems.
@AlekSi AlekSi added the code/chore Code maintenance improvements label May 1, 2023
@AlekSi AlekSi added this to the v1.1.0 milestone May 1, 2023
@AlekSi AlekSi requested review from a team May 1, 2023 06:41
@AlekSi AlekSi self-assigned this May 1, 2023
@AlekSi AlekSi enabled auto-merge (squash) May 1, 2023 06:41
@codecov
Copy link

codecov bot commented May 1, 2023

Codecov Report

Merging #2535 (c32a141) into main (4141270) will decrease coverage by 38.12%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2535       +/-   ##
===========================================
- Coverage   65.15%   27.04%   -38.12%     
===========================================
  Files         410      410               
  Lines       20058    20058               
===========================================
- Hits        13069     5424     -7645     
- Misses       6051    14063     +8012     
+ Partials      938      571      -367     

see 134 files with indirect coverage changes

Flag Coverage Δ
integration 5.04% <ø> (-52.85%) ⬇️
mongodb 5.04% <ø> (ø)
pg ?
unit 25.67% <ø> (ø)

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

Copy link
Member

@chilagrow chilagrow left a comment

Choose a reason for hiding this comment

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

Yeah for me it has always worked without permission change on my linux. And it seems it always works for mac. But I recall without permission change it impacted @noisersup.

CI linter is unhappy though, still using task fmt 🙈

@AlekSi
Copy link
Member Author

AlekSi commented May 1, 2023

The old image used a custom user that is not necessary for local development tools, but introduces permission problems in some configurations

@AlekSi AlekSi requested review from chilagrow and a team May 1, 2023 07:19
Copy link
Member

@chilagrow chilagrow left a comment

Choose a reason for hiding this comment

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

Thanks for the explanation!

@AlekSi AlekSi added the do not merge PRs that should not be merged label May 1, 2023
@AlekSi AlekSi removed request for w84thesun and rumyantseva May 1, 2023 08:55
@AlekSi
Copy link
Member Author

AlekSi commented May 1, 2023

@noisersup please try it out locally

@AlekSi AlekSi removed the do not merge PRs that should not be merged label May 2, 2023
Copy link
Member

@noisersup noisersup left a comment

Choose a reason for hiding this comment

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

All of the commands work on my machine, the older version works either and I didn't have any issues with linters. There was a contributor that had permission problems, but it seems that we already notified them LGTM

@AlekSi AlekSi merged commit 5a7465c into FerretDB:main May 4, 2023
@AlekSi AlekSi deleted the prettier branch May 4, 2023 14:58
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.

3 participants