Skip to content

Conversation

@jbrichau
Copy link
Member

@jbrichau jbrichau commented Feb 4, 2024

We make the temporary file creation api on GRPlatform consistent with other file handling methods in Grease: they work with path strings rather than file references.

This makes it easier to port uses of it to other platforms, such as porting zinc request streaming to GemStone.

At the same time, we add some missing file manipulation methods to the Squeak platform...

Johan Brichau added 2 commits February 3, 2024 15:53
…raryFile` which returns a pathString consistent with other Grease file-handling methods
@codecov
Copy link

codecov bot commented Feb 4, 2024

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (933bc73) 84.98% compared to head (5ae43f8) 85.15%.

Files Patch % Lines
...atform.class/instance/newTemporaryFileReference.st 0.00% 3 Missing ⚠️
....class/instance/newTemporaryFileReferenceNamed..st 0.00% 3 Missing ⚠️
...atform.class/instance/newTemporaryFileReference.st 0.00% 3 Missing ⚠️
....class/instance/newTemporaryFileReferenceNamed..st 0.00% 3 Missing ⚠️
...atform.class/instance/newTemporaryFileReference.st 0.00% 3 Missing ⚠️
....class/instance/newTemporaryFileReferenceNamed..st 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   84.98%   85.15%   +0.16%     
==========================================
  Files        2039     2051      +12     
  Lines       13997    14115     +118     
==========================================
+ Hits        11895    12019     +124     
+ Misses       2102     2096       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jbrichau jbrichau requested a review from theseion February 4, 2024 09:35
@jbrichau
Copy link
Member Author

jbrichau commented Feb 4, 2024

@theseion
The idea is to change the temporary file handling to make the streaming file uploads portable to GemStone as well.
See change in SeasideSt/Seaside@cf0d512 which should work once this PR is merged in Grease

@jbrichau jbrichau requested a review from theseion February 4, 2024 12:42
@jbrichau
Copy link
Member Author

jbrichau commented Feb 4, 2024

@theseion Thanks for the feedback!

@jbrichau jbrichau merged commit 1a66633 into master Feb 4, 2024
@jbrichau jbrichau deleted the temporaryfiles-gemstone branch February 4, 2024 14:20
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.

3 participants