FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Installer Logic
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Installer Logic [message #17865] Fri, 23 April 2004 02:16 Go to next message
ltpr is currently offline  ltpr   United States
Messages: 5
Registered: April 2004
Location: Duluth Minnesota
Karma: 0
Junior Member

I love the installer that you guys made for FUDforum.

I was wondering if someone could help me understand the logic behind it because I would love to integrate something like this in my open source project.

Reasons I am looking into this:

The application I am creating needs an installer and its mostly a framework that works off of components and I need to be able to streamline the installations of components with one file. Currently tarballs and otherfile types wont work because I need to have functions to upgrade, backup, restore, etc. This installer seems like it could be the answer to my problems and seeing as it is released under the GNU it would be well worth my time.

If someone could please help me contact me via jabber or msg back on this board Smile
icon5.gif  Re: Installer Logic [message #17867 is a reply to message #17865] Fri, 23 April 2004 04:07 Go to previous messageGo to next message
ltpr is currently offline  ltpr   United States
Messages: 5
Registered: April 2004
Location: Duluth Minnesota
Karma: 0
Junior Member

okay I found out pretty much all of the data with in the file area... I just cant figure out what that second number is used for .

just to make sure I am correct here:
//file.extension//?what_am_i?//path/to/dir//md5//length//

could it be the file size in bytes?

thanks
Re: Installer Logic [message #17876 is a reply to message #17867] Fri, 23 April 2004 12:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
First of all you should checkout FUDforum from the CVS, this will give you the create_file_list script that is used to create the archive inside the installer/upgrade scripts.

The format it self is pretty simple:

//name//permissions//directory//md5_of_data//length_of_data//
data_it_self


FUDforum Core Developer
Re: Installer Logic [message #17885 is a reply to message #17865] Fri, 23 April 2004 16:24 Go to previous messageGo to next message
ltpr is currently offline  ltpr   United States
Messages: 5
Registered: April 2004
Location: Duluth Minnesota
Karma: 0
Junior Member

Where exactly is the cvs for fud?
I checked the site and didn't really see anything.
Re: Installer Logic [message #17886 is a reply to message #17885] Fri, 23 April 2004 16:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is a link to the topic that will explain how to access FUDforum's CVS
http://fudforum.org/forum/index.php?t=msg&th=547

This topic is the 1st topic inside the FUDforum 2.6+ forum Smile


FUDforum Core Developer
Re: Installer Logic [message #17887 is a reply to message #17865] Fri, 23 April 2004 16:30 Go to previous messageGo to next message
ltpr is currently offline  ltpr   United States
Messages: 5
Registered: April 2004
Location: Duluth Minnesota
Karma: 0
Junior Member

haha so much for the search Smile just needed to open my eyes.

thanks much
Re: Installer Logic [message #17917 is a reply to message #17865] Sun, 25 April 2004 14:47 Go to previous messageGo to next message
ltpr is currently offline  ltpr   United States
Messages: 5
Registered: April 2004
Location: Duluth Minnesota
Karma: 0
Junior Member

just wanted to get a simple explaination.
when using zlib to decompress one does not need to change the format of the <?php open tag? This seems to be the case just looking for some clarification.
Re: Installer Logic [message #17918 is a reply to message #17917] Sun, 25 April 2004 14:57 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Zlib compression is no different from regular archive, you don't need to do anything special.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: unable to register new users or post topics
Next Topic: Can we count views as well as posts?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 15:17:32 GMT 2024

Total time taken to generate the page: 0.03027 seconds