Friday, 2010-06-11

../irclogs/#mantishelp.2010-06-11.log
--- scribe started ---00:00
slestaki am having difficulty with a 1.16 to 1.2.1 upgrade.  I am getting a 403 Forbidden on install.php12:39
nuclear_eclipseslestak: sounds like a permissions issue with your web server12:48
nuclear_eclipseie, do you need to chmod the file to world readable, or do you have a configuration directive preventing access to /admin/?12:49
slestakI dont have /admin/ mentioned at all in apache.conf  I will be honest that i am not a web admin.  My mantis is only on our intranet.13:22
slestakcan I pastebin the relevant section maybe?13:22
nuclear_eclipsesure13:25
nuclear_eclipseslestak: you could also try running `chmod -R go+rX /path/to/mantisbt` to make sure read permissions are set13:26
slestaki checked the perms on the files and they are 644 for my user:user13:27
slestaki thnk they should be owned be the apache user?13:27
slestakbut 644 still gives world readable13:27
nuclear_eclipseyeah, 644 should be sufficient13:28
slestakokay, the chmod helped, I am at least exeuting sth now.  Got app error 40113:29
slestakDatabase query failed. Error received from database was #1146: Table  'bugtracker.mantis_plugin_table' doesn't exist for the query: SELECT  COUNT(*) FROM mantis_plugin_table WHERE basename=?.13:29
nuclear_eclipseunless you're running SELinux or AppArmor, in which case there might be some other ACLs in place that you need to take into consideration13:29
slestaklet me rtfm again, ty for getting me poast that perms bump13:29
slestaktere may be, I just dist upgraded ubuntu server13:29
slestakthat looks like check.php is lookign for plugin table.  I have not run install.php yet so my 1.1.6 db wont have the new tables13:31
slestakits working now13:32
nuclear_eclipseslestak: congrats :)13:32
slestaknuclear_eclipse: ty again for your fine project.  my office is shopping for help desk software, but I am going to try to hold on to my mantis with a tight grip (at least for developers).13:33
slestakmy helpdesk ppl and hardware ppl dont want to use it though13:34
nuclear_eclipsehehe13:34
nuclear_eclipsegood luck on that :)13:34
slestakwhich is ok, there is not asset management and whatnot that they are asking for.  im hoping we can keep both13:34
slestakone feature thay are not able to provide for me with the packages they are looking at is vcs integration.  I hope that will be enough to keep what i have.13:35
nuclear_eclipseslestak: have you seen the VCS integration plugins available for 1.2?13:41
slestaki am looking at the site now, but most of what I see is docs from 2008 and back13:42
slestakis mantisforge or mantisbt the best site to check?13:42
slestakI have checked both and I do not see a contrib section with plugins13:44
slestaki see some things on svn.  hoping to see hg soemwhere.13:45
nuclear_eclipsegit.mantisforge.org has a list of plugins available as git repositories13:47
nuclear_eclipseI wrote a set of VCS integration plugins based around a generalized framework13:48
nuclear_eclipseit currently supports SVN and Git, and just needs someone familiar with Hg to write a plugin for it :)13:48
nuclear_eclipsedhx_m wrote a first draft plugin for Hg, but iirc he never got around to updating it for some of the framework redesigns I made13:49
nuclear_eclipseso maybe you could get in touch with him about finalizing that plugin, and then I can include it in the main repo/release13:49
slestaki am not a vcs pro, trying to implement it in my shop.13:52
slestaki will look for the work that is started and see what remains to be done.13:53
nuclear_eclipseslestak: iirc, dhx_m's plugin was more or less did a scrape of an hgweb install, so it didn't actually work with the hg command13:54
nuclear_eclipseI'll see if I can dig up the WIP code13:54
nuclear_eclipseah ha: http://git.mantisforge.org/w/source-integration/dhx.git13:56
nuclear_eclipseit looks like he updated it a few months ago for the redesign while I wasn't paying attention13:56
slestakdid he bail so we dont hav eto discuss it :)13:57
nuclear_eclipsehehe13:58
nuclear_eclipsedamn aussies13:58
slestakthats a beaut!13:58
nuclear_eclipsethink they have some excuse about being on the other side of the world13:58
nuclear_eclipseslestak: at a glance, it looks like the latest form of his plugin might actually work correctly with the framework, assuming you have a publicly-accessible hgweb install for each repo you want to integrate13:59
slestakat a minimum, I think I would like to append a list of changesets to an issue14:00
slestakwould rahter they not be a comment field.  Have you ever seen teh Files Modified plugin for Trac?14:00
nuclear_eclipseslestak: you can see an example of what the integration plugins do on the tracker at mantisbt.org, or on my tracker at http://leetcode.net/mantis14:01
slestakty14:01
nuclear_eclipseI personally disliked the old approach of "note per commit", thought it was both ugly and mostly useless14:02
slestakyes14:02
nuclear_eclipsethese plugins actually track a lot of the commit metadata in the database so that it can be attached to multiple issues, be searchable, etc14:03
nuclear_eclipseit can quickly balloon your database though if you're importing repos with really large histories, but it generally doesn't affect performance unless you're explicitly searching/browsing changeset data14:04
slestaki liek the Repo tab.  What I am considering is a block in the ticket for Changesets14:07
nuclear_eclipseyep, that's already there :)14:09
nuclear_eclipsehttp://leetcode.net/mantis/view.php?id=14414:09
nuclear_eclipsethat's an issue that has an attached changeset14:10
nuclear_eclipseactually, it's also a good example of some of the optional automation you can use with the framework14:10
nuclear_eclipsewhen I committed to the repository, it was able to automatically set the fixed-in version, resolve the issue, and add a bugnote, just based on the changeset's commit message14:11
slestakthat is exactly what I have been describing to my people14:16
nuclear_eclipse:)14:16
nuclear_eclipsewb dhx_m14:16
slestaki have had to walk around my office asking "did you change this", "are you sure"14:16
slestakfor entirely too dang long :)14:16
nuclear_eclipsehehe14:20
nuclear_eclipseI just like being able to a) go back and easily find the changesets for a bug report, and b) being able to automate some tasks just by committing with specific message patterns14:21
nuclear_eclipseand of course, being able to do all that from any type of VCS I'm using14:21
slestakand also be able report easily on all the projects that have touched module foo14:22
nuclear_eclipseyep14:22
slestakthx, this is what i was lookign for.14:23
nuclear_eclipseyou're welcome14:23
slestakdhx_m: do you want some assistance with the hgqweb plugin?  I am not a dev but I would be glad to test14:23
slestakhgweb*14:23
nuclear_eclipsemaybe you should just convert everything to Git ;)14:24
nuclear_eclipse /shameless plug14:24
nuclear_eclipsetime to go to a meeting14:25
nuclear_eclipseslestak: feel free to ping me here anytime, on the developer mailing list, or report a bug on my tracker if you have any issues with the plugins14:25
slestaki think in teh long run we all have to have a working knowledge of git|hg|bzr14:40
slestaki actually prefer bzr, but have issue installing it on my aix box.  Hg is already installed.  I have a very loose environemnt here with some kickback on all of this so I think git may be too much for them.  I am counting on Tortoise to make any vcs palatable to them14:41
dhx_mnuclear_eclipse: hi :)15:04
dhx_mslestak: testing should be OK... the plugin "works" at the moment except that it doesn't actually parse the changeset to find which files changed15:05
slestakdo all the hgweb repos have to hosted on the mantis webhost?15:07
dhx_malso my draft HgWeb plugin doesn't allow you to import using a local hg binary (importing from a local repository clone)... so it's slow via HgWeb15:08
dhx_mHgWeb also didn't have a way to easily parse out which files changed last time I checked15:08
dhx_mno, they can be hosted anywhere15:08
dhx_mI'm still busy for the next week but after that time I plan to catch up with MantisBT development15:12
dhx_mand get 1.2.2 out the door :)15:12
slestakOh, HgWeb clones the repo local to its webroot?15:14
slestakIm a vcs noob, but know that I need it15:14
dhx_mnot sure... I use Git :)15:14
slestakwell, mantis scm integration. Does it make a local copy of the git repo, or does it refer to the remote repo directly?15:15
dhx_mthe idea with SourceIntegration is that you can pull VCS data from a web interface (Gitweb, WebSVN, HgWeb, etc) or by using a local SVN binary to pull commit messages15:15
dhx_ms/SVN/SVN or git or HG/15:15
slestakyes15:15
slestakis this data indexed and put into mantis's db so once it is crawled it can be gotten to quickly, or is it recreated each time?15:16
dhx_mit's ridiculously slow to pull 10,000 commit messages via the web :)15:16
dhx_myes it's placed in the database... but not the entire commit messages AFAIK15:16
dhx_mit's just the commit message, author information and list of files changed/deleted/added/etc15:17
slestakperfect.15:17
tcplompdhx_m are you dhx?15:33
dhx_mtcplomp: yep15:34
tcplompHi, I have been playing with the hgweb Source integration you placed in mantisforge and have (finally) got the incoming hook working. What would be a good place to write a bit on this? All in all I am missing a platform for the source integration (like a KB).15:36
dhx_mtcplomp: perhaps a blog post?15:39
dhx_mtcplomp: my plugin is still incomplete and I haven't tried it against the latest version of MantisBT 1.3.x yet15:39
dhx_mit's on the TODO list15:39
dhx_mgrrr one of my monitors just died15:41
tcplompOr would the MantisBT.org wiki be a good place. There is definitly a need for more documentation of the source integration when debugging.15:42
dhx_mI guess it could be placed there, nuclear_eclipse might have a better idea :)15:43
dhx_maaaargh single monitor sucks15:46
dhx_mI feel like I'm back in 199515:46
slestaknu-uhh15:46
slestakj/k15:46
slestaki have a 25" widescreen15:46
slestakwell, 24"15:47
dhx_mwhat resolution?15:47
slestak1920x128015:47
slestaksamsung syncmaster 2494hm15:47
slestakmy ocd kills me with an even number of monitors when apps start straddling the centerline15:48
slestakso I'd have to have 315:48
dhx_myeah I'd like 3... would need more space though15:49
slestakone widescreen is working well, and the prices have dropped a lot15:50
dhx_mI'm surprised that there aren't any thin bezel LED monitors at the moment?15:50
slestakgot my wife a 23 16:9 samsung locally for 177 new in box15:50
slestaki usually have my laptop on the desk too, so i wiull have some content there too15:51
dhx_mI don't like the idea of mixing monitors (ie. difference sizes/styles)15:51
slestaki know, that bugged me too.  when i did do dual, I had a quality viewsonic next to a crap Planar.  drove me crazy15:52
slestakI gave up the VS to get another planar, and the color was still different15:52
slestakmore trouble than its worth15:52
dhx_myep15:59
nuclear_eclipsetcplomp: hi16:30
nuclear_eclipsetcplomp: I'd like to get a full set of documentation four the source integration system written up and included in the source integration repo16:32
nuclear_eclipses/four/for16:32
nuclear_eclipseif you're willing to write some documentation for various source integration topics, I'd greatly appreciate all the help I could get16:33
tcplompnuclear_eclipse:  Ok I will see what I can get written. I assume it's all stored in a GIT repo?17:00
nuclear_eclipsetcplomp: there's nothing to start from, but yes, I want to keep it all in the existing source-integration.git repo on mantisforge, and then I can make it available on my website for viewing17:04
nuclear_eclipseif you're familiar with Markdown format, that's what I would like to use17:05
tcplompnuclear_eclipse: let me see what I can come up for in the next week or 2. You should have my email address in your leetcode bugtracker.17:05
tcplompIs there a Markdown interpreter or something on Windows? I have been using Markdown on Stackoverflow, but that was just for short texts (nothing fancy)17:07
nuclear_eclipseif you can run Python, PHP or Perl, there are Markdown implementations for all three17:08
nuclear_eclipsethe Perl implementation is the "canonical" version, if that matters to you, but the other two are compatible17:09
slestakthis may work  http://codeboje.de/wysiwyg-markdown-editor/17:19
tcplompslestak thanks! I'll give it a go17:21
slestakit looks very alpha, but you'll get your moneys worth17:21
tcplompFor starters I would like to document the needs for the hgweb integration. Could somebody create this page http://www.mantisbt.org/wiki/doku.php/mercurial_source_control_integration and give me (tcplomp) write access?17:42
nuclear_eclipsetcplomp: I'd rather keep documentation about plugins off of the wiki, a) afaik it doesn't really get used much, and b) would rather create some generic info that points to the source integration plugin's documentation17:45
tcplompI would just simply put the changes I made and store my mercurial hooks for the general public, not really going into the details17:48
slestakwhat about sth like sphinx?17:49
slestakI think it stores its data as marksown17:49
nuclear_eclipsenope17:49
slestaks/s/d17:49
nuclear_eclipsesphinx uses textile17:49
nuclear_eclipseand it's just as painfully complex and finicky to set up as something like Docbook17:50
slestakyeah17:50
nuclear_eclipseI don't want to have to set up an entire toolchain and build process for documentation17:50
slestaki researched doc tool recently, and sphinx was looking pretty complex17:50
nuclear_eclipseslestak: I've been working on something recently that acts as a preprocessor to markdown to give a lot of the benefits of complex documentation tools, without needing to jump through a lot of hoops to do it17:53
tcplompdhx_m: in the SourceHgWeb commit function you validate, the branch, I am not sure if that's the route to go for Mercurial. I commented these lines out to be able to checkin files from the mercurial hooks. Have you tested that functionality17:55
slestaki think the problem is we cannot even decide where the docs should live17:55
nuclear_eclipseslestak: for your own project, or for mantis you mean?17:57
rolfkleefif it's ok to break in with a question to devs about closing some bugs...?17:59
nuclear_eclipsehi rolfkleef :)17:59
rolfkleefthere are a couple of (I think) duplicate issues about admin/move_db2disk.php and I'd like to close a couple17:59
slestaknuclear_eclipse: mantis plugins18:00
slestaktcplomp's question is similar to mine from 2 hours earlier.  I installed 1.2.1 but couldnt find any docs on either mantisforge or mantisbr.org that looked newer than 200818:00
nuclear_eclipseslestak: I think the problem is that we don't even have a well-defined documentation or development process for the core project, so third party plugin handling is like the wild west18:01
slestakyeah18:01
rolfkleefhttp://www.mantisbt.org/bugs/view.php?id=7176 could be the one that stays, and http://www.mantisbt.org/bugs/view.php?id=11591 , 9495 and 5836 resolved as duplicates?18:01
slestakim not complaining,18:01
nuclear_eclipserolfkleef: seems reasonable after a first glance18:03
rolfkleef(I can do that, just wanted to make sure my first real contribution to tracker maintenance isn't breaking rules I don't know yet :-))18:03
nuclear_eclipserolfkleef: if only we had rules to break :P18:03
nuclear_eclipserule #1: do whatever you think is best; rule #2: umm..... :P18:04
rolfkleefbe careful what you say :-) someone might start a wiki page on Hg integration since it doesn't break any rules ;-)18:04
rolfkleefI'll go ahead with those issues then18:05
slestaktcplomp: what about make a git repo at mantisforge with your doc contribs and we can determine how they get published after written?18:06
slestakthen your docs can be versioned as well?18:06
nuclear_eclipsewell, if they really want to start that wiki page, I aint gonna stop them; it's not like I've looked at the wiki in the past 8 months... =\18:06
nuclear_eclipsetcplomp: you could also fork the source-integration.git repo and add your docs there, and eventually work on merging them upstream18:07
tcplompslestak: I'm fine with that (I hope I can use hg as a mantisforge client, don't need a 5th SCC to install) Let me think about the fork, that sounds interesting.18:08
slestakor host your docs on your own hg18:09
tcplomp[slightly off topic] in Amsterdam we should have a positive offset to GMT, right (meaning that the US would have a negative offset)?18:09
nuclear_eclipsetcplomp: http://hg-git.github.com/18:09
nuclear_eclipsecorrect18:09
nuclear_eclipseI'm GMT-400 in the east US18:10
tcplompoops, think I found a wee bug in Mercurial raw-rev output18:11
slestak-4 or -5?18:19
slestakoh, dst18:19
nuclear_eclipseslestak: tbh, I don't know which atm, DST is really confusing18:20
slestakits finally drying out here in MI, where you guys at18:21
nuclear_eclipsejreese@T00529019 ~ ยป date18:21
nuclear_eclipseFri Jun 11 14:21:15 EDT 201018:21
nuclear_eclipseI'm near Cincinnati, OH -- it's ungodly humid, hot, and stale18:22
slestakcool.  used to have a bunch of friends in Middletown18:23
slestaki have no idea sometimes why business spends so much money on proprietary software18:24
slestaklook at this issue.  I have been working on this error for 3 weeks with my var and IBM support18:24
slestakhttp://www.mail-archive.com/u2-users@listserver.u2ug.org/msg26456.html18:24
slestakand it appears it was reported to them in $(^*&^  200818:25
tcplompI am in Amsterdam with DST so I should have an offset of +02:00 or +7200, my raw-rev output is though -7200, making my repo-commits 4 hours off (and yes for an anal-retentive person like me that's important)18:25
slestaktimestamps have to be right.18:26
nuclear_eclipsethat would drive me crazy too18:27
nuclear_eclipseI spent about 20 minutes the other day rewriting a branch history because I'd been committing using the wrang email address :P18:27
slestaku can do that in git?18:28
nuclear_eclipseyep18:28
nuclear_eclipsegood thing it wasn't a public branch though :P18:28
nuclear_eclipsethe simple way is doing a `git commit --amend --author="Author Name <email@domain>"`18:29
nuclear_eclipsebut to do a whole branch, I ended up writing a complex `git filter-branch ...` command to automatically do that18:30
nuclear_eclipsesame sort of thing I wrote when Mantis moved from SVN to Git and we converted all the SVN usernames to realnames + email18:31
tcplompUhm, I don't have my email in my (local) mercurial repo, so I edited the hgweb.php to add <no@email> in the commit function if no email address was found. I don't see why these are required in the 'source' table for changesets18:50
slestaki found the recent docs at mantisforge18:52
slestakcan someone point me to plugin install docs?  not seeign it at http://mantisforge.org/dev/manual/en/administration_guide/18:53
slestaklooks like just drop them into plugins and then modify plugin.php or plugin_file.php18:56
nuclear_eclipsetcplomp: you should be able to just use a blank string "" for author email -- the only "need" for it is to help match authors to user accounts in mantis18:57
nuclear_eclipseslestak: extract the plugin into mantisbt/plugins/ and then go to Manage Plugins in Mantis to install them18:58
tcplompWell I got an application error, I think that the hgweb put a 'null' field instead of a n empty field.18:58
nuclear_eclipsethat's possible18:58
tcplompso that would be a bug for dhx_m ;-)18:58
slestaki apologoze, i dont see a raw or dl link on the changeset18:58
slestaklookign at the tag for the 0.8.1 stable release of EmailReporting19:00
nuclear_eclipsegitweb calls it "snapshot"19:00
nuclear_eclipseyou probably need to click on the tag in gitweb, and then click snapshot on the next page19:00
slestakwierd, 3 clicks in19:00
slestaksnapshot is on the "tree" field?19:01
nuclear_eclipsehttp://git.mantisforge.org/w/EmailReporting.git?a=commit;h=8891a2a05cf78f556059fe79d309f230b9c2ecf819:01
nuclear_eclipse /shrug19:01
nuclear_eclipseI prefer Github tbh :P19:02
slestakk.  i know i have elementary questions, taking hg, bzr, and git all in at once19:02
nuclear_eclipsenp19:02
slestakbasically, anything but svn|cvs19:02
tcplompany idea how to easily create a bunch of repositories (like 40), I assume it takes some SQL voodoo19:03
slestaksql?  maybe shell scripting19:03
nuclear_eclipseone by one :P19:03
slestakyou just trying to get a busy page?19:04
tcplompnot really, I had an SVN repo of 40 folders (projects) that I converted into 40 mercurial repos. I'll add them when I need them.19:05
kirillkanuclear_eclipse: around?20:01
nuclear_eclipsehi kirillka20:06
kirillkanuclear_eclipse: Can you help me with git?20:06
kirillkaI try ask in #git, but all sleep20:06
kirillkanuclear_eclipse: http://support.github.com/discussions/repos/3316-how-i-can-re-push-repo20:08
nuclear_eclipsekirillka: try `git push -f origin master`20:18
kirillkanuclear_eclipse: thanks. you don't help, but after this I reread man and see git push --tags20:23
kirillkaI add tag and push20:23
minimoomoo22:08
minimoonuclear_eclipse / dhx_m22:08

Generated by irclog2html.py