Page 5 of 6

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 1:42 am
by Highway of Life
EXreaction wrote:The way I've fixed that for now is we'll require including the common.php file the new way it is setup in the umil_auto_example.php file (though you can skip that part if you would like and will still work the old way, but constants won't work as it's been noted)
The old way is fine, but the UMIL construct should call the phpBB common, which will include the constants. So the user simply needs to instantiate the umil class before they make any DB queries.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 1:51 am
by EXreaction
Yes, it can still call the setup as it could before.

The constants are needed before they are called, not just before the DB queries and the version array is setup before the umil auto file is included, so at that point the constants don't exist.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 1:08 pm
by poyntesm
So using the latest SVN (r48) constants are working. Another small thing I noticed is the SVN keyword Id does not seem set on the files.

As a small aside, using AutoMOD and UMIL I can now have my MOD installed in under 1 minute!! :o 23 tables, 52 permissions, 7 roles & 1 group permissions update, 15 modules & over 1200 piece of data entered and 16 files to edit. Its now a breeze using AutoMOD & UMIL now.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 3:27 pm
by EXreaction
I really don't like using that Id stuff, it's a pain to manage using Tortoise SVN (or at least it has been for me, I've been more likely to screw something up completely then get that all working right).

What mod is that? :shock:

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 7:31 pm
by poyntesm
For TortoiseSVN just pick the top folder, select properties go to SVN tab and select properties again, then new. Property name should be "svn:keywords" and type "Id" in property value, select the apply recursively and OK.

As for the MOD is called phpBBGarage and runs to 89,644 PHP, 14,207 HTML and 5,240 SQL lines!! Used to be a major install taking about 30 minutes for a person not fimilar with phpBB but now with two excellent tools is a piece of cake.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 10:20 pm
by EXreaction
Yep, I've done it before with tortoise svn, but it just becomes a pain when adding files, etc. I've been lucky if tortoise SVN works at all, it has always been buggy for me. :P

Nice. :)

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 10:33 pm
by igorw
It's also possible to configure SVN to add them automatically. You can do this in "C:\Documents and settings\username\Application data\Subversion\config" with auto-props. Look it up. :)

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 11:15 pm
by EXreaction
That's server side, right?

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Wed Dec 24, 2008 11:38 pm
by igorw
No, client.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Thu Dec 25, 2008 2:27 am
by EXreaction
I see, I'll put it on my to-do list to look into. :P

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Thu Dec 25, 2008 2:37 am
by Highway of Life
I added props to all of the files within UMIL.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Sat Jan 03, 2009 10:41 pm
by EXreaction
Alright, I've added some support so you can display your own custom options with the UMIL Auto system.

I updated the umil_auto_example with two example options as well.

I am not sure if we can use this in the preview release that is coming up yet or if it is too late (in which case it would need to wait until the final release). I don't see why it couldn't be included in the preview release however.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Sun Jan 04, 2009 2:32 am
by Highway of Life
EXreaction wrote:I am not sure if we can use this in the preview release that is coming up yet or if it is too late (in which case it would need to wait until the final release). I don't see why it couldn't be included in the preview release however.
It will be included, I haven’t tagged it yet.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Sat Jan 10, 2009 6:34 pm
by poyntesm
Tested the custom options and worked a treat. Nice job.

Re: UMIL/UMIF - New MOD Installation Library - Feedback needed

Posted: Sun Jan 11, 2009 4:26 am
by EXreaction
Just giving a quick note to anyone. Today I've been working on adding documentation in the Wiki for UMIL.
http://wiki.phpbb.com/Umil