Bug 79202

Summary: Please add support for compressed (e.g. gzipped) xmi files
Product: [Applications] umbrello Reporter: Tom Howard <tomhoward>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.2.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tom Howard 2004-04-07 02:22:44 UTC
Version:           1.2.1 (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs
OS:          Linux

Please add support for loading and saving compressed (e.g. gzipped) xmi files.
Comment 1 Jonathan Riddell 2004-04-14 15:22:51 UTC
What would be the reason for this?

Openoffice takes ages to open it's files, I'd much rather take up a bit more disk space then spend the time to open and close the compressed files.

Comment 2 Tom Howard 2004-04-14 23:55:00 UTC
Hi Jonathan,

> What would be the reason for this?

Basically to reduce the file size (currently I'm working on a group project at uni and we have very limited space in our group directory).

> Openoffice takes ages to open it's files, I'd
> much rather take up a bit more disk space
> then spend the time to open and close the
> compressed files.

I guess it dpends on your system and the relationship between the speed of the CPU and the speed of the drive.  I did some quick tests cating a file and runing  gunzip -c of the compressed version of the file.  In my case cattign took 0.046s and gunzipping took 0.065ms.  Not a huge difference.  I stronly suspect OpenOffice is slow for a whole set of other reasons.

I should also point out that I'm not trying to say that umbrello should (un)compress all files, only if it ends with gz.  This way, uses who have space problems can use less space and more cpu.  Users with plenty of space  can use more space and less cpu.

My goal at this stage is simple to get it onto the todo list as a "no harm done/may be usefull" feature enhancement.  If then after a while no-one get's to it, then I'll make the effort to create a patch (ahhhh, too many projects, to little time).  I just don't see the point of (or have the time to) creating a patch unless I know that that actual princicpal will be accepted.

Cheers,

Tom
Comment 3 Jonathan Riddell 2004-04-14 23:59:29 UTC
OK, it's on the TODO list.  Not sure how this would be best achieved but chances are there's some fairly simple way of running a file through the gzip ioslave before opening or when saving.
Comment 4 Sebastian Stein 2004-07-10 01:14:25 UTC
Before trying this new feature make a backup of your files!!!
Comment 5 Thomas Tanghus 2005-06-03 10:59:14 UTC
I would also love support for opening *.zuml files (zipped *.xmi). Poseidon uses this format, and since most people in my company uses Poseidon it would be a great relief for me :-)
Comment 6 Sebastian Stein 2005-06-03 14:45:03 UTC
Thomas Olsen <tanghus@bigfoot.com> [050603 14:37]:
> ------- Additional Comments From tanghus bigfoot com  2005-06-03 10:59
> -------
> I would also love support for opening *.zuml files (zipped *.xmi).
> Poseidon uses this format, and since most people in my company uses
> Poseidon it would be a great relief for me :-)


You can already compress the xmi files in bzip2 and gz. That's the reason,
why this report is already closed.

Sebastian