Skip to content
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

Allow override of default backup filename #237

Conversation

bobjacobsen
Copy link
Contributor

When you do a "Backup..." operation from CdiPane, it creates a (long) default filename. People have different opinions about what should be in this name.

This PR allows e.g. a JMRI script to override the code that generates that filename. This in turn allows users to provide their own algorithm for generating a default filename.

A companion PR in JMRI/JMRI will provide a sample Jython script.

@bobjacobsen
Copy link
Contributor Author

bobjacobsen commented Oct 12, 2023

The JMRI PR is JMRI/JMRI#12516

@dpharris dpharris merged commit c9883bf into openlcb:master Nov 4, 2023
1 check passed
@bobjacobsen bobjacobsen deleted the bobjacobsen-overrideable-backup-filename branch November 4, 2023 13:35
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.

2 participants