| 00:29:33 | astroidex: | hello vera |
| 00:29:41 | vschulze: | hi :- ) |
| 03:30:48 | spsneo: | Testbaudson: hello |
| 03:30:59 | spsneo: | Testbaudson: are you free for a couple of minutes? |
| 03:32:10 | Testbaudson: | spsneo: not now |
| 03:32:17 | Testbaudson: | maybe in 30 minutes? |
| 03:32:21 | spsneo: | Testbaudson: I have completed the filesystem update script |
| 03:32:32 | spsneo: | I am integratng it with the update script |
| 03:32:40 | spsneo: | Ok ping me when u r free |
| 03:32:47 | spsneo: | will let u know then |
| 03:32:50 | spsneo: | thanks |
| 06:12:24 | Testbaudson: | spsneo: still there? |
| 06:57:10 | spsneo: | Testbaudson: u thr? |
| 06:59:31 | Testbaudson: | hi spsneo |
| 06:59:33 | Testbaudson: | yes |
| 06:59:45 | spsneo: | well |
| 06:59:56 | spsneo: | ya I will brief you about the code before I commit |
| 07:00:40 | spsneo: | the code first asks the user to enter the installed mapbender path |
| 07:01:20 | spsneo: | and then it verifies the current sha1 checksum of each files except the log and conf files with the checksum stored in the json files in the same directory. |
| 07:01:45 | spsneo: | if these checksum doesnt match.. it notifies the user in which folders files have been changed |
| 07:01:53 | spsneo: | and then the update process aborts |
| 07:02:04 | spsneo: | in case the verification goes well.. |
| 07:02:19 | spsneo: | update script makes a backup of the current installed version |
| 07:02:33 | spsneo: | it makes backup like - |
| 07:02:49 | spsneo: | say your initial mb is installed in /var/www/mb |
| 07:03:22 | spsneo: | then it would store the backup in /var/www/mb_backup_( currenttimestamp ) |
| 07:03:31 | spsneo: | after making the backup |
| 07:03:56 | spsneo: | it copies the old conf files and log files in the mb directory |
| 07:04:13 | spsneo: | and copies the other files from the new version of mb |
| 07:04:26 | spsneo: | This is all it does |
| 07:04:31 | Testbaudson: | sounds good |
| 07:04:31 | spsneo: | is it ok? |
| 07:04:32 | spsneo: | Testbaudson: ok? |
| 07:04:37 | spsneo: | anything to add? |
| 07:04:46 | Testbaudson: | I think we can improve on a few things later on |
| 07:04:52 | spsneo: | like? |
| 07:05:04 | spsneo: | tell me ..if its possible I can improve just now |
| 07:05:09 | Testbaudson: | we could automatically compile the new po-file |
| 07:05:11 | Testbaudson: | for i18n |
| 07:05:19 | Testbaudson: | but this is different for win and linux |
| 07:05:30 | Testbaudson: | so maybe we skip it now |
| 07:05:41 | spsneo: | ok |
| 07:05:47 | Testbaudson: | but hey, this is a useful script already |
| 07:05:56 | spsneo: | well I have been doing all my work on linux.. these days.. |
| 07:06:01 | Testbaudson: | sure |
| 07:06:04 | spsneo: | so I havent checked the code on windows system |
| 07:06:21 | Testbaudson: | can you do so? |
| 07:06:24 | spsneo: | so before including the script I would like to check the code on a windows system |
| 07:06:32 | Testbaudson: | cool |
| 07:06:40 | spsneo: | may be after I complete everything I will focus onthis |
| 07:06:56 | spsneo: | Like I have to now integrate the db updae script and filesystem update script |
| 07:07:14 | spsneo: | so when are we releasing the next mb version |
| 07:07:15 | spsneo: | ? |
| 07:07:23 | Testbaudson: | don't know |
| 07:07:29 | Testbaudson: | maybe end of the yearish |
| 07:07:34 | spsneo: | I am very excited to include the update script in the next version |
| 07:07:37 | Testbaudson: | it was planned for sep 15 |
| 07:07:43 | spsneo: | then? |
| 07:07:44 | Testbaudson: | but 2.5 still is not stable |
| 07:08:00 | Testbaudson: | yes, we will have it in 2.6 |
| 07:08:18 | spsneo: | Actually before including teh update script we will have to send a patch for the current script. |
| 07:08:46 | Testbaudson: | ? |
| 07:08:48 | spsneo: | since there will be no checksum for the current installed version .. , update script wont work in the next version |
| 07:08:57 | Testbaudson: | ah, I see |
| 07:09:09 | Testbaudson: | good thinking |
| 07:09:14 | spsneo: | so what we can do is .. from now onwards we can distribute the mb with the checksum |
| 07:09:23 | Testbaudson: | yes |
| 07:09:26 | spsneo: | so may be we can release a new candidate |
| 07:09:35 | spsneo: | with the checksum in it |
| 07:09:38 | Testbaudson: | sure |
| 07:09:42 | Testbaudson: | this is no problem at all |
| 07:10:07 | Testbaudson: | so at least there is one good thing about 2.5 being late ;- ) |
| 07:10:16 | spsneo: | so to build checksum I have written the script and .. its there in my dev branch |
| 07:10:20 | spsneo: | in build folder |
| 07:10:27 | Testbaudson: | good |
| 07:10:38 | spsneo: | I have checked it quite well |
| 07:11:01 | Testbaudson: | mapbender users will love you for this... |
| 07:11:11 | spsneo: | it stores checksum of all files in all directories except conf, log, license, update and resources |
| 07:11:11 | Testbaudson: | this will make everything a lot easier |
| 07:11:41 | spsneo: | so what we can do is .. build mapbender executing this script and distribute the new version. |
| 07:11:58 | spsneo: | or you may start a motion to include this thingy or not? |
| 07:12:06 | spsneo: | what do u say? |
| 07:12:10 | Testbaudson: | I guess that's not necessary |
| 07:12:22 | Testbaudson: | I will include your script in the existing build script |
| 07:12:36 | spsneo: | so check out the script on a temporary folder... |
| 07:12:49 | spsneo: | If u need any assistance please mail me.. |
| 07:13:00 | spsneo: | and let me know did it work fine.. |
| 07:13:16 | spsneo: | and please try to include the update script in the next version |
| 07:13:20 | spsneo: | I will be very happy |
| 07:13:58 | Testbaudson: | sure! |
| 07:14:10 | Testbaudson: | at the moment I'm quite busy |
| 07:14:17 | Testbaudson: | but I will definitely do so next week |
| 07:14:23 | spsneo: | there are three files required to build : build-checksum.php, commandLine.inc, checksum-utils.php |
| 07:14:23 | Testbaudson: | and let you know |
| 07:14:32 | spsneo: | all these are in build dir |
| 07:14:41 | spsneo: | ok thanks |
| 07:14:59 | spsneo: | So i will commit my this filesystem script by tonight |
| 07:15:04 | Testbaudson: | ok |
| 07:15:23 | spsneo: | and then next week I will work on integrating both the scripts, though I guess I have done it already |
| 07:15:40 | spsneo: | I will also work on creating a documentationn, a wiki page on mapbender.org |
| 07:15:48 | spsneo: | and README file |
| 07:15:56 | spsneo: | next week all these |
| 07:16:01 | spsneo: | hope its all OK |
| 07:16:12 | spsneo: | and I am according to your expectations |
| 07:17:07 | Testbaudson: | yes documentation is very important |
| 07:17:26 | spsneo: | Ya next week On documentation |
| 07:17:40 | spsneo: | and what else did you expect from me |
| 07:17:54 | Testbaudson: | I will talk to you on Monday about the scripts |
| 07:18:02 | spsneo: | and one more thing after I complete this update script , can I work on install script |
| 07:18:04 | spsneo: | ? |
| 07:18:10 | Testbaudson: | sure |
| 07:18:18 | spsneo: | Thanks |
| 07:18:25 | spsneo: | hope to work on that as well |
| 07:18:30 | spsneo: | it seems you are busy |
| 07:18:32 | spsneo: | ok bye |
| 07:18:45 | Testbaudson: | thanks a lot and have a nice weekend |
| 07:18:48 | spsneo: | thanks for your support |
| 07:18:49 | Testbaudson: | see you |
| 07:18:52 | Testbaudson: | bye |
| 07:18:53 | spsneo: | thanks |
| 07:18:57 | spsneo: | see you too |