Thursday, 2009-06-04

../irclogs/#mantishelp.2009-06-04.log
--- scribe started ---00:00
mantisbotNew bug: Bug 10560 - anthropic - open - new04:42
mantisbotNew bug: Configuration Arrays - http://www.mantisbt.org/bugs/view.php?id=1056004:42
TestingI need to change some fields in Mantis06:42
Testinghow could I change it... for example I dont need the 'Reproducibility'06:43
Maxim1hi07:41
Maxim1how can I configure mantis to send sms messages on new bug reports ? (using php and phpmailer)07:43
[KK]KirillMaxim1: lo.07:52
[KK]KirillMaxim1: I ask you yesterday07:53
Maxim1[KK]Kirill:  I didn't get your question , what operator support ?07:55
[KK]Kirilloperator must support send sms via email07:55
Maxim1but what do you mean by "operator" ? php ? phpmailer ?07:56
[KK]KirillFor example Beeline (GSM operator) support this 89062311111@sms.beeline.ru redirect text-mail to sms07:57
Maxim1o do you mean mobile phone operator ?07:57
[KK]Kirillyes07:57
[KK]Kirillphp don't support sms07:57
[KK]Kirill:)07:57
Maxim1today every phone supports sms and mms07:58
[KK]Kirilltoday all phone support email :)07:58
Maxim1could you link me to how could I configure mantis to do it ?07:58
Maxim1I've seen a program called mantis pager , don't know if it works as it's only 0.0.1 version07:59
Maxim11.5 years old08:00
[KK]KirillMaxim1: what you mean about configure mantis to do it?08:00
Maxim1to send sms messages on new bugs08:01
[KK]Kirilladd new administrator. set him email-adres with email, witch support redirect to sms.08:02
Maxim1only admins can receive sms's ?08:02
[KK]Kirillnot.08:03
Maxim1ok, when the email addr is set , I need to configure something in my exchange 2003 account ? (sorry we use exchange for emails :( )08:04
[KK]Kirill$g_notify_flags['new']['threshold_min'] = DEVELOPER;08:05
kenguestMaxim1: pear/net_sms08:19
Maxim1kenguest:  please explain more...08:21
kenguestMaxim1: if you're feeling up to it you could use the net_sms package from the pear repository @ http://pear.php.net/package/Net_SMS08:43
Maxim1kenguest:  would I need to configure an account for each user/number on some external website ? or will it work without external accounts ? is sending sms  free ?08:44
Maxim1kenguest:  is it this package : http://rpm.pbone.net/index.php3/stat/4/idpl/12059087/com/perl-WWW-SMS-0.09-1.el5.rf.noarch.rpm.html  ?08:49
kenguestno. it's a pear package - so it's written in php08:52
Maxim1kenguest:  but it is a peral package, it's just rpm but the package is there , the name suites except the www08:54
kenguestMaxim1: read the main page: "PEAR is a framework and distribution system for reusable PHP components. "08:56
kenguestnot perl or pearl08:57
kenguestor however you want to spell it ;)08:57
Maxim1ok , kenguest do I need to register an external account to use it ?08:58
kenguestno. just either download the code or use the pear command to install it09:03
Maxim1the sms sending is free ?09:04
kenguestthat depends on the operator that you configure it to use, I think09:09
mantisbotNew bug: Bug 10561 - Buga - open - new09:33
mantisbotNew bug: wrong path for internal mantis redirects - http://www.mantisbt.org/bugs/view.php?id=1056109:33
mantisbotNew bug: Bug 10562 - Jimi_Joma - open - new11:39
mantisbotNew bug: Printing Bug does not work with configuration $g_show_view= SIMPLE_ONLY; - http://www.mantisbt.org/bugs/view.php?id=1056211:39
Maxim1is it possible that all bugs submitted to the mantis will also "synchronize" with bugzilla ?12:09
nuclear_eclipseMaxim1: not currently12:15
Maxim1nuclear_eclipse:  thanks for answering ... so it's not possible that bugs submitted to mantis be "forwarded" or something to bugzilla ? (have to make sure).12:17
nuclear_eclipseit could be implemented using the new plugin system for 1.2, and indeed has been raised as a requested feature (also Launchpad integration), but there is no implementation yet12:18
CIA-61Mantisbt: s.mazeland * raec020715d0d /lang/strings_english.txt: 'bug' to 'issue' for 8 remaining cases. Sloppy us. Thanks to Jorge Andr?s Brugger for making us aware of this.12:18
Maxim1nuclear_eclipse:  thanks , are there any estimation when will it be implanted ?12:19
nuclear_eclipseMaxim1: see bug 10543 for the most recent request12:19
mantisbotBug 10543 - oberger - open - new12:19
mantisbotProposal: Relationships to external bugs in remote bugtrackers - http://www.mantisbt.org/bugs/view.php?id=1054312:19
nuclear_eclipseMaxim1: no plan yet12:19
Maxim1thanks12:21
nuclear_eclipsepaul_: found a date problem; updating versions destroys their timestamp12:27
Maxim1I am no expert here , I use mantis and bugzilla equally (meaning almost never use them , just setup mantis a few days ago) , what are the pros/cons of mantis vs bugzilla ?12:45
nuclear_eclipseas I see it, mantis is more configurable/flexible, and has more features; bugzilla is more popular, has a larger development team, which means fewer bugs and problems, and more themable12:46
Maxim1yeah our "main" bugtracker is bugzilla , but we needed an "external" bugtracker for our program, so I configured mantis for this job - not bad at all I must say.12:48
nuclear_eclipsehowever, I also think mantis is a lot easier to use for actually viewing and managing all the issues reported; bugzilla always seemed to me to have an awkward interface and workflom12:48
nuclear_eclipseworkflow*12:48
Maxim1yeah it wasn't piece of cake to setup mantis (specially that I had to hunt down all packages and deps one by one via rhn) but after the installation it wasn't that hard to setup it.... had only 2 problems that I've overcome once I undertood where is the problem12:52
nuclear_eclipsewhat dependencies?12:52
Maxim1many...some perl libs, php , httpd, mysql , the usual12:53
nuclear_eclipseoh, ok12:53
nuclear_eclipsedidn't realize you were including db/web server as dependencies :P12:53
Maxim1then I had to find some dep for graphs and make changes in the conf file12:54
Maxim1nuclear_eclipse:  yeah well, it was a clean install12:54
Maxim1I also documented it all in our company's wiki so it will be much easier next time ;)12:55
Maxim1the "major" problem I had was in the httpd.conf file , it wasn't documented anywhere that I had to include the path to mysql database in the "documents" section so it ill react much faster - ofc this is very logical but still12:56
Maxim1I've been in this channel for 2 days and asked "what could go wrong" none answered because my question was too global.12:57
nuclear_eclipsemy apologies12:59
Maxim1don't blame anyone13:00
Maxim1it's just something that needs to be documented somewhere , even if it's not directly mantis related but mysql13:01
nuclear_eclipseI've never had to specify that in my apache configs...13:02
siebrand'git diff' on windows is giving a load of 'null diffs' on phpmailer. Even after deleting the folder, and reset --hard.13:12
siebrandAny ideas on how to get rid of them? (I assume it has something to do with unix vs. dos line endings)13:13
nuclear_eclipsesorry siebrand, not a clue13:13
irenedakotahi13:47
nuclear_eclipsehello13:47
irenedakotaI'm playing around with 1.2 and all the dates are set to 1970...13:49
irenedakotaknown issue or something I'm doing wrong?13:50
nuclear_eclipseirenedakota: it's probably a result of the recent changes made to the way dates are stored in the database13:51
nuclear_eclipsemake sure you run a schema upgrade13:51
nuclear_eclipseeg, visit /admin/install.php13:51
irenedakotaAlright. It was a fresh install of 1.213:51
nuclear_eclipseoh, ok13:51
irenedakotaSo, any where in particular I should start looking?13:53
nuclear_eclipsedepends on what you're looking for :P13:56
irenedakotaWell, I suppose I'd be looking for the cause of the trouble13:57
nuclear_eclipsethat's what I'm currently trying to figure out; the problem is more that paulr changed the format of how dates are stored, and didn't actually implement a method of converting user input into the new integer format....13:58
irenedakotaI just did a installation check, and it had quite a bit of "bads"13:59
irenedakotaAh, working now14:02
irenedakotaI think I know what happened14:03
irenedakotaI originally installed it from the 1.2.0a3 link on the main site, and then I pulled in the latest version from mantiforge. Obviously the time change happened between the two14:05
nuclear_eclipseah, right14:05
nuclear_eclipsehence the need for the schema upgrade :P14:05
[KK]Kirillsiebrand: what troubl with git on windows?14:06
irenedakotaYup.14:06
[KK]Kirillpaul_: You around?14:06
[KK]KirillWhat with bug 10369?14:06
mantisbotBug 10369 - Kirill - open - assigned14:06
mantisbotVerification link not work - http://www.mantisbt.org/bugs/view.php?id=1036914:07
* nuclear_eclipse kicks paul_ 14:49
[KK]Kirillnuclear_eclipse: paulr_ is apsend14:52
nuclear_eclipsehe always is when I've discovered his bugs...14:54
CIA-61Mantisbt: jreese * r7104a343a09d /core/version_api.php: Fix #10558: Fix roadmap and changelog ordering bug as introduced in commit ref 0ac196a4.15:03
sshirleyHi everyone. I am currently running Mantis 1.1.0. In terms of new features and bug fixes, would it be worth it for me to update to the latest stable (1.1.7) or wait until the 1.2.x gets out of development?15:10
nuclear_eclipsesshirley: there are a *lot* of security issues fixed in the 1.1.7; I highly recommend that you upgrade asap15:10
sshirleyEven if nothing else runs on that machine besides Mantis?15:12
nuclear_eclipseright, it's security issues that could possibly allow someone to gain escalated privileges on your mantis install15:13
nuclear_eclipsewhich at that point, could potentially open other security issues based on the configuration settings the user could then manipulate, etc15:13
sshirleyOk. I'm looking at the upgrade documentation right now and it doesn't look too tough to do this. Basically backup my files, unzip the new install into the directory, copy over all the config files (config_inc.php, config_defaults_inc.php, custom_*.php) into the new directory, and viola. Now mention of different database schema. Everything in the DB should be fine?15:20
nuclear_eclipseright15:20
nuclear_eclipsebetween point releases, there are no db schema changes "allowed"15:20
sshirleyExcellent15:22
sshirleySourceforge is acting funky right now. Can't get 1.1.7.15:38
sshirleyBack up15:39
nuclear_eclipseyou can get a copy from Git15:39
sshirleyAh15:39
nuclear_eclipsehttp://git.mantisbt.org/?p=mantisbt.git;a=commit;h=b127306f8c06fafe206f27a60bd55716320ba00d15:39
nuclear_eclipseeither checkout, or just grab a snapshot15:40
CIA-61Mantisbt: jreese live * r924d5897f293 /core/bugnote_api.php: Fix #10544: Fix bugnote order and limit when generating emails.15:49
CIA-61Mantisbt: jreese * r4fc213a34c55 /core/bugnote_api.php: Fix #10544: Fix bugnote order and limit when generating emails.15:49
CIA-61Mantisbt: jreese * r845925e4c2c6 / (core.php core/events_inc.php): Added event CORE_READY to signal a point for plugins to begin processing with API's loaded and the system initialized.15:49
sshirleyHi all. I am running version 1.1.0 and 1.1.7 on the same machine. I can log into 1.1.0 no problem. But when I try 1.1.7, I get a application error #2700 "Invalid session handler". What gives?16:56
nuclear_eclipsemeans you've incorrectly set $g_session_handler in your config_inc16:59
nuclear_eclipse$g_session_handler = 'php' is currently the only valid handler16:59
sshirleyIn the 1.1.7? I'm in the config_inc.php and I don't see that. Perhaps config_default_inc.php?17:02
nuclear_eclipseconfig_defaults should already be set to 'php'17:03
sshirleyGreat. Thanks nuclear_eclipse!17:19
paul_nuclear_eclipse: mo?17:33
nuclear_eclipsehowdy17:33
paul_hi17:33
paul_whats up17:34
nuclear_eclipsedates are quite broken17:35
paul_probably17:35
nuclear_eclipseor rather, handling user-input dates is quite broken17:35
paul_in what17:35
nuclear_eclipseanywhere that requires the user to enter a date string17:35
paul_and i'll look to see if i've already fixed locally17:35
paul_with the jscript calendar or without?17:36
nuclear_eclipsenothing ever converts the user-input date string back to an integer to store in the database17:36
nuclear_eclipseeither way17:36
paul_i was fixing the jscript ones17:39
paul_that had to stop whilst I waited for you :P17:39
nuclear_eclipsewhy were you waiting on me?17:39
paul_config api fix :P17:39
nuclear_eclipseah17:40
nuclear_eclipsethat's been fixed for days now, wth?17:40
* nuclear_eclipse snaps a whip17:40
paul_40MB would be a good min memory limit to suggest to users17:40
nuclear_eclipseeven 32M seems perfectly usable, in my experience, unless it's a really gigantic install17:41
paul_moodle + joomla require 40mb17:41
nuclear_eclipseso/17:41
paul_anyway, ram's cheap17:42
paul_imo it's silly to be running php with some really low llimit17:42
paul_mediawiki suggests 20 i think17:43
nuclear_eclipsewell, it's not silly for a small site/server running on a VPS...17:43
paul_sure17:44
paul_otoh17:44
paul_if a request users more ram and is faster17:44
nuclear_eclipsebut gratned, a small site/server is not likely to be hosting a gigantic installation :P17:44
paul_that might be better then using less ram, taking longer and having more requests being processed17:44
paul_MediaWiki needs sufficiently memory to work. The minimal limit should be something like 20 Mo, but if you want MediaWiki to work correctly, consider using at least 50 Mo.17:45
paul_so basically17:45
paul_mediawiki/joomla/moodle are all saying 40mb17:45
paul_drupal was saying 16 or 20 i beleive17:45
* paul_ wonders what else people run17:45
paul_phpbb says 16m min17:46
* nuclear_eclipse runs 24mb on VPS17:46
nuclear_eclipseand that hosts a WordpressMu install and other PHP apps as well as Mantis17:46
paul_but i think you might find that's too low soon17:47
paul_from what I can tell17:47
paul_in php5.317:47
paul_the memory limit is going to start including mysql memory usage (for the client) at least for some drivers17:47
nuclear_eclipseugh17:47
paul_well17:48
paul_that's arguably more accurate17:48
nuclear_eclipsebtw, what opcode caching system do we use on mantisbt.org?17:50
paul_apc17:51
nuclear_eclipseurl?17:52
paul_http://pecl.php.net/package/APC17:52
nuclear_eclipsety17:52
nuclear_eclipseI'm wanting to propose that to our IT because they insist on running the web server from files over NFS, which kills performancne on Mantis with how many files it uses...17:53
paul_hmm17:53
paul_I changed an ordr by?17:53
nuclear_eclipseno, you never added one17:54
paul_i'm confusing my working dir17:55
nuclear_eclipseyou added caching to version_api, but didn't use an order by clause, which "broke" roadmap/changelog because they were expecting data as sorted by the API, and caching everything first resulted in that data not being in the correct order17:55
paul_ahh17:55
paul_and probably why I didn't spot it then17:55
paul_if a plugin uses a library17:56
paul_should library live in /library?17:56
paul_or /plugin/foo/library ?17:56
paul_I assume in /library17:56
nuclear_eclipseif it's a library used by mantis, it should be in /library; if it's specific to the plugin, it should be in a subdirectory of  the plugin17:56
paul_i'd be inclined to disagree abit there17:57
paul_as if it's a 3rd party library, we dont want >1 copy of it17:57
nuclear_eclipseI wouldn't; admins a) shouldn't be messing with mantis' /library, b) necessary libraries should be included with the plugin, or c) plugins should try to see if the library is already loaded or not17:58
nuclear_eclipseor d) make a plugin that does nothing but provide that library, eg, jQuery plugin17:58
* paul_ thinks that shouldn't be a plugin17:58
nuclear_eclipsepoint being that multiple plugins can declare a dependency on the jQuery plugin, and then there's only one copy of the dependency17:59
paul_sure, but my point is, for something like jquery that we might want to use in core and for a jscript library18:00
paul_we shouldn't have the overhead of php18:00
nuclear_eclipsewell, yes, but that's an orthogonal issue18:00
paul_similarly18:01
nuclear_eclipsethe jQuery plugin atm is just a stopgap until we make a final decision on including jQuery in core18:01
paul_if plugins refer to /library/jquery18:01
paul_or whatever18:01
paul_that should make life easier for packagers18:01
paul_who can set up symlinks or whatever18:01
nuclear_eclipsenot really18:01
paul_then if each plugin has a copy of library18:01
paul_and potentially different versions etc18:01
nuclear_eclipsethat's why I say that a library dependency would be better as its own plugin that multiple others can list as a dependency, resulting in only one copy18:02
nuclear_eclipseand the way I propose doesn't require mantis admins to muck about with finding/downloading/moving dependencies into mantis's primary /library/18:02
paul_brb18:03
paul_if i work on graphs branch tonight18:03
paul_you should be able to look a bit later18:03
nuclear_eclipseplease work on dates first18:03
nuclear_eclipsedates *really* need to be fixed for any weekend release18:04
nuclear_eclipsegraphs are ancillary fluff18:04
paul_thursday today/18:04
nuclear_eclipseyes?18:04
paul_right18:04
paul_dinner brb18:04
paul_bk18:15
paul_nuclear_eclipse: did you have a summary?18:16
nuclear_eclipseof what?18:16
paul_what i'd broken ;p18:17
nuclear_eclipseproject/version dates, due date field, custom date fields (i think), and any other place that lets the user input a date string18:17
[KK]Kirillpaul_: lo18:18
paul_hi18:22
nuclear_eclipsepaul_: http://admin.leetcode.net/apc.php18:36
nuclear_eclipseany suggestions for how to optimize APC configs for a VPS with 360MB memory18:36
irenedakotaGet more? :P18:37
paul_heh18:38
irenedakotaI'm paying for a 256mb VPS and getting a 1GB VPS :)18:39
paul_nuclear_eclipse: step 1: probably run the newer version18:39
nuclear_eclipsepaul_: step0: get Ubuntu to include the newer version in their packages ;)18:46
* nuclear_eclipse makes a mental note to upgrade to Jaunty18:49
nuclear_eclipsewell, Jaunty is only on 3.0.19...18:51
paul_nuclear_eclipse: hmm19:40
paul_nuclear_eclipse: you gone for the night?19:51
nuclear_eclipsepaul_: not yet19:52
paul_in which case19:55
paul_how do plugins config work19:55
nuclear_eclipseplugins define their default configuration values within their ->config() call, those can be overridden by values in the db via plugin_config_set()19:57
paul_brb game19:57
paul_what day are we aiming for?19:58
nuclear_eclipsewould like to have it out on saturday if possible20:01
paul_lol20:01
CIA-61Mantisbt: jreese * r415b97129196 /core/session_api.php: Fix #10559: Implemented session_delete().20:02
paul_jreese: why;/20:12
nuclear_eclipsebecause it was part of the original session_api design, I had just never implemented the wrapper function20:13
paul_I partly feel we shouldn't have foo_bar { foo->bar() } wrappers20:22
nuclear_eclipsewell, it's the simplest way to handle singletons that require special initialization :P20:23
paul_nuclear_eclipse: out of interst, why do we have users reporting bugs on that?20:43
nuclear_eclipsegood question20:44
nuclear_eclipsethat was actually my first thought, but I assume it's probably to do with plugins and/or custom functions20:44
CIA-61Mantisbt: jreese * r2b07479de61f / (4 files in 2 dirs): Fix #10217: Implemented configurable action button position.20:59
paul_need to work out how both works now21:00
nuclear_eclipsetime to head home21:01
nuclear_eclipsecheers21:01

Generated by irclog2html.py