refactor: replace tempdir with tempfile#1123
refactor: replace tempdir with tempfile#1123evenyag merged 6 commits intoGreptimeTeam:developfrom etolbakov:refactor/replace-tempdir-with-tempfile
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1123 +/- ##
===========================================
+ Coverage 85.02% 85.06% +0.03%
===========================================
Files 474 476 +2
Lines 69073 69877 +804
===========================================
+ Hits 58732 59442 +710
- Misses 10341 10435 +94 |
|
Hi @evenyag |
|
@etolbakov Hey a quick suggestion. Not sure if it is possible but I can see you have created a single function in some files can't we have a global file for the function and import it to other files and won't it be easier to modify in the future? |
|
Hey @Jay-0331 |
|
@etolbakov I am also new to the code actually 😅 but i was also finding the place where we can put the function came across the same folder |
|
I think we can put the |
killme2008
left a comment
There was a problem hiding this comment.
Almost LGTM. Only a little suggestion. Thanks.
After this we need not depend on |
+1 for this. |
|
Thanks for the hint, will give it a. try with |
|
@evenyag |
We don't want to
This is similar to the Another way is adding a new crate (maybe |
|
@evenyag |
|
@evenyag PTAL |
|
Thanks for your patience! ❤️ Since the failed test should be unrelated to this PR, I plan to merge it now. @killme2008 |
* refactor: replace tempdir with tempfile * refactor(query): move tempfile dependency under the workspace's Cargo.toml * refactor(tempfile): create common-test-util * refactor(tempfile): fix toml format * refactor(tempfile): remove tempfile out of dependencies * refactor(tempfile): fix incorrect toml
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
tempdirhas been removed from dependencies.Checklist
Refer to a related PR or issue link (optional)
#1108