| ../irclogs/#mantishelp.2009-03-30.log | ||
| --- scribe started --- | 00:00 | |
| mantisbot | New bug: Bug 10272 - BlueWall - open - new | 03:13 |
|---|---|---|
| mantisbot | New bug: SMTP Port assignment - http://www.mantisbt.org/bugs/view.php?id=10272 | 03:13 |
| dhx_m | hi | 06:20 |
| dhx_m | hmmm | 06:40 |
| dhx_m | the HTML buttons are placed within a table | 06:41 |
| dhx_m | with 6 columns | 06:41 |
| dhx_m | yet there is no guarantee in place that 6 cells will actually be created | 06:41 |
| dhx_m | oh it doesn't matter ;) | 06:42 |
| dhx_m | I was misreading | 06:42 |
| Kirill_Krasnov | John, when you come, please write me, how I can delete remote branch without deleting local branch with this name. And how I can rename branch? | 07:19 |
| giallu | Kirill_Krasnov, to delete a branch, push an empty one like in: git push origin :experimental | 07:22 |
| giallu | origin is the name of the remote | 07:23 |
| giallu | experimental is the name of the branch you want to delete | 07:23 |
| giallu | Kirill_Krasnov, do you want to rename a local or remote branch? | 07:24 |
| dhx_m | interesting :) | 07:25 |
| dhx_m | I'm learning to use git at the moment so that is a good question for me to hear the answer to | 07:25 |
| giallu | for really authoritative answers on git, I suggest the #git channel. I always found good guys there | 07:27 |
| dhx_m | are you able to advise me on whether this is the correct way to submit patches to Mantis: | 07:28 |
| dhx_m | http://git.mantisforge.org/w/mantisbt/dhx.git?a=shortlog;h=refs/heads/10263 | 07:28 |
| Kirill_Krasnov | giallu: local | 07:28 |
| dhx_m | that is a branch containing a single commit of my change | 07:28 |
| dhx_m | do I need to sign it off? | 07:29 |
| dhx_m | (I couldn't find a --signoff for git commit) | 07:29 |
| giallu | Kirill_Krasnov, git branch -m old new | 07:29 |
| giallu | dhx_m, no, I don't think that's necessary | 07:30 |
| dhx_m | ok thanks :) | 07:30 |
| dhx_m | and is it OK for me to make multiple commits in a feature branch, then post a pull request for that branch when it is 'done'? | 07:31 |
| Kirill_Krasnov | giallu: tnx, rename work. One sec - I test delete remote branch | 07:31 |
| dhx_m | ie. I don't need to merge the entire set of changes within the branch into just one commit? | 07:31 |
| Kirill_Krasnov | giallu: tnx, remote deleted | 07:32 |
| giallu | dhx_m, right, you can leave the commits as they are. | 07:33 |
| dhx_m | good :) thanks | 07:33 |
| giallu | eventually, before pushing to your public branch, you may consider cleaning up the history | 07:33 |
| giallu | but please note the _before_ part | 07:34 |
| giallu | see http://www.gnome.org/~federico/news-2008-08.html#git-rebase-interactive for details | 07:35 |
| dhx_m | aha! thanks for that | 07:37 |
| dhx_m | makes perfect sense ;) | 07:37 |
| mantisbot | New bug: Bug 10273 - Hiverider - open - new | 09:25 |
| mantisbot | New bug: Links with Umlauts to local server - http://www.mantisbt.org/bugs/view.php?id=10273 | 09:25 |
| dhx_m | giallu: I tried to use that technique but received the following error: It looks like git-am is in progress. Cannot rebase. | 09:56 |
| dhx_m | I've currently checked out a branch | 09:57 |
| dhx_m | with 5 commits I want to roll into 1 | 09:57 |
| giallu | and you ware using git-am? | 09:58 |
| dhx_m | not as far as I can remember, I'm asking for help on #git | 10:04 |
| dhx_m | the answer appears to be that I started a rebase, it failed, and then I tried to rebase again in the middle | 10:04 |
| mantisbot | New bug: Bug 10274 - dhx - open - new | 11:06 |
| mantisbot | New bug: Display target release date next to target version - http://www.mantisbt.org/bugs/view.php?id=10274 | 11:06 |
| * daryn_away is away: Gone away for now | 13:46 | |
| mantisbot | New bug: Bug 10275 - helenapplegarth - open - new | 15:27 |
| mantisbot | New bug: Looking to install Mantis on a server that houses business objetcs - http://www.mantisbt.org/bugs/view.php?id=10275 | 15:27 |
| nuclear_eclipse | hi vboctor123 | 16:44 |
| vboctor123 | hey nuclear_eclipse | 16:44 |
| vboctor123 | I was just trying the irc plugin. | 16:45 |
| vboctor123 | for anonymous users, there is an extra | at the end of the menu. | 16:45 |
| nuclear_eclipse | ah, I probably wasn't paying enough attention and didn't return the proper value | 16:46 |
| vboctor123 | I was just thinking that we should probably use the bubble help (title) for menu options. | 16:46 |
| vboctor123 | We should disable the news / manage page in the bug tracker. | 16:48 |
| nuclear_eclipse | vboctor123: off-topic, but did you get a chance to look over bug 9856? | 16:49 |
| mantisbot | Bug 9856 - jreese - open - assigned | 16:49 |
| mantisbot | Implement method for tracking changes to Description, Steps to Reproduce, and Additional Info - http://www.mantisbt.org/bugs/view.php?id=9856 | 16:49 |
| paul_ | nuclear_eclipse: mo | 17:08 |
| * paul_ kicks john hard | 17:09 | |
| nuclear_eclipse | hi paul_ | 17:10 |
| * daryn_away is away: Gone away for now | 17:12 | |
| * daryn_away is away: Gone away for now | 17:12 | |
| nuclear_eclipse | vboctor123: fixed the IRC menu issue and updated the live copy | 17:15 |
| CIA-18 | Mantisbt: jreese * r16b64ab34bf8 /core/filter_api.php: Fix #10082: Deleting a tag breaks any filters using that tag. | 17:19 |
| CIA-18 | Mantisbt: jreese * rc318ed0f70cd /core/ (constant_inc.php php_api.php): Issue #9917: Implemented API to determine if PHP is running as CLI or CGI. | 17:19 |
| CIA-18 | Mantisbt: jreese * r132a31e769bc /core/ (form_api.php session_api.php): Fix #9917: Only use sessions and forms if PHP is running as CGI. | 17:19 |
| nuclear_eclipse | holy crap! | 17:19 |
| paul_ | ? | 17:19 |
| nuclear_eclipse | I think I finally worked out how to get CIA.vc working again now that we use a Git repo | 17:19 |
| nuclear_eclipse | now I just need to wait for the next commit to make sure it works on its own without my prodding | 17:20 |
| paul_ | + # Check to see if this is CLI mode or CGI mode | 17:20 |
| paul_ | :( | 17:20 |
| * nuclear_eclipse is not sure what you're sad about | 17:21 | |
| paul_ | dodgy code | 17:24 |
| paul_ | :) | 17:24 |
| nuclear_eclipse | what's dodgy about it? | 17:24 |
| paul_ | if( php_sapi_name == 'cli' ) { | 17:25 |
| paul_ | so much shorter dont you think? :) | 17:25 |
| paul_ | but yea, I think we should probably use that rather then relying on web server variables which potentially might not be set | 17:26 |
| nuclear_eclipse | I looked for something like that and never found it | 17:26 |
| paul_ | to be fair | 17:27 |
| nuclear_eclipse | I looked for something like that and never found it | 17:27 |
| paul_ | it took me 5 minutes to find just now | 17:27 |
| nuclear_eclipse | urg | 17:27 |
| paul_ | aka 18:19->18:24 | 17:27 |
| nuclear_eclipse | accourding to the PHP manual, those two variables should always be set | 17:27 |
| paul_ | although, I guess the other thing is | 17:28 |
| paul_ | can you use the CLI version of php with fastcgi or something | 17:28 |
| paul_ | i.e. end up with sapi saying cli when it isn't | 17:28 |
| nuclear_eclipse | good question; I've never used FastCGI, so I wouldn't know | 17:28 |
| paul_ | heh | 17:29 |
| paul_ | 13 Mar 2009 ... On Windows IIS 7 you must use $_SERVER['LOCAL_ADDR'] rather than $_SERVER['SERVER_ADDR'] to get the server's IP address. ... | 17:31 |
| paul_ | php.yar.ru/manual/ru/reserved.variables.server.php | 17:31 |
| paul_ | I can't see that on the apge though | 17:31 |
| paul_ | only google search | 17:31 |
| paul_ | which means i might be right about the _SERVER stuff | 17:31 |
| nuclear_eclipse | well, I knew some of the $_SERVER stuff is not reliable, but neither of those two vars mentioned any caveats like the other ones | 17:32 |
| nuclear_eclipse | what did you search for to find that php_sapi_name thing? | 17:33 |
| paul_ | sapi :) | 17:33 |
| nuclear_eclipse | ahh | 17:33 |
| paul_ | well actually: | 17:33 |
| paul_ | a) global variables | 17:33 |
| * nuclear_eclipse knows not enough about what/how SAPI works | 17:33 | |
| paul_ | b) predefined variables | 17:33 |
| paul_ | c) predefined constants | 17:34 |
| paul_ | then saw the word sapi onthere so d) sapi | 17:34 |
| nuclear_eclipse | "Note, that the php-cgi binary can be called from the command line" | 17:35 |
| paul_ | :) | 17:36 |
| nuclear_eclipse | "If so, the php_sapi_name() will always return the same value (i.e. "cgi-fcgi") instead of "cli" which you could expect." | 17:36 |
| paul_ | nod | 17:36 |
| paul_ | you opened can of worms :) | 17:36 |
| nuclear_eclipse | so it seems that $_SERVER is likely the most "reliable" method | 17:36 |
| nuclear_eclipse | I'll just add a second bit to also check for LOCAL_ADDR | 17:36 |
| paul_ | tbh, look at what we do in config defaults atm | 17:36 |
| paul_ | i.e. the url checks and stuff | 17:37 |
| paul_ | i've done this sort of crap before | 17:37 |
| nuclear_eclipse | liar | 17:37 |
| nuclear_eclipse | no mention of LOCAL_ADDR in config_defaults | 17:37 |
| nuclear_eclipse | which is yet another reason I'd assumed that was a reliable check | 17:38 |
| paul_ | could just user SERVER_PORT or something | 17:39 |
| paul_ | hmm | 17:39 |
| paul_ | actually | 17:39 |
| paul_ | is $_SERVER empty array from command line? | 17:39 |
| nuclear_eclipse | no | 17:40 |
| nuclear_eclipse | $_SERVER contains argc/argv, PHP_SELF and SCRIPT_*, plus all environment variables | 17:40 |
| paul_ | nod | 17:40 |
| paul_ | does argc/argv exist for webscripts? (I assume yes?) | 17:41 |
| nuclear_eclipse | even argc/argv is not reliable though, because there's a php.ini option to set those with GET params | 17:41 |
| paul_ | i'd be tempted to do isset( SERVER_PORT | SERVER_SOFTWARE | SERVER_HOST | 17:41 |
| paul_ | or whatever | 17:41 |
| nuclear_eclipse | this is what I had planned now: | 17:42 |
| nuclear_eclipse | if ( ( isset( $_SERVER['SERVER_ADDR'] ) || isset( $_SERVER['LOCAL_ADDR'] ) ) | 17:42 |
| nuclear_eclipse | && isset( $_SERVER['REMOTE_ADDR'] ) ) { | 17:42 |
| nuclear_eclipse | paul_: does that seem reasonable to get around IIS? | 17:53 |
| nuclear_eclipse | or do you think that's still not enough? | 17:53 |
| paul_ | can't we just do 3 ||'s | 17:53 |
| paul_ | (it was the user of && that I picked up on) | 17:53 |
| nuclear_eclipse | ok, sure | 17:54 |
| nuclear_eclipse | if ( isset( $_SERVER['SERVER_ADDR'] ) | 17:55 |
| nuclear_eclipse | || isset( $_SERVER['LOCAL_ADDR'] ) | 17:55 |
| nuclear_eclipse | || isset( $_SERVER['REMOTE_ADDR'] ) ) { | 17:55 |
| nuclear_eclipse | happy with that? | 17:55 |
| * paul_ nods | 17:56 | |
| paul_ | :) | 17:56 |
| nuclear_eclipse | k | 17:56 |
| paul_ | next week :) | 17:56 |
| paul_ | mantis week | 17:56 |
| paul_ | :) | 17:56 |
| nuclear_eclipse | hmm, I guess the CIA script didn't work =\ | 17:58 |
| paul_ | ;/ | 17:58 |
| paul_ | now can we move on to scripts | 17:58 |
| paul_ | pm :) | 17:58 |
| CIA-18 | Mantisbt: jreese cia * rdb21177ff598 /cia: Testing CIA. | 18:14 |
| nuclear_eclipse | hooray! | 18:15 |
| [KK]Kirill | nuclear_eclipse: Tnx John, last trank work | 18:32 |
| nuclear_eclipse | you're welcome | 18:37 |
| [KK]Kirill | John, who can add link to jebber community on support page? | 18:38 |
| nuclear_eclipse | it has to be added to the website source code, see mantisbt-web.git on git.mantisbt.org | 18:39 |
| bartik | dhx_m about that mitm solution for pgp any recommendations ? I did try the gpgrelay but thats for windows and it didn't work for me (with IMAP). Would love to hear hear about something for *nix. | 20:37 |
| CIA-18 | Mantisbt: s.mazeland * r667f20ddb9e9 / (9 files in 3 dirs): Merge branch 'master' of git://mantisbt.org/mantisbt | 20:53 |
| CIA-18 | Mantisbt: s.mazeland * r3e9f9ab78e25 /lang/ (62 files): Remove '\n' from messages. | 20:53 |
| _kamera_ | any idea if in the summary page the Reporter stats is somehow limited in the number of records it shows? what's the parameter one can change to see the sql queries at the bottom of the page..some special debug mode.. | 21:00 |
| nuclear_eclipse | _kamera_: $g_show_queries I believe | 21:06 |
| _kamera_ | thanks. | 21:09 |
| _kamera_ | BTW any idea why mantis doesn't use parameterized queries instead of plain dynamic sql ? | 21:10 |
| nuclear_eclipse | we do for the upcoming 1.2.x releases | 21:13 |
| CIA-18 | Mantisbt: s.mazeland * r7c5892c95e6a /lang/ (11 files): Localisation updates from http://translatewiki.net (2009-03-30 21:06 UTC) | 21:16 |
| paul_ | nuclear_eclipse: you on9.04? | 21:17 |
| nuclear_eclipse | yep | 21:17 |
| nuclear_eclipse | only for my laptop, but yes | 21:17 |
| _kamera_ | nuclear_eclipse: are there any published stats on performance diff between dynamic and parameterized queries for mantis? | 21:20 |
| nuclear_eclipse | not that I know of | 21:20 |
| paul_ | only some db's support it | 21:21 |
| _kamera_ | are there multiple instances of queries (for db's that support parameterized queries and for those that dont?) | 21:22 |
| paul_ | adodb library tends to handle that | 21:22 |
| paul_ | tbh, you'll probably notice more of a performance diff (if there is one) from where we've tided up the number of queries we run in some cases. | 21:23 |
| _kamera_ | cool.. adodb sounds like a neat thing.. i'm wonder if it works well with memcache, i.e. no changes to php code, just set something in adodb | 21:24 |
| paul_ | hmm flawed statement | 21:26 |
| _kamera_ | the memcached thing? | 21:26 |
| paul_ | you used the words adodb and neat and well in the same sentence | 21:27 |
| paul_ | anyway. | 21:27 |
| paul_ | yes, adodb is nice actually, it's just kinda a pain sometimes | 21:27 |
| paul_ | adodb does have some stuff for memcache | 21:27 |
| paul_ | may I ask, | 21:27 |
| paul_ | are you finding you *need* memcache atm? | 21:27 |
| _kamera_ | nope.. (not for my measly 25 users).. but just something to think about for other projects | 21:28 |
| _kamera_ | just curious have people done load/stress testing on mantis ? is there a site that shows this stuff for every build? | 21:33 |
| paul_ | not to that organised extent | 21:33 |
| paul_ | I tend to be the one that's most pedantic recently about trying to improve performance in some areas | 21:33 |
| nuclear_eclipse | _kamera_: for an example, mantisbt.org has over 10000 issues reported, and well over 1000 users, and runs rather well on a relatively small virtual server | 21:34 |
| paul_ | what we dont have is many projects | 21:35 |
| paul_ | nor sub-projects :) | 21:35 |
| paul_ | nuclear_eclipse: talking of which | 21:35 |
| paul_ | nuclear_eclipse: where did we get to! | 21:35 |
| nuclear_eclipse | true, but that's probably representative of most MantisBT sites... | 21:35 |
| paul_ | did you fix tags sql ? :) | 21:36 |
| nuclear_eclipse | not yet, make a bug report and assign it to me | 21:36 |
| nuclear_eclipse | I told you to do that last time; otherwise it slips my mind | 21:36 |
| * nuclear_eclipse heads home | 21:36 | |
| paul_ | it tends to unslip your mind each time i try to fix it :) | 21:36 |
| nuclear_eclipse | paul_: that's because every time you "fix" it, it breaks in some other manner | 21:37 |
| * nuclear_eclipse will be back shortly | 21:37 | |
| mantisbot | New bug: Bug 10276 - dplinnane - open - new | 21:49 |
| mantisbot | New bug: The assign to button does not show all users - http://www.mantisbt.org/bugs/view.php?id=10276 | 21:49 |
| nuclear_eclipse | back | 22:00 |
| paul_ | wb | 22:00 |
| nuclear_eclipse | anyways, the last time you "fixed" it for MSSQL, your new query didn't include any tags that weren't already attached to any issues | 22:03 |
| nuclear_eclipse | that's when I changed it to work in a way that I *thought* worked for MSSQL, only I didn't know just how retarded MS made their query language | 22:03 |
| paul_ | :) | 22:03 |
| mantisbot | New bug: Bug 10277 - siebrand - open - new | 22:34 |
| mantisbot | New bug: Creating tag with empty name gives "Operation succesful" - http://www.mantisbt.org/bugs/view.php?id=10277 | 22:34 |
| milliams | Sorry, I got disconnected. Did my question get through? | 22:43 |
| paul_ | nope | 22:43 |
| milliams | Ok | 22:46 |
| milliams | I realise this is an often asked question (given reports like http://www.mantisbt.org/bugs/view.php?id=9379) but what is the administrator password after installation? | 22:46 |
| milliams | And where would I have been told it during installation? | 22:47 |
| paul_ | root iirc | 22:48 |
| paul_ | or admin | 22:48 |
| nuclear_eclipse | milliams: it's 'root', and the only place where we currently mention that is in the manual | 22:53 |
| siebrand | nuclear_eclipse: on 10277: fine by me. Nearby that code: * mantis_tag_table.name (100): has maxlength="100", but no protection in code | 23:01 |
| siebrand | (that's from #7400) | 23:01 |
| nuclear_eclipse | hmm | 23:01 |
| CIA-18 | Mantisbt: s.mazeland * r52e15804c4f3 /manage_tags_page.php: Correct maxlength from 128 to 100. Database field is no longer. | 23:02 |
| siebrand | well, NOW it has maxlength 100 :) It had 128. | 23:02 |
| nuclear_eclipse | hmm, technically that field should not have *any* maxlength, considering that you can insert many tag names separated by commas.... | 23:04 |
| nuclear_eclipse | I guess I missed that in reviewing my co-worker's code... | 23:04 |
| CIA-18 | Mantisbt: s.mazeland * r86dbee671e17 /core/excel_api.php: Fix #0007472: [th] Thai chars are broken on Excel export; column header doesn't show | 23:08 |
| siebrand | wow, closing a lot of encoding related issues is easy now that we are using UTF-8. Yay! | 23:09 |
| nuclear_eclipse | hehe | 23:09 |
Generated by irclog2html.py