*** Joins: PennStater- (Aaron@c-98-236-4-139.hsd1.pa.comcast.net) | 01:32 | |
*** Quits: PennStater (Aaron@unaffiliated/pennstater) (Ping timeout: 240 seconds) | 01:35 | |
*** Quits: wolog (~wolog@wolog.info) (Ping timeout: 240 seconds) | 03:17 | |
*** Joins: wolog (~wolog@wolog.info) | 03:18 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 240 seconds) | 04:07 | |
*** Joins: rolfkleef (~rolf@urtica.xs4all.nl) | 05:03 | |
*** Joins: mantisbt_09680 (a05c0745@gateway/web/freenode/ip.160.92.7.69) | 05:05 | |
*** Quits: mantisbt_09680 (a05c0745@gateway/web/freenode/ip.160.92.7.69) (Client Quit) | 05:06 | |
*** Quits: dhx_m (~anonymous@c122-107-200-23.eburwd5.vic.optusnet.com.au) (Remote host closed the connection) | 05:21 | |
*** Joins: skalogryz (~skalogryz@dynamicip-92-255-224-86.pppoe.kirov.ertelecom.ru) | 05:52 | |
*** Parts: skalogryz (~skalogryz@dynamicip-92-255-224-86.pppoe.kirov.ertelecom.ru) | 05:52 | |
*** Joins: dhx_m (~anonymous@c122-107-200-23.eburwd5.vic.optusnet.com.au) | 06:15 | |
*** Quits: dhx_m (~anonymous@c122-107-200-23.eburwd5.vic.optusnet.com.au) (Ping timeout: 265 seconds) | 06:24 | |
*** Joins: paulr (~paul@cpc1-enfi9-0-0-cust389.hari.cable.virginmedia.com) | 06:32 | |
*** Joins: dhx_m (~anonymous@c122-107-200-23.eburwd5.vic.optusnet.com.au) | 06:36 | |
paulr | dhx_m: moo | 06:39 |
---|---|---|
dhx_m | paulr: howdy | 06:40 |
paulr | wow :P | 06:40 |
dhx_m | paulr: hah :) | 06:40 |
paulr | it works! | 06:40 |
dhx_m | indeed :) | 06:40 |
dhx_m | I'm currently without a working web server at the moment I'm afraid (no testing possible for now) | 06:40 |
paulr | hehe | 06:41 |
dhx_m | in the middle of upgrading to PHP 5.3.3 with FPM :) | 06:41 |
paulr | fpm = cgi right? | 06:41 |
dhx_m | yep they've added their own fast CGI manager | 06:41 |
paulr | nod | 06:42 |
paulr | that's an RC? | 06:42 |
dhx_m | yep | 06:42 |
dhx_m | I was using PHP 5.2 before so it's finally time to bother upgrading :) | 06:43 |
dhx_m | (5.3 is not yet supported by Gentoo) | 06:43 |
dhx_m | the only thing I'm unsure about is the state of PHP accelerators | 06:45 |
dhx_m | they all seem to be dying projects | 06:46 |
dhx_m | (or at least very slow) | 06:46 |
*** Joins: moto-moi (~hylke@cara.xs4all.nl) | 06:52 | |
paulr | they having a debate whether to put APC in trunk | 06:53 |
paulr | so do you have time again now for mantis? | 06:55 |
dhx_m | yep | 06:58 |
dhx_m | in the middle of ripping all JavaScript out of MantisBT and converting it to jQuery in an external file | 06:59 |
paulr | can I distract you briefly | 06:59 |
dhx_m | that way we can get CSP (content security policy) working :) | 07:00 |
dhx_m | sure | 07:00 |
paulr | you broke pgsql/mssql :P | 07:01 |
paulr | I think we should get away from adodb for schema updates | 07:01 |
dhx_m | pgsql was working fine for me...? | 07:02 |
paulr | from an existing build? | 07:06 |
paulr | with data in? | 07:06 |
paulr | but yes | 07:09 |
paulr | you basically break upgdates | 07:09 |
paulr | erm upgrades | 07:09 |
paulr | albeit, I see a bug in my old code | 07:10 |
dhx_m | hmmm which patchset broke it then? | 07:10 |
paulr | you dropped my datadict additions remember? ;p | 07:11 |
paulr | thereby, breaking what they fixed ;p | 07:11 |
paulr | anyway, given we only suppor what db's | 07:11 |
paulr | mssql, pgsql, db2, mysqli? | 07:11 |
dhx_m | http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=b8b21142be9e05232afada2e601f6c84ad0cd396#patch32 | 07:15 |
paulr | yes | 07:15 |
paulr | spot the bug in it | 07:15 |
paulr | but yes | 07:15 |
dhx_m | if ( $existing[strtoupper($colname)]->type == 'bool' && $t == 'INTEGER') { | 07:15 |
dhx_m | that part? | 07:15 |
paulr | SING (redirect_delay::BOOL)::INT '; | 07:15 |
paulr | no ;p | 07:15 |
paulr | that should be colname ;p | 07:15 |
paulr | but basically | 07:15 |
paulr | our upgdate fails in postgres | 07:15 |
dhx_m | the code is so crap I may as well be reading a hex dump | 07:15 |
dhx_m | :p | 07:15 |
paulr | if someone has data in redirect_dely column | 07:16 |
paulr | which was a int/bool and converts | 07:16 |
paulr | as postgres can't convert bool<>int directly without a using clause | 07:16 |
paulr | for example ;p | 07:16 |
paulr | - if (preg_match('/^([^ ]+) .*DEFAULT (\'[^\']+\'|\"[^\"]+\"|[^ ]+)/',$v,$matches)) { | 07:16 |
paulr | + if (preg_match('/^([^ ]+) .*DEFAULT ([^ ]+)/',$v,$matches)) { | 07:16 |
paulr | not quite sure what that is | 07:16 |
dhx_m | well the problem has been that we don't know what has and hasn't been pushed upstream | 07:17 |
paulr | the problem is with adodb | 07:17 |
paulr | upstream is so inconsistent | 07:17 |
paulr | you relaly need to diff what they do ;p | 07:17 |
dhx_m | so can we scrap it? :p | 07:18 |
paulr | I've reported a 'bug' to upstream before that they've broken it completely by adding an 'a' randomnly to a php include file | 07:18 |
paulr | so they've had to do a new release ;p | 07:18 |
dhx_m | I'm in the mood for chopping off our dependencies (Projax waved goodbye a few days ago at long last :p) | 07:18 |
paulr | yes | 07:18 |
paulr | anyway, i'll work out what to do re adodb | 07:18 |
dhx_m | lol | 07:18 |
paulr | still like the moodle db layer idea | 07:18 |
paulr | it's either that or | 07:19 |
paulr | split adodb and datadict | 07:19 |
paulr | and just do our own | 07:19 |
paulr | but more right now | 07:20 |
paulr | want to fix up mantisforge scripts a bit | 07:20 |
dhx_m | the test framework? | 07:21 |
paulr | not necessarily | 07:21 |
paulr | more things like the git hashes | 07:21 |
dhx_m | ah yeah | 07:22 |
paulr | how can i do a by-char diff ;/ | 07:29 |
dhx_m | ? | 07:30 |
paulr | trying to compare one long line | 07:30 |
dhx_m | not too sure | 07:31 |
paulr | basically, want to get rid of javascript/min | 07:32 |
dhx_m | please do :) | 07:33 |
paulr | we may as well just do that as part of release aka: http://code.google.com/p/closure-compiler/downloads/list | 07:33 |
paulr | it's a version of that that jquery pass files through anyway | 07:33 |
paulr | so until we hit problems | 07:34 |
paulr | may as well just trust google :) | 07:34 |
dhx_m | do we even need /min anymore? | 07:34 |
paulr | 'yes' | 07:34 |
paulr | to compile our jscript files ;p | 07:34 |
dhx_m | I'm not sure why there is a need to do that if we're going to be using 100% jQuery soon | 07:34 |
paulr | well for example the calendar | 07:35 |
dhx_m | our JavaScript files are small and won't be requested by the client too often (E-TAG headers, etc) | 07:35 |
dhx_m | the calendar is now jQuery | 07:35 |
paulr | may as well just build them | 07:35 |
paulr | like jquery do with the same compiler | 07:35 |
paulr | mm | 07:35 |
paulr | I thought that jquery calendar didn't do time? | 07:36 |
paulr | only date? | 07:36 |
dhx_m | where do we use a calendar with time? | 07:36 |
paulr | if you have timetracking on | 07:36 |
dhx_m | check with daryn as he replaced the calendar :) | 07:36 |
paulr | when was this? | 07:37 |
paulr | only reason I know this was | 07:37 |
paulr | at one point I looked to see if we could replace it | 07:37 |
paulr | and concluded that I thought the jqeury calendar wouldn't let us set a time | 07:38 |
dhx_m | http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=1819bbdf8c2d629798fa48537f9bb167e8d33005 | 07:40 |
dhx_m | ah he didn't convert it... just added jQuery UI for converting in the future | 07:40 |
paulr | right | 07:40 |
paulr | I'm pretty sure I concluded before | 07:40 |
paulr | our current calendar needs a time option | 07:40 |
paulr | and that jquery's just has a datepicker for dates only | 07:40 |
dhx_m | yep | 07:42 |
dhx_m | unless it's changed recently I think that's still the problem | 07:42 |
paulr | anyway | 07:44 |
paulr | I want to try to make the 'min' directory just get built | 07:44 |
paulr | which should be a simple a case of a script | 07:44 |
paulr | also | 07:45 |
paulr | people need to engage brain more :) | 07:45 |
dhx_m | which compressor will you use? | 07:45 |
paulr | same one as jquery use atm | 07:45 |
paulr | i.e. google's one | 07:45 |
paulr | albeit whatever latest version equates to | 07:46 |
dhx_m | sounds good to me :) | 07:47 |
dhx_m | no need to recompress jQuery though | 07:47 |
paulr | no but it's easier | 07:48 |
ToffeePops | Hi, we recently updated to mantis 1.2.1... I've just noticed that private issues no longer appear on the main 'view issues' screen with a padlock next to them. | 07:51 |
ToffeePops | They do appear with a padlock under 'my view', but on the main list it's very useful to see that padlock icon - is there any way to turn that on? | 07:51 |
dhx_m | hang on, I'll try and test it when I have my web server back up | 07:52 |
paulr | dhx_m: we need a script to build those hashes | 08:02 |
paulr | you did it semi-manually before right? | 08:02 |
dhx_m | yep | 08:02 |
dhx_m | did you get the commands I used last time? | 08:02 |
paulr | yes | 08:02 |
paulr | but remind me the output | 08:02 |
dhx_m | good (because I might have lost them) :p | 08:03 |
paulr | dunno if I kept them though ;p | 08:03 |
dhx_m | I'll have a look in a moment | 08:13 |
paulr | I think I worked out we can do it via php | 08:13 |
dhx_m | grr Linux 2.6.35-rc3 has a networking bug that is annoying me | 08:15 |
paulr | heh | 08:25 |
paulr | well | 08:25 |
paulr | it's messy | 08:25 |
paulr | but works :P | 08:25 |
paulr | window.Sizzle = Sizzle; | 08:27 |
paulr | hmm :P | 08:27 |
paulr | dev/jquery.js:3686: WARNING - unreachable code | 08:27 |
dhx_m | another compressor that breaks code? :) | 08:33 |
paulr | heh | 08:33 |
paulr | dunno :) | 08:33 |
paulr | doubt it | 08:33 |
paulr | MINJAR = java -jar ${BUILD_DIR}/google-compiler-20091218.jar | 08:34 |
paulr | @@${MINJAR} --js ${JQ} --warning_level QUIET >> ${JQ_MIN} | 08:35 |
paulr | right so they a) hide warnings | 08:35 |
paulr | b) run a 20091218 version which is out of date now | 08:35 |
dhx_m | heh | 08:35 |
paulr | compiler-20091217.zip Zip file for closure-compiler Dec 17 3.7 MB 269 | 08:36 |
paulr | compiler-20091217.tar.gz Tarball for closure-compiler Dec 17 3.7 MB 203 | 08:36 |
paulr | mm | 08:36 |
paulr | google don't list a 20091218 release though ;/ | 08:36 |
paulr | we could get same version from http://github.com/jquery/jquery/tree/master/build/ | 08:38 |
dhx_m | do they have a repository for Closure? | 08:39 |
paulr | google? | 08:39 |
paulr | duno :) | 08:39 |
dhx_m | yep | 08:39 |
paulr | anyway, we can get the 20091218 compile from jquery's | 08:40 |
dhx_m | http://closure-compiler.googlecode.com/files/compiler-latest.zip | 08:40 |
paulr | or just use current one and if we hit problems change | 08:40 |
paulr | nod | 08:40 |
dhx_m | files in that .jar were touched on June 16th | 08:40 |
paulr | nod | 08:40 |
paulr | thats' what i'm running atm | 08:40 |
dhx_m | perhaps the script could download the latest Closure Compiler? | 08:40 |
paulr | mm | 08:40 |
paulr | that might be more annoying | 08:41 |
paulr | but yea | 08:41 |
paulr | either way | 08:41 |
paulr | we can build 'javascript/min' | 08:41 |
paulr | for release tarballs | 08:41 |
paulr | (gives us an additional way to tell difference between release/svn users ;p | 08:42 |
paulr | so next thing | 08:42 |
paulr | hashes | 08:42 |
paulr | from git :P | 08:42 |
dhx_m | checking | 08:45 |
dhx_m | #git rev-list --all | git diff-tree --stdin -r -c -M -C | awk 'BEGIN{commit=""}{if(index($0,":")==0){commit=$1;}else{print "\t" "'"'"'" $4 "'"'"'" " => " "'"'"'" commit "'"'"'" ","}}' > integrity.php | 08:47 |
dhx_m | #git tag -l release* | git cat-file --batch | grep "^object " | cut -d ' ' -f 2 | git cat-file --batch | grep "^tree " | cut -d ' ' -f 2 | 08:47 |
dhx_m | #git ls-tree -r {tree-object-hash} | grep " blob " | awk '{print "\t\t" "'"'"'" $4 "'"'"'" " => " "'"'"'" $3 "'"'"'" ","}' | 08:47 |
dhx_m | something like those | 08:47 |
dhx_m | also have this one: | 08:47 |
dhx_m | #git rev-list --all | git diff-tree --stdin -r | awk 'BEGIN{commit=""}{if(index($0,":")==0){commit=$1;}else{print $6,$4,commit}}' | sort -s -k1,1 | awk 'BEGIN{file="."}{if(index($0,file)!=1){file=$1;print "\t);\n\t" "'"'"'" $1 "'"'"'" " => array(";}if($2!="0000000000000000000000000000000000000000"){print "\t\t" "'"'"'" $2 "'"'"'" " => " "'"'"'" $3 "'"'"'" ",";}}' | 08:47 |
dhx_m | it's been so long since I wrote those that I don't know what does what :p | 08:47 |
paulr | Getting objects/e5/0944ce028886db539855a0d7d0acbf5dc3a94b | 08:53 |
paulr | whats that commit | 08:53 |
dhx_m | ? | 08:53 |
paulr | Getting objects/e5/0944ce028886db539855a0d7d0acbf5dc3a94b | 08:55 |
paulr | bool(false) | 08:55 |
paulr | f6dea35cf03319fe1f15ada084eaec417cc64cb1 | 08:56 |
paulr | http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=f6dea35cf03319fe1f15ada084eaec417cc64cb1 | 08:56 |
paulr | hmm | 08:56 |
paulr | 403 Forbidden - Unknown commit object | 08:56 |
dhx_m | what command did you run? | 08:57 |
dhx_m | git rev-list --all | git diff-tree --stdin -r -c -M -C | awk 'BEGIN{commit=""}{if(index($0,":")==0){commit=$1;}else{print "\t" "'"'"'" $4 "'"'"'" " => " "'"'"'" commit "'"'"'" ","}}' | 08:57 |
dhx_m | ? | 08:57 |
paulr | i'm running a php version | 08:58 |
paulr | Getting branch [a6a8ed17748a91e019239beff77869c94198a232] refs/tags/release-1.2.1^{} | 08:58 |
paulr | Getting objects/a6/a8ed17748a91e019239beff77869c94198a232 | 08:58 |
paulr | Getting branch [cd27a2d26c9b57c403c03ffd5a8d5b3f73594cbc] refs/tags/renamed-libraries-1.2.x | 08:58 |
paulr | Getting objects/e5/0944ce028886db539855a0d7d0acbf5dc3a94b | 08:58 |
paulr | f6dea35cf03319fe1f15ada084eaec417cc64cb1, | 08:58 |
dhx_m | PHP git library? | 08:58 |
paulr | yes | 08:58 |
dhx_m | ugh that'll be slow? | 08:58 |
paulr | seems to be fairly quick | 08:58 |
dhx_m | for listing all commit hashes ever? | 08:59 |
dhx_m | sorry... blob IDs :) | 08:59 |
paulr | where was your output files? | 09:01 |
paulr | so remind me | 09:05 |
paulr | release blobs is files by brnahcn/tag ? | 09:05 |
dhx_m | git tracks files by an "object hash" | 09:05 |
dhx_m | every time a file changes in a commit, git creates a new object hash to represent the new file | 09:06 |
dhx_m | release_blobs = keeps the object hashes for each file in the past MantisBT releases (we can choose how many releases to cater for) | 09:07 |
dhx_m | commit_blobs = keeps object hashes from *every* commit in the git tree | 09:08 |
dhx_m | going back to the start of the repository | 09:08 |
dhx_m | ~4MB file | 09:09 |
paulr | i'm hoping I can generate it in php | 09:09 |
dhx_m | it's fast to lookup though :) | 09:09 |
paulr | then we can just build array etc easily | 09:09 |
dhx_m | yep | 09:09 |
dhx_m | I think for official releases we can just use release_blobs with the last two years worth of releases | 09:10 |
dhx_m | that way people can easily see if they're using old versions of MantisBT files that are no longer needed | 09:10 |
dhx_m | if the object hash isn't in release_blobs then all they know is they've got an unknown file that doesn't trace back to any MantisBT commits | 09:11 |
dhx_m | (any MantisBT releases in the last X releases) | 09:11 |
paulr | we tag releases right? | 09:20 |
nuclear_eclipse | yep | 09:20 |
nuclear_eclipse | we have release tags going all the way back to 0.X.X releases | 09:20 |
nuclear_eclipse | (I think) | 09:21 |
nuclear_eclipse | ok, nvm, just back to 1.0.0 | 09:21 |
paulr | we pgp sign releases? | 09:22 |
nuclear_eclipse | I have been | 09:22 |
paulr | commirs | 09:22 |
nuclear_eclipse | http://git.mantisbt.org/?p=mantisbt.git;a=tag;h=1eaa1d6ff23c107811dffb2a6f386e8dd57f0365 | 09:22 |
paulr | seems quite a short sig | 09:23 |
nuclear_eclipse | well, it's just signing the git tag data | 09:24 |
paulr | is it possible to delete tags permanently from git? | 09:24 |
nuclear_eclipse | yes | 09:24 |
paulr | aka do we need renamed-libraries-1.2.x | 09:25 |
nuclear_eclipse | no | 09:25 |
nuclear_eclipse | I've been wanting to drop that for a while | 09:25 |
nuclear_eclipse | (deleted) | 09:27 |
dhx_m | :) | 09:28 |
nuclear_eclipse | you just need to delete the tag locally now, `git tag -d renamed-libraries-1.2.x` | 09:28 |
dhx_m | do we need the 'rpxnow' repo? | 09:28 |
paulr | yes | 09:28 |
paulr | we should keep that for now at least imo | 09:29 |
dhx_m | what is it? | 09:29 |
paulr | was victor's attempt at adding stuff | 09:29 |
paulr | what is 2982c250eca8503408f1a1d8371382aadd515c73 | 09:29 |
nuclear_eclipse | 1.0.0 | 09:29 |
paulr | mm | 09:39 |
paulr | would I also have to delete the tags from mantisforge seperately? | 09:39 |
nuclear_eclipse | probably | 09:46 |
paulr | we dont have a http:// url for git on git.mantisbt.org do we? | 09:46 |
nuclear_eclipse | it's just a matter of `git push <remote> :renamed-libraries-1.2.x` | 09:46 |
paulr | what I could probably do is 'rm' the dir and let it repull | 09:46 |
paulr | as long as that wont break a fork | 09:47 |
paulr | 56911 | 09:55 |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 12:19 | |
*** Quits: PennStater- (Aaron@c-98-236-4-139.hsd1.pa.comcast.net) (Changing host) | 12:47 | |
*** Joins: PennStater- (Aaron@unaffiliated/pennstater) | 12:47 | |
*** PennStater- is now known as PennStater | 12:49 | |
*** Joins: fanno (~Morten@90.184.93.233) | 15:33 | |
*** Joins: |HaruAFK| (~haruka@p54ACD292.dip.t-dialin.net) | 16:58 | |
paulr | dhx_m: was you using a package? | 17:10 |
|HaruAFK| | mh, is there a shorter way than this?: | 17:30 |
|HaruAFK| | $projects = explode(",", plugin_config_get('project_id',array())); | 17:30 |
|HaruAFK| | if ($projects != null) { | 17:30 |
|HaruAFK| | foreach ($projects as $key => $project) { | 17:30 |
|HaruAFK| | $projects[$key] = (int)$project; | 17:30 |
|HaruAFK| | } | 17:30 |
|HaruAFK| | } | 17:30 |
|HaruAFK| | print_project_option_list($projects); | 17:30 |
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Quit: Ex-Chat) | 17:36 | |
*** Quits: rolfkleef (~rolf@urtica.xs4all.nl) (Read error: Operation timed out) | 18:21 | |
*** Quits: fanno (~Morten@90.184.93.233) (Read error: Connection reset by peer) | 18:28 | |
*** Quits: paulr (~paul@cpc1-enfi9-0-0-cust389.hari.cable.virginmedia.com) () | 18:51 | |
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection) | 19:59 | |
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) | 20:00 | |
*** Quits: dhx_m (~anonymous@c122-107-200-23.eburwd5.vic.optusnet.com.au) (Read error: Connection reset by peer) | 21:54 | |
*** Joins: dhx_m (~anonymous@c122-107-200-23.eburwd5.vic.optusnet.com.au) | 22:22 | |
*** Joins: |Otter| (~haruka@p54ACF961.dip.t-dialin.net) | 22:37 | |
*** Quits: |HaruAFK| (~haruka@p54ACD292.dip.t-dialin.net) (Ping timeout: 265 seconds) | 22:41 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!