-
Notifications
You must be signed in to change notification settings - Fork 130
fix: neDB implementation issues #979
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
base: main
Are you sure you want to change the base?
Conversation
…file-based DB implementation
…file-based DB implementation
…file-based DB implementation
…file-based DB implementation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #979 +/- ##
==========================================
+ Coverage 48.70% 56.01% +7.30%
==========================================
Files 53 53
Lines 2166 2196 +30
Branches 242 250 +8
==========================================
+ Hits 1055 1230 +175
+ Misses 1074 940 -134
+ Partials 37 26 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…' into 948-neDB-implementation-issues
This PR has one more push to come that will hopefully complete the code coverage. Should be reviewed and pushed tomorrow |
One last commit to push on this PR that should get coverage on /src/db/file up to near 100% - might get pushed after easter now. |
@JamieSlome @coopernetes @grovesy this PR should be ready to go now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kriswest - before I review pre-merge, can we confirm that the linting changes are aligned with the current config and expectation asserted by the project?
@JamieSlome I was set-up as per the project config, however the project config doesn't cover packages/git-proxy-cli! I've tweaked the format command so that it does apply and run it. I tried to add prettier to the child project directly but it's not working there, so I extended the parent project's format command to cover it instead. This adds a bunch of files to the PR with minor changes - waiting on a review then will push |
@JamieSlome prettier was run on everything and should be applying to packages/git-proxy-cli. It looks like that was previously formatted with different settings / narrower width. Does it look right to you? |
…into 948-neDB-implementation-issues
resolves #948
resolves #947
Fixes a number of shortcomings in the file DB implementation, including:
Changes were also applied to the mongo DB classes:
addUserCanPush
andaddUserCanAuthorise
, its just not being applied consistentlyFinally, tests were updates: