MySQLDumper-Board Forum Index Follow me on Twitter

Portal  •   Forum  •  Downloads  •  Profile  •  Search   •  Register  •  Log in to check your private messages  •  Log in  •  


 MSD zip.... has unnecessary content directory

Post new topicReply to topic
Author Message
electroman00
knows MySQLDumper
knows MySQLDumper




Age: 59
Joined: 12 Nov 2009
Posts: 5


usa.gif

PostPosted: 2011-09-14, 00:05    MSD zip.... has unnecessary content directory Reply with quoteBack to top

The MSD zip file has a content directory..... i.e.

msd1.24.4

Using a Zip with makes it difficult to extract the files to the web app directory because you can't strip the root container directory in a script with unzip like you can with tar.

For example using tar.....
tar -xzf /$web_path/$app_name --strip 1 -C ${web_extract_des}


--strip 1 will strip msd1.24.4 directory from the tar and it's contents sent to the destination directory.

OR

Zip the web app without msd1.24.4 directory would be preferred.

This may seem like a minor issue, however having a content directory within the zip file creates a situation that requires additional code to create a scripted installer or a rpm installer.

HTH

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-09-14, 18:17    (No subject) Reply with quoteBack to top

We'd like to keep that content directory because many beginners extract the package to their htdocs-root folder. This way we make sure that they don't overwrite any existant files by accident.

You can create your own tar.gz-package once and then use this one for your installations. Maybe with the next version we are able to offer more packages in more fomats but at the moment we only offer that zip package.

_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
electroman00
knows MySQLDumper
knows MySQLDumper




Age: 59
Joined: 12 Nov 2009
Posts: 5


usa.gif

PostPosted: 2011-09-16, 02:13    (No subject) Reply with quoteBack to top

10-4

Is it difficult to also make/have a tarball??
A talented programmer like yourself might take all of 2 mins. to write a script to auto the process.
Well thanks for the response....

And thanks for a nice dumper...works well.
Anyway I worked around the zip problemo with some dirty bash code.
Real dirty...!!

So dirty it needs a bath code...

Later

OfflineView user's profileSend private message    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-09-16, 17:51    (No subject) Reply with quoteBack to top

« electroman00 » wrote:
Is it difficult to also make/have a tarball??

Users would be confused if we add a new download to sourceforge, which would have the date from today while the other versions are from 2011-04-24.

Additionally - after 70,000 downloads - you are the only one who seems to have a problem with that. So we will keep your suggestion in mind for the next release but we don't see any need to change the current download-package.
So you'll have to bath your code or simly use a self gzipped package until the next release comes out. Wink

_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts Directory protection fails with .htac... jellef Errors and questions 4 2012-01-08, 16:01 View latest post
No new posts How to change backup directory? mag-ic Errors and questions 1 2011-06-02, 13:03 View latest post
No new posts Problem with directory protection CaseyC Errors and questions 2 2011-01-29, 06:00 View latest post
No new posts directory protection problem Yarda Errors and questions 3 2011-01-28, 00:49 View latest post
No new posts directory protection randy Errors and questions 1 2010-11-06, 08:10 View latest post

 
CrackerTracker © 2004 - 2012 CBACK.de

Powered by Orion based on phpBB © 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
All times are GMT + 2 Hours

phpBB SEO