Anonymous | Login | Signup for a new account | 2021-03-05 00:26 UTC | ![]() |
Main | My View | View Issues | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0000228 | Loader | File Loading/Saving | public | 2011-07-19 16:39 | 2011-11-26 02:22 | ||||||
Reporter | Fred | ||||||||||
Assigned To | sean94z | ||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||
Status | assigned | Resolution | open | ||||||||
Platform | OS | OS Version | |||||||||
Product Version | |||||||||||
Target Version | 1.0.0 | Fixed in Version | |||||||||
Summary | 0000228: Accept Zip Files As Input Files | ||||||||||
Description | Allow 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. | ||||||||||
Tags | No tags attached. | ||||||||||
Issue Type | |||||||||||
Risk of Breakage | |||||||||||
Attached Files | |||||||||||
![]() |
|
![]() 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>/ EG: 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 .s19.zip 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 :-) |
![]() 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. |
![]() 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. |
![]() Fred (administrator) 2011-11-25 16:13 |
Fixed! All yours, go forth and unzip! :-) |
![]() 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. |
![]() sean94z (reporter) 2011-11-26 02:22 |
sic |
Copyright © 2000 - 2011 MantisBT Group |