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

(General) 'Replace existing file' options #32

Closed
Synthoid opened this issue Aug 14, 2017 · 6 comments
Closed

(General) 'Replace existing file' options #32

Synthoid opened this issue Aug 14, 2017 · 6 comments
Assignees

Comments

@Synthoid
Copy link
Owner

Expand the 'Replace existing file' toggle to be a dropdown with the following options:

  • Don't Replace (Don't delete or replace any files)
  • Trash (Trash existing files with the same name in the same folder)
  • Rewrite (Similar to trash, but the most recent file with the same name will have its contents replaced with the newly exported data)
@Synthoid Synthoid self-assigned this Sep 5, 2017
@Synthoid
Copy link
Owner Author

Synthoid commented Sep 5, 2017

This can all be done without extra options. The 'Replace existing file' toggle should probably just trash all files with the same name in the export folder after replacing the contents of the most recent file with the shared name.

@axaneco
Copy link

axaneco commented Sep 18, 2018

Would it be possible to implement the "rewrite" option, e.g. the most recent file with the same name will have its contents replaced with the newly exported data? That would result in (if I am right) the same download link for the updated xml export. So, once I have generated a download link for the xml file and the xml would be updated, the link would remain valid for the updated version.

Thanks for the good work!

@Synthoid
Copy link
Owner Author

That's exactly the idea for the revised feature. It should make sharing links to XML or JSON files much more reliable. I'm going to be busy for the next few weeks, but I'll see if I can get something put together for this soon. Sorry for the delay!

@axaneco
Copy link

axaneco commented Sep 21, 2018

No problem. Looking forward to see this feature whenever it's ready. Thank you for your effort in implementing this add-on.

@axaneco
Copy link

axaneco commented Feb 9, 2019

Thanks for implementation of this feature, now I can access my exported XMLs with a fixed URL. Makes things much more easy for my "Family Infoscreen" project :-)

@Synthoid
Copy link
Owner Author

This is implemented as of v54.

Glad to hear you are enjoying the feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants