Bugitor

Without much fanfare, Bugitor Milestone 0.4.0 was completed, covering 53 issues. :)

Now work has begun on the next milestone 0.5.0 which is going to feature support for Github and Bitbucket APIs, plus SVN (and local Git/Hg support too).

That should probably make the project a bit more interesting to people.

Now, if only Google.code had an API…

Bugitor has also gotten a Google+ page.

great work man.

Can’t install:

126.0.0.1/~user/bugitor/installer/install/installation?step=prepare

Can’t find the URL error.

Does this need a virtual host to work or are there other problems?

I’m on osx, latest yii

Wow Jack…very nice!

Good work.

Thanks Chris! :)

@SapporoGuy:

It should work.

Not a very original answer, I know. :P

It needs to have the Apache rewrite module on.

I haven’t tested it on a user web directory, though.

I can perform a test install later today, I think.

Or tomorrow.

Sorry for the pm :)

Thanks! Now i have a lead to work with!

I gave you some more leads in the PM.

If you find any bugs and/or have feature request, then use the Bugitor tracker here:

http://tracker.ogitor.org/projects/bugitor

Powered by Bugitor, of course.

Veri nice work! When do you think it’ll support git & svn?

I think it will have full support for hg, git, svn, Bitbucket and Github in 4 weeks time, maybe 8 weeks.

Most of the code is already in place. :)

Nice, hope will remember it by then.

I’ll make you remember when it supports all the above. :lol:

I’ll be pimping it in this topic then.

Awesome job. I’ll dig into the code since I need some of the functionality bugitor has. Plus bitbucket API support is an awesome feature!.

Thanks for sharing your work.

The only thing that sucks with the Bitbucket API is that it doesn’t support diffs.

But apart from that, it’s great. Github API is slightly better. :)

Nice job!

Tried to create a new issue and get:


PHP Error


Trying to get property of non-object


/Users/Usr1/Sites/bugitor/themes/new/views/issue/_form.php(163)


151                 <?php if(isset($model->issueCategory)) : ?>

152                         <?php echo $model->issueCategory->name; ?>

153                 <?php endif; ?>

154             <?php endif; ?>

155         </td>

156     </tr>

157     <tr>

158         <td class="fixed-version"><b><?php echo $form->labelEx($model, 'milestone_id'); ?></b></td>

159         <td>

160             <?php if(Yii::app()->user->checkAccess('Issue.Delete')) : ?>

161                 <?php echo $form->dropDownList($model, 'milestone_id', $this->getmilestoneSelectList(

162                 Project::getProjectIdFromIdentifier($_GET['identifier']), true, 

163                 $model->milestone->id, $model->milestone->name .' : '. $model->milestone->title),

164                  array(Yii::app()->user->checkAccess('Issue.Update') ? 'enabled' : 'disabled' => true,

165                   'prompt' => '<None>')); ?>

166                 <?php echo $form->error($model, 'milestone_id'); ?>

167             <?php else : ?>

168                 <?php if(isset($model->milestone)) : ?>

169                         <?php echo $model->milestone->name; ?>

170                 <?php endif; ?>

171             <?php endif; ?>

172         </td>

173     </tr>

174     <tr>

175         <td class="progress"><b><?php echo $form->labelEx($model, 'done_ratio'); ?></b></td>

Stack Trace]

Not a lot to go on, but I’ll see if I can fix this.

I guess you are running MySQL in strict mode.

Even though I thought all strict mode issues was fixed by now.:)

here’s the rest:

php: 5.3.8

OSX 10.7.3

mysql: mysqlnd 5.0.8-dev - 20102224

yii: 1.10

Need anything else :D


Stack Trace

#0	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CBaseController.php(119): require("/Users/USR1/Sites/bugitor/themes/new/views/issue/_form.php")

#1	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CBaseController.php(88): CBaseController->renderInternal("/Users/USR1/Sites/bugitor/themes/new/views/issue/_form.php", array("model" => Issue), true)

#2	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CController.php(866): CBaseController->renderFile("/Users/USR1/Sites/bugitor/themes/new/views/issue/_form.php", array("model" => Issue), true)

#3	

–  /Users/USR1/Sites/bugitor/themes/new/views/issue/create.php(38): CController->renderPartial("_form", array("model" => Issue))

33 ?>

34 <?php

35 $this->pageTitle = $project_name . 'New Issue - ' . Yii::app()->name ;

36 ?>

37 <h3 class="issues-icon">New Issue</h3>

38 <?php echo $this->renderPartial('_form', array('model'=>$model)); ?>

#4	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CBaseController.php(119): require("/Users/USR1/Sites/bugitor/themes/new/views/issue/create.php")

#5	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CBaseController.php(88): CBaseController->renderInternal("/Users/USR1/Sites/bugitor/themes/new/views/issue/create.php", array("model" => Issue, "project_name" => "test - "), true)

#6	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CController.php(866): CBaseController->renderFile("/Users/USR1/Sites/bugitor/themes/new/views/issue/create.php", array("model" => Issue, "project_name" => "test - "), true)

#7	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CController.php(779): CController->renderPartial("create", array("model" => Issue, "project_name" => "test - "), true)

#8	

–  /Users/USR1/Sites/bugitor/protected/components/BugitorController.php(47): CController->render("create", array("model" => Issue, "project_name" => "test - "), false)

42 

43     public function render($view, $data = null, $return = false)

44     {

45         if ($this->beforeRender($view))

46         {

47             parent::render($view, $data, $return);

48         }

49     }

50  

51     public function beforeRender($view)

52     {

#9	

–  /Users/USR1/Sites/bugitor/protected/controllers/IssueController.php(330): BugitorController->render("create", array("model" => Issue, "project_name" => "test - "))

325         }

326 

327         $this->render('create', array(

328             'model' => $model,

329             'project_name' => $project_name,

330         ));

331     }

332 

333     public function actionMove($id) {

334         $model = Issue::model()->with(array('project', 'tracker'))->findByPk((int) $id);

335         $_GET['projectname'] = $model->project->name;

#10	

+  /Users/USR1/Sites/bugitor/yii/framework/web/actions/CInlineAction.php(50): IssueController->actionCreate()

#11	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CController.php(300): CInlineAction->runWithParams(array("identifier" => "test"))

#12	

+  /Users/USR1/Sites/bugitor/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(CInlineAction)

#13	

+  /Users/USR1/Sites/bugitor/yii/framework/web/filters/CFilter.php(41): CFilterChain->run()

#14	

+  /Users/USR1/Sites/bugitor/protected/modules/rights/components/RController.php(36): CFilter->filter(CFilterChain)

#15	

+  /Users/USR1/Sites/bugitor/yii/framework/web/filters/CInlineFilter.php(59): RController->filterRights(CFilterChain)

#16	

+  /Users/USR1/Sites/bugitor/yii/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(CFilterChain)

#17	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CController.php(283): CFilterChain->run()

#18	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array("rights"))

#19	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CWebApplication.php(277): CController->run("create")

#20	

+  /Users/USR1/Sites/bugitor/yii/framework/web/CWebApplication.php(136): CWebApplication->runController("issue/create")

#21	

+  /Users/USR1/Sites/bugitor/yii/framework/base/CApplication.php(158): CWebApplication->processRequest()

#22	

+  /Users/USR1/Sites/bugitor/index.php(86): CApplication->run()



Thanks! :)

I’ll see if I can get around to finding a fix for this this afternoon.

Fixed ! :)

Thanks for the patience.

You can now create issues, even without any existing milestones, or with milestones (but without a valid due date).