Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000228LoaderFile Loading/Savingpublic2011-07-19 16:392011-11-26 02:22
Assigned Tosean94z 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target Version1.0.0Fixed in Version 
Summary0000228: Accept Zip Files As Input Files
DescriptionAllow users to choose zip files and decompress looking for an S19 inside.

If more than one, let them choose from the newly created directory.

If one, load as usual, looking for md5 in both the unzip path, and the path the zip itself was in.
TagsNo tags attached.
Issue Type
Risk of Breakage
Attached Files

- Relationships

-  Notes
User avatar (0000692)
Fred (administrator)
2011-11-25 15:05

BUMP: I now need this as I use the command "make package" to get a history of S19 files while I'm developing and that zips them and checksums them. Try it, they end up in <repo>/tmp/<label>/


fred@cheetah:~/freeems-vanilla/tmp$ l
total 8
drwxr-xr-x 2 fred fred 4096 Nov 25 15:55 FreeEMS-0.2.0-SNAPSHOT-22-g050b40b-FUCKED
drwxr-xr-x 3 fred fred 4096 Nov 25 15:54 FreeEMS-0.2.0-SNAPSHOT-33-g0966d59-LATEST

I just went to open the s19 files inside these directories and was confused because there weren't any! :-) Just pull in a lib that does std zip and list and .s19 names, handling each appropriately.

The md5 and sha1 files are .s19.md5 and .s19.sha1 so you can use those at this point too, though the zip feature is more important to me now :-)
User avatar (0000693)
Fred (administrator)
2011-11-25 15:10

BTW, you'll use packagenodoxy mostly, doxy is too slow. Forgot to mention that. Usual CLIFLAGS stuff applies.
User avatar (0000694)
Fred (administrator)
2011-11-25 15:31

Slight problem with the implementation, the zip contains a directory by accident :-) Will fix soon and reply here when done, ignore till then.
User avatar (0000698)
Fred (administrator)
2011-11-25 16:13

Fixed! All yours, go forth and unzip! :-)
User avatar (0000700)
Fred (administrator)
2011-11-25 16:14

BTW, the assumption should be that the zip file will produce a file of the same name without the .zip extension. If not, error.
User avatar (0000707)
sean94z (reporter)
2011-11-26 02:22


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker