Skip to content

Fix database properties directory#8222

Merged
MartinBalin merged 1 commit intoapache:masterfrom
petrovic-d:fix-database-properties-directory
Mar 5, 2025
Merged

Fix database properties directory#8222
MartinBalin merged 1 commit intoapache:masterfrom
petrovic-d:fix-database-properties-directory

Conversation

@petrovic-d
Copy link
Copy Markdown
Collaborator

  • Temp files are now saved under temp directory
  • Make temp files read-only by default
  • Copying files to remote with one scp command (one handshake)
  • Extracted run-container script in handlebar template

@petrovic-d petrovic-d added LSP [ci] enable Language Server Protocol tests VSCode Extension enterprise [ci] enable enterprise job labels Feb 3, 2025
@apache apache locked and limited conversation to collaborators Feb 3, 2025
@apache apache unlocked this conversation Feb 3, 2025
@petrovic-d petrovic-d added this to the NB26 milestone Feb 4, 2025
@petrovic-d petrovic-d self-assigned this Feb 4, 2025
Copy link
Copy Markdown
Contributor

@MartinBalin MartinBalin left a comment

Choose a reason for hiding this comment

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

Looks good and tested with 2 projects and userdir Global/Local. Files are created in tmp folder and removed when Debug session ends.

@petrovic-d petrovic-d force-pushed the fix-database-properties-directory branch from 7274ee1 to 4d6d272 Compare February 24, 2025 08:49

private Path generateConfigFile() throws IOException {
Path dir = generateDirPath();
private Path generateConfigFile() throws IOException {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please avoid white-space changes. They make review more dificult.

Copy link
Copy Markdown
Contributor

@thurka thurka left a comment

Choose a reason for hiding this comment

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

The java part have some minor issues, otherwise it looks good.

@petrovic-d petrovic-d force-pushed the fix-database-properties-directory branch from 4d6d272 to 58bb84a Compare February 25, 2025 09:14
@petrovic-d petrovic-d requested a review from thurka February 25, 2025 09:15
Copy link
Copy Markdown
Contributor

@thurka thurka left a comment

Choose a reason for hiding this comment

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

Java part looks OK.

Copy link
Copy Markdown
Contributor

@dbalek dbalek left a comment

Choose a reason for hiding this comment

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

Looks fine.

@MartinBalin MartinBalin merged commit 3cab331 into apache:master Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enterprise [ci] enable enterprise job LSP [ci] enable Language Server Protocol tests VSCode Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants