Friday, 2009-12-18

../irclogs/#mantishelp.2009-12-18.log
--- scribe started ---00:00
* paul__ yawns00:09
* paul__ just got in00:09
dhx_mhi00:11
paul__lo00:12
paul__dhx_m: didy ou think anymore?00:21
dhx_mpaul__: not really :p00:22
paul__k00:23
paul__so we'll continue tomorrow i guess00:23
dhx_myep sounds good00:40
dhx_mI might see about closing some more 1.2.x issues00:40
CIA-27Mantisbt: robert.munteanu * re35d857f3dc2 /core/email_api.php: Issue #11088: Update emails show @0@ instead of the access level of each bugnote author00:54
CIA-27Mantisbt: robert.munteanu master-1.2.x * ra27f63169274 /core/email_api.php: Issue #11088: Update emails show @0@ instead of the access level of each bugnote author00:54
CIA-27Mantisbt: hickseydr * rf3fdde75b854 /library/ (169 files in 18 dirs): Update PHPMailer to v5.1 and ADOdb to v5.1004:15
CIA-27Mantisbt: paul * r73a2b8fc7c58 /library/adodb/drivers/ (8 files): Apply PHP 5.3 compatibility patch to ADOdb 5.1004:15
CIA-27Mantisbt: hickseydr master-1.2.x * r0b08f65e063b /library/ (317 files in 41 dirs): Update libraries to match those of 1.3.x branch04:15
* paul__ slaps dhx_m 10:53
dhx_mpaul__: hi10:53
paul__gonna pull your library commit a sec10:56
paul__you missed some changes in libs we've done ;/10:56
paul__also, point of readme_mantis.txt10:56
paul__was instead of saying 'none' for adodb when we have changes10:57
paul__we actually have somewhere to list the changes10:57
paul__and then update to night10:57
paul__which would be a lot easier if i wasn't getting git archive at 7kb/s11:00
dhx_mpaul__: it'd be better if we supplied .patch files11:30
dhx_mpaul__: that way it is easy to upgrade the libraries... just apply the patches over the top11:30
paul__mm11:31
paul__how do i undo a local commit11:32
paul__dhx_m: with adodb, I tend to just read the changes11:39
paul__as the guy is sometimes random anyway11:39
paul__they've occassionally done silly things that need a manual check11:39
dhx_myeah it didn't strike me as having the best source code control11:39
paul__e.g. changing sql data types between releases11:39
dhx_mI couldn't see any extra commits you've made11:39
dhx_munless you rolled them up without warning in the 5.09 upgrade commit11:40
paul__well11:40
paul__I normally update via winmerge11:40
paul__and manually review11:40
paul__so basically yes11:40
paul__and where we moved from core to library11:40
paul__we lost the unrolled history11:41
paul__it then doesn't help when I add a readme_mantis.txt to adodb saying NO CHANGES11:41
paul__the point of the index.html files was to make it harder for people to use a directory list to guess a mantis version11:41
dhx_mit's fairly trivial to guess the version in use by bugs fixed, etc11:42
dhx_mI guess what you're trying to prevent is someone checking file sizes?11:43
dhx_mas opposed to whether a file exists?11:43
paul__in a sense, yea11:43
paul__in a sense they should probably be index.php files11:43
paul__redirecting back to mantis11:43
paul__or something11:43
paul__I think we've got patches in both phpmailer/adodb11:44
paul__so plan is:11:44
paul__a) revert11:44
paul__b) merge11:44
paul__c) document what we patch11:44
paul__d) maybe generate a diff11:44
paul__out of interest11:46
paul__why did you delete some of adodb/session but not all?11:46
dhx_mI wasn't sure if we needed the .php files in session11:46
paul__wow :P11:46
dhx_malso what I did was overlay the latest version on top of the old version11:46
paul__also11:47
paul__I think we are probably required to leave the license files11:47
dhx_mand used git status to see which files we needed/didn't need11:47
paul__only question is where I made the point of hiding versions of things, whether we hsould be removing http://git.mantisbt.org/?p=mantisbt.git;a=blob;f=library/utf8/ChangeLog;h=326850b441e0eca67f060d3b30f36aaca60bbf4b;hb=e35d857f3dc2ddbe3044db522bc72e8045d766b211:47
paul__aka changelog for utf811:47
paul__on one hand, shows us what version we are on clearly11:48
paul__on the other hand is useful information to identify versions of stuff11:48
dhx_mhmmm11:49
dhx_mI'm not a huge fan of placing all that stuff in a folder that is uploaded to a web server11:49
dhx_mIMO we need a licenses/ directory11:49
dhx_mthat contains general licenses for things we bundle11:49
dhx_mor better...11:50
dhx_mseparate out wwwroot content from other stuff we bundle (tools, licenses, install scripts, etc)11:50
paul__for what rationale (i.e. licenses)11:52
paul__size?11:52
paul__or securitY?11:52
dhx_mmore just a case of bundling the minimum11:57
dhx_mie. no readmes, documentation, etc11:57
paul__that should be part of build scripts imo12:03
dhx_mI'm not a huge fan of bundling 3rd party libraries with Mantis12:18
dhx_mIMO we should fetch them as part of the build script12:19
dhx_mthen apply our own patches on top12:19
dhx_mit does make it harder to just checkout our repository though12:19
dhx_mso maybe not12:19
paul__dhx_m: erm14:37
paul__dhx_m: can you check I just reverted right thing14:37
paul__so I can fix tonight :P14:37
CIA-27Mantisbt: paul * r34109f9869fe /library/ (169 files in 18 dirs): Revert "Update PHPMailer to v5.1 and ADOdb to v5.10"14:37
paul__iu.e. what about ?http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=73a2b8fc7c5898ce3561bbb926c050a0218b4cab14:38
slestakgood morning, using the mediawiki integration plugin.  I have my mantis succesfully creating pages in my wiki, but I would like to steer the ticket pages to a particular place in the wiki.14:47
slestakthey are going to /, but I would liek them to go to /Departments/Information_Services/Issues14:48
slestakI think this would be changed with $g_wiki_link_url14:48
slestakwell, that wasnt effective.  tried appending the place I want them attached to the end of the link_url14:52
slestakmaybe I need to adjust it on the wiki side?14:52
slestaki think this will be on the mantis end.  the MT mantis extgension is about displaying mantis data in the wiki.  I see the difference now15:08
nuclear_eclipseslestak: most of the wiki integration code is rather "incomplete" from a customizability aspect15:14
slestakits ok15:14
slestakit is very close.  i should be able to patch mine15:14
paul__nuclear_eclipse: do I have to do the other patch too?15:16
nuclear_eclipsewhat other patch?15:16
paul__http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=73a2b8fc7c5898ce3561bbb926c050a0218b4cab15:16
nuclear_eclipsepaul__: I'm not quite sure what you're doing in the first place :P15:17
paul__reverting the patch15:18
paul__to do it properly :P15:18
nuclear_eclipseoh, then I have no clue15:19
nuclear_eclipsedoes this have anything to do with 1.2 though? :P15:19
paul__yes15:20
paul__the patch I've reverted from trunk got merged to 1.2-master15:20
paul__:P15:20
nuclear_eclipseoh15:21
paul__and well15:21
paul__but it's only reverted 1 of the two patches15:22
paul__or something15:22
slestaktrying to disable changelog in 1.1.6 with $g_view_changelog_threshold but php barks that key doesnt exist15:43
slestakinvald T_15:43
slestaki looked in html_api.php and that is the key it is looking for15:44
gialluslestak, if PHP is barking, you're probably doing something bad syntax wise15:46
slestakI am trying $g_view_changelog_threshold = NOBODY15:46
gialluok, where are you putting it15:46
slestakand get Parse error: syntax error, unexpected T_VARIABLE in /usr/local/src/mantisbt-1.1.6/config_inc.php on line 6515:46
slestakin config_inc.php15:46
nuclear_eclipseslestak: you need a semicolon after that15:46
gialluok, missing a ;15:46
slestakdoh15:46
slestaktyvm15:47
gialluyw15:47
slestakare there any screenshots of the new development or demo sites?  Just wondering where 1.2 is going visually16:26
slestakcan someone imagebin.ca one?16:31
gialluslestak, it's still pretty similar to 1.117:14
giallusee ours http://bugs.mantisbt.org17:14
paul__moo17:38
paul__nuclear_eclipse: did you take a look?17:38
kirillkalo17:39
paul__lo17:39
nuclear_eclipsepaul__: I looked, but I don't think I can help you on that part17:46
paul__ok17:47
paul__do I have to revert the 2nd commit though17:47
nuclear_eclipseI have no clue17:56
nuclear_eclipsedhx_m: around?17:56
JohnShandy`if I want unregistered users to be able to view issues, such as the bugtracker at MantisBT.org, how do I go about configuring Mantis in this fashion? currently, my projects on Mantis have View Status set to 'public', however that doesn't seem to do the trick18:13
nuclear_eclipseJohnShandy`: you need to create a user account with viewer access, and then configure mantis to both enable anonymous access and set that new account as the anonymous user18:15
JohnShandy`alright, thank you18:16
nuclear_eclipseyou're welcome18:17
paul__mm18:23
paul__john18:23
paul__http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=73a2b8fc7c5898ce3561bbb926c050a0218b4cab18:24
paul__need that reverted out of trunk18:24
nuclear_eclipseso `git revert` ? :P18:25
paul__well I did that eralrier i thought18:25
nuclear_eclipseyou only reverted "Update PHPMailer to v5.1 and ADOdb to v5.10"18:26
paul__yes but that was 2 back already18:26
paul__lets see if this works18:27
CIA-27Mantisbt: paul * rd8517d773baf /library/adodb/drivers/ (8 files): Revert "Apply PHP 5.3 compatibility patch to ADOdb 5.10"18:27
paul__nuclear_eclipse: you can fix master-1.2 for this right? :)18:27
nuclear_eclipseI guess so...18:27
paul__good18:27
paul__nuclear_eclipse: it's not reverting back properly18:33
slestakgiallu: thx, i havent loaded up any 1.2 installs so I was just wondering18:34
nuclear_eclipsepaul__: why are we reverting library updates anyways?18:39
paul__because there were mods in the libraries18:39
paul__and as dhx changed structure i've got no way to update it properly :P18:39
nuclear_eclipseoh, so a patched version of the libs was updated with a non-patched version?18:39
paul__correct18:40
nuclear_eclipseok18:40
paul__so i'm trying to revert18:40
paul__so I can update18:40
paul__and then work out how it was patched :P18:40
paul__but atm, i'm getting a diff version of files from my pc to now18:40
paul__i.e. before patch + after reverts18:40
paul__hmmmmmmm18:44
paul__nuclear_eclipse: why's it not reverting back properly18:45
nuclear_eclipsemaybe because you reverted the update before reverting the patch? :P18:46
paul__huh?18:48
nuclear_eclipsewell, if dhx_m moved things around when he updated the libs, you should have reverted the two commits in reverse chronological order...18:49
paul__I thought I was :P18:49
paul__or well18:49
paul__that what I was trying to do18:49
paul__right if I try and revert my latest commit18:50
nuclear_eclipseyou should have reverted 73a2b8fc and *then* reverted f3fdde18:51
paul__let me get a fresh clone18:51
nuclear_eclipsejust don't touch 1.2 yet :P18:51
paul__then i'll rever them all18:51
paul__again18:51
nuclear_eclipseactually, I'm not sure what the problem is, you've reverted both commits now...18:52
nuclear_eclipsejust looked at the emails18:52
paul__in my local source18:52
paul__in pdo drivers18:52
paul__I just have metacolumns()18:53
paul__not the extra bits that should be there18:53
paul__--- C:/mantis/git/mantisbt/library/adodb/drivers/adodb-pdo.inc.phpFri Dec 18 18:30:06 200918:53
paul__+++ C:/mantis/git/mantisbt/library - copy/adodb/drivers/adodb-pdo.inc.phpFri Jun 26 18:22:15 200918:53
paul__-function MetaColumns()18:53
paul__for example18:53
paul__+function MetaColumns($table,$normalize=true)18:53
nuclear_eclipsewait now I'm confused18:53
paul__http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=d8517d773bafd962b260557e7fb6c5a085c52adc18:55
paul__-       function MetaColumns($table,$normalize=true)18:55
paul__+       function MetaColumns()18:55
paul__that does that18:55
nuclear_eclipseso in other words, you and dhx_m have munged up master and 1.2.x? :P18:56
paul__no18:56
paul__wait18:56
paul__i'm fixing atm :P18:56
nuclear_eclipsewhy not just reapply your patches to the new versions of the libs?18:57
paul__I normally use winmerge to review adodb changes and merge changes in18:57
paul__i'm just gonna revert the reverts18:58
paul__then revert the commits18:58
nuclear_eclipse /facepalm18:59
paul__right lets push this and see if i've fixed it :P18:59
paul__part of the problem seems to be19:00
paul__that a fresh checkout is fine19:00
paul__but it's only if you upgrade your repo19:00
paul__out of interest19:00
paul__to check it's not a git bug19:00
paul__what do you have in /library/adodb/drivers/adodb-pdo.inc.php atm?19:00
nuclear_eclipseon which branch?19:00
paul__trunk19:00
nuclear_eclipselemme pull19:01
paul__can i pull from a local branch btw?19:01
nuclear_eclipsemerge you mean?19:01
nuclear_eclipsepull = fetch + merge19:01
paul__from a different head19:01
paul__well i.e. local path19:01
nuclear_eclipseoh, yeah19:02
nuclear_eclipseI have a file in /library/adodb/drivers/adodb-pdo.inc.php19:02
paul__how?19:02
nuclear_eclipseumm, git pull <path/to/repo> <brancH>19:03
* paul__ sighs19:08
paul__can we just set the older thing as like hea19:12
paul__and get on with life19:12
nuclear_eclipsehmm?19:12
paul__well19:13
paul__it's not reverting back right19:13
paul__or more19:13
paul__in fact think i've fixed19:14
nuclear_eclipseyou're making me nervous with all this reverting19:14
paul__HAHA19:14
paul__:)19:14
paul__it's fine19:14
paul__i've fixed it now19:14
tsnfooHas anyone here tried anonymantis?20:18
tsnfooI was looking for good example code for the SOAP interface, but having trouble with it20:19
tsnfoohttp://www.bleepsoft.com/anonymantis/20:20
tsnfooIt can connect to my mantis install, and list projects and categories, but barfs on issue creation20:21
paul__coool20:25
tsnfooOr if anybody has/can point me to example SOAP code, that would be rad20:25
paul__5.10 might fix something20:25
tsnfoopaul__: 5.10 of what?20:26
paul__adodb20:26
paul__sorry :P20:27
tsnfoooh - different thread, I take it...20:27
paul__yea20:27
tsnfooHave you ever used SOAp to create issues?20:27
paul__yes20:28
tsnfooI'll trade you a virtual beer for a look at how you did it ;-)20:28
paul__well I use asp.net :P20:28
tsnfoodrat20:28
tsnfooI was hoping to find someone who'd used PHP on the 1.1.x branch20:29
tsnfooanonymantis is nice, but somewhat old20:29
tsnfooIt gives me an "undefined id" error, so I'm thinking the SOAP API may have changed a bit20:30
tsnfooAs this looks pre 1.120:30
tsnfooI'd hoped there might be example SOAP code in the wiki somewhere20:32
tsnfooIf you know of anybody who has some, I'd be happy to clean/comment/uploa to the wiki20:32
paul__gaming - brb20:40
nuclear_eclipsetsnfoo: you can look at Eclipse Mylyn connector for Mantis, but that's in Java21:27
tsnfoonuclear_eclipse: thanks, I'll take a look21:39
tsnfooI'd like to start getting some code snippets in the wiki21:40
dhx_mpaul__: what patches were there?23:26
dhx_mpaul__: I only saw a single commit (PHP 5.3 compatibility) that patched ADOdb23:27
dhx_mpaul__: to be fair, there was also the TODATE patch... I might have missed that one23:28
dhx_mpaul__: although my main concern is when we make changes like this (and don't have a proper way of tracking upstream progress on committing changes)23:28
dhx_mpaul__: we can introduce our own bugs23:28
dhx_mpaul__: and lose track of exactly which patches need fixing23:29
dhx_mpaul__: hence why I asked for a vanilla checkin of the latest library and then commits on top of that (separate) which have links to upstream's bug reports23:32
dhx_mpaul__: and then we take those patches out in mailbox format and commit the patches as well (?) so that it is easy to see what has been changed and why?23:32
gialludhx_m, amen brother...23:35
dhx_mgiallu: hi :)23:46
paul__hi23:56
paul__dhx_m: yes23:56
dhx_mpaul__: hey23:59
dhx_mpaul__: also remember to revert my sync commit and then resync it yourself after you make changes to the master branch23:59
paul__I find it easier personally to use winmerge :P23:59
paul__or well23:59
paul__adodb needs keeping an eye on23:59

Generated by irclog2html.py