#MAPBENDER IRC Log - 2008-07-16

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
01:26:35 seven: Hi Mapbenderbender, switched identities?
01:26:36 seven: :- )
06:41:21 spsneo: anybody free to discuss few stuffs?
06:43:31 Mapbenderbender: hi spsneo
06:43:41 Mapbenderbender: sorry, I have a stupid nick today
06:43:47 Mapbenderbender: it's Testbaudson
06:43:56 spsneo: Mapbenderbender: ohk
06:44:03 spsneo: why so unusual nick?
06:44:13 Mapbenderbender: I had to reinstall my machine....
06:44:18 spsneo: Anyways I just wanted to ask ...
06:44:49 spsneo: which files are changes after the installation
06:44:51 spsneo: ?
06:44:54 spsneo: changed*
06:45:58 spsneo: I am talking about normal mb installation...
06:46:03 spsneo: no customization
06:51:28 spsneo: Mapbenderbender: ?
06:54:34 Mapbenderbender: spsneo: in general, you only change the configuration files
06:54:40 Mapbenderbender: in conf/
06:54:46 spsneo: do u mean mapbender.conf
06:54:55 spsneo: and all other files are untouched
06:54:56 Mapbenderbender: yes, and some other files as well in conf/
06:55:04 spsneo: all the chanegs are doen through database right
06:55:06 spsneo: ?
06:55:11 Mapbenderbender: yes
06:55:37 Mapbenderbender: maybe you have changes in the resources/locale/...
06:55:59 Mapbenderbender: if you add translations
06:56:18 Mapbenderbender: but you can ignore this
06:56:37 spsneo: ok..
06:56:55 spsneo: ignore this means
06:56:56 spsneo: ?
06:57:22 Mapbenderbender: treat it like the other files
06:57:27 spsneo: changes done in this folder should be considered while checking for customization?
06:57:59 Mapbenderbender: maybe in the future...but I guess we skip it for now
06:59:18 Mapbenderbender: spsneo: I have a question
06:59:30 spsneo: Mapbenderbender: what?
06:59:34 Mapbenderbender: we spoke about checksums
06:59:51 Mapbenderbender: if we perform the check before the upgrade...
06:59:52 spsneo: yup
07:00:12 Mapbenderbender: we need to compare the existing installation with the checksum of the old version...
07:00:33 Mapbenderbender: to determine the customizations, right?
07:00:43 spsneo: yeah
07:00:48 Mapbenderbender: ok
07:01:01 spsneo: we need to compare the existing installation with the checksum of the version installed
07:01:19 Mapbenderbender: where do we store the checksums?
07:01:53 spsneo: it can be stored either in the installation folder during the installation only..
07:02:15 spsneo: or may be we can have a .. checksum of different versions...in the update script
07:02:28 spsneo: but the first solution is better..
07:02:35 spsneo: as there can be many releases..
07:02:39 Mapbenderbender: will this be a single file?
07:02:44 spsneo: what do u say?
07:03:08 Mapbenderbender: we need to store the checksum for each file...
07:03:15 Mapbenderbender: where do we put the checksums?
07:03:19 Mapbenderbender: all in a single file?
07:03:31 Mapbenderbender: xml?
07:03:39 Mapbenderbender: or csv?
07:03:54 Mapbenderbender: or json?
07:03:55 spsneo: Ya most probably in xml
07:04:14 spsneo: or may we can even store checksums in db
07:04:20 spsneo: but then db can be altered
07:04:41 spsneo: json is also a nice option
07:04:49 Mapbenderbender: we should have that in the file system I guess
07:05:05 spsneo: hmm.. ya
07:05:10 Mapbenderbender: The other idea would be this...
07:05:22 Mapbenderbender: have a checksum file for each module
07:05:28 spsneo: because when we upgrade we have to store teh checksum.. for the next version
07:05:35 Mapbenderbender: so you could determine which modules have changed
07:05:40 Mapbenderbender: or if the core has changed
07:06:17 spsneo: ok ya this sounds a better idea.
07:06:18 Mapbenderbender: but for this, we should have the new file system layout
07:06:30 spsneo: These days I am reading all different kind of checksums
07:06:39 Mapbenderbender: because now, the files are just all over the place... :-(
07:06:43 spsneo: and cryptographic hash functions
07:06:52 Mapbenderbender: interesting?
07:06:55 spsneo: to decide which one will suit the bets for us
07:07:33 Mapbenderbender: did you consider md5?
07:07:45 spsneo: when are we going to have the new file system layout
07:07:52 Mapbenderbender: in Mapbender 2.6
07:07:59 spsneo: ya I am considering md5 and sha-1
07:09:42 Mapbenderbender: I think we should definitely consider the checksum by module approach...
07:09:52 Mapbenderbender: even if that means deferring the update script to 2.6
07:10:07 Mapbenderbender: but this will make things easier and we have more time to experiment
07:11:24 : * Mapbenderbender will merge the new file system changes into trunk later...
07:11:37 Mapbenderbender: did you branch off trunk, spsneo?
07:16:04 spsneo: Mapbenderbender: sorry I got disconnected
07:16:27 spsneo: are you still there?
07:16:32 Mapbenderbender: hi
07:16:45 spsneo: so if new file system is will be in 2.6 then..what now?
07:17:12 spsneo: should I code considering 2.6 version?
07:17:20 Mapbenderbender: yes
07:17:42 Mapbenderbender: I said I will commit my changes into trunk later
07:17:53 Mapbenderbender: currently, it's only in testbaudson_dev
07:17:59 spsneo: which branch has new file system
07:18:05 spsneo: I will branch off that branch
07:18:25 Mapbenderbender: I guess your code is very isolated...
07:18:29 Mapbenderbender: so that's no problem I guess
07:18:37 spsneo: ya
07:18:49 spsneo: ok I will jsut checkout ..
07:18:55 spsneo: to know the new file system
07:19:11 Mapbenderbender: check the mod/ folder
07:19:30 Mapbenderbender: there is still http/javascripts and http/php
07:19:35 Mapbenderbender: but these are deprecated
07:19:41 Mapbenderbender: as well as http/classes
07:20:27 spsneo: ok.
07:21:53 spsneo: any more suggestions at this point of time
07:21:55 spsneo: ?
07:22:27 Mapbenderbender: hmm
07:22:46 Mapbenderbender: the http folder will most likely also contain a mod folder
07:22:51 Mapbenderbender: it is not there yet
07:23:09 Mapbenderbender: with the same structure as in the folder below
07:23:23 Mapbenderbender: and I'm not sure about the http/img folder
07:23:43 Mapbenderbender: maybe the images will be moved to the http/mod folder as well
07:24:28 Mapbenderbender: maybe think about how to gather the checksums and how the checksum files will look like
07:24:38 Mapbenderbender: maybe have a checksum file for each module
07:24:48 Mapbenderbender: and one for the core
07:25:16 Mapbenderbender: let me know if you need more input,...
07:25:23 Mapbenderbender: or if you have coded sth.
07:27:32 spsneo: Mapbenderbender: i havent coded anything yetr
07:27:54 spsneo: I am just reading those checksum algos to decide wheich is the best for our need
07:28:09 spsneo: and what does mod stand for?
07:28:10 Mapbenderbender: spsneo: maybe just use PHPs md5
07:28:19 Mapbenderbender: the folder named "mod"
07:28:21 Mapbenderbender: modules
07:28:25 spsneo: ok
07:28:45 Mapbenderbender: http://de.php.net/md5
07:28:47 sigq: Title: PHP: md5 - Manual ( at de.php.net )
07:29:03 spsneo: ya I will go through it
07:29:22 Mapbenderbender: we can easily switch to another algorithm later
07:29:27 Mapbenderbender: if needed
07:29:35 Mapbenderbender: ok, I will be off now
07:29:39 Mapbenderbender: anything else?
07:34:20 spsneo_: Mapbenderbender: thanks
07:34:29 spsneo_: thanks for your suggestions
07:35:09 spsneo_: Mapbenderbender: bye
07:38:44 spsneo_: Mapbenderbender: are u still there?
07:52:40 spsneo: Mapbenderbender: are u still there.?