Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12374 closed enhancement (fixed)

[patch] compression option for autosave

Reported by: kolesar Owned by: team
Priority: normal Milestone: 16.02
Component: Core Version:
Keywords: compression autosave Cc:

Description

Topic is closely related to #12369 that has been committed as [9461].

When disk space or disk speed is an issue, compressing autosave files can help a lot. By setting preference autosave.extension to osm.gz JOSM saves compressed files in autosave folder.

This function needs patches in #12370 because AutosaveTask.getUnsavedLayersFiles() uses OsmImporter.FILE_FILTER. This included only .osm and .xml extensions, therefore did not find compressed files at startup in autosave folder. Combined filter contains .osm, .osm.gz and .osm.bz2 as well.

If accepted, this option can later have a dropdown list on preferences dialog (map settings / file backup).

Attachments (1)

AutosaveExtension.patch (918 bytes) - added by kolesar 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by kolesar

Attachment: AutosaveExtension.patch added

comment:1 Changed 4 years ago by Don-vip

Keywords: compression autosave added
Milestone: 16.02

comment:2 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 9586/josm:

fix #12374 - compression option for autosave (patch by kolesar)

comment:3 in reply to:  2 Changed 4 years ago by kolesar

Replying to Don-vip:

In 9586/josm:

fix #12374 - compression option for autosave (patch by kolesar)

Thank you for committing. There is another pending patch closely related to this topic: #12392. Can you commit that, too?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.