Skip to content

Conversation

@TinCanTech
Copy link
Collaborator

@TinCanTech TinCanTech commented May 12, 2025

Command 'write': Remove options 'overwrite' and 'filename'

Exposing command 'write' to the user was done to build confidence
in the code. However, the way that is done must be controlled.

Changes are as follows:

  • Remove options 'overwrite' and 'filename'.
    On the command line, only allow output to the console.
  • Remove internal auto-overwrite for temp-files.
    Internally, 'overwrite' and 'filename' remain and are consistent.
    Internal use now uses 'overwrite' for temp-files, deliberately.
  • Changes to 'verbose' output, which do not impact functionality.

@TinCanTech TinCanTech self-assigned this May 12, 2025
@TinCanTech TinCanTech added this to the v3.2.3 milestone May 12, 2025
@TinCanTech TinCanTech force-pushed the write_legacy_file_v2-remove-auto-temp-file-overwrite branch from 73b4b5d to 1eaa841 Compare May 12, 2025 02:57
Exposing command 'write' to the user was done to build confidence
in the code. However, the way that is done must be controlled.

Changes are as follows:
* Remove options 'overwrite' and 'filename'.
  On the command line, only allow output to the console.
* Remove internal auto-overwrite for temp-files.
  Internally, 'overwrite' and 'filename' remain and are consistent.
  Internal use now uses 'overwrite' for temp-files, deliberately.
* Changes to 'verbose' output, which do not impact functionality.

Signed-off-by: Richard T Bonhomme <[email protected]>
@TinCanTech TinCanTech force-pushed the write_legacy_file_v2-remove-auto-temp-file-overwrite branch from 1eaa841 to 153ec6f Compare May 12, 2025 02:59
@TinCanTech TinCanTech merged commit e611df3 into OpenVPN:master May 12, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command write does not work with option overwrite and filename together

1 participant