satrun77 / tinyissue

Simple Issue Tracking for Teams
MIT License
48 stars 6 forks source link

Is this configuration completely possible at the moment. #123

Closed nickbe closed 8 years ago

nickbe commented 8 years ago

Currently we're trying to handle certain software projects with these status steps. So this might as well be a test case for you.

NEW, BACKLOG, DISCUSS, OPEN, WORKING, REVIEW, RELEASE, ABANDON

First the issue is NEW. (Developers should not see those at all. Not in the list, not in the kanban) Then the manager decides what to do:

satrun77 commented 8 years ago

Did you manage to implement this setup? if not, which part failed?

nickbe commented 8 years ago

Right now it seems that I cannot create the DISCUSS step. I don't think I can let the developer see the issue, comment the issue, but at the same time prevent him from changing the status.

satrun77 commented 8 years ago

I have not tested this.

The DISCUSS tag here is readonly for developer, which makes the issue.

Do you have the latest code from develop branch?

nickbe commented 8 years ago

Not yet. I'll try that as soon as possible.

nickbe commented 8 years ago

After updating I currently get this error:

ErrorException in AliasLoader.php line 66: Class 'Collective\Html\FormFacade' not found (View: \tinyissue77dev\resources\views\user\login.blade.php)

Did I do something wrong here?

nickbe commented 8 years ago

Also I just noticed this message when running composer:

Package caouecs/laravel4-lang is abandoned, you should avoid using it. Use caouecs/laravel-lang inst ead. Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead.

I could've sworn your had that already fixed last time or did you?

satrun77 commented 8 years ago

Make sure you have pull the latest changes from git.

$ get fetch --all
$ git pull origin develop
nickbe commented 8 years ago

I downloaded a fresh develop version but it didn't do it.

satrun77 commented 8 years ago

Package illuminate/html is not longer in the composer file. It was replace with: https://github.com/satrun77/tinyissue/blob/develop/composer.json#L14 The page caouecs/laravel4-lang also replaced with the newer version.

nickbe commented 8 years ago

I try to redownload a fresh develop package and try again. This should contain the latest commits or do I have to download additional files?

satrun77 commented 8 years ago

All you need it get the latest code from repository and then execute the composer command.

nickbe commented 8 years ago

Just downloaded the latest 'develop' branch. After 'composer update' or 'composer update --with-dependencies' I receive this error now:

Script php artisan clear-compiled handling the post-update-cmd event returned with an error

[RuntimeException] Error Output:

After that all I see is a when running the website is a blank white page.

satrun77 commented 8 years ago

Try executing this php artisan clear-compiled or composer update

nickbe commented 8 years ago

Yep. Just tried that. Still ending up with

Script php artisan clear-compiled handling the post-update-cmd event returned with error code 255 and a white page

satrun77 commented 8 years ago

Make sure the following directory writable: storage/ & bootstrap/cache

Clear everything in bootstrap/cache

nickbe commented 8 years ago

After clearing bootstrap/cache I'm back to:

ErrorException in AliasLoader.php line 66: Class 'Illuminate\Html\FormFacade' not found (View: resources\views\user\login.blade.php)

nickbe commented 8 years ago

Ok. tried everything again... fresh install... copying the database and .env from my previous installation along with the config/mail.php, checking the path to my database. Everything similar to my working test instance. Deleting the bootstrap/cache, php artisan clear-compiled, call composer update --with-dependencies, php artisan migrate... Still the error message remains.

satrun77 commented 8 years ago

I don't know why you are getting these errors. I can't replicate your errors

nickbe commented 8 years ago

Ok. after doing everything over again I managed to get it to run after starting 'composer update --with-dependencies' a second time. Very strange!

Also simply updating the already existing instance does not work anymore. Which is also odd since I did this countless times before and never had a problem.

nickbe commented 8 years ago

I've tried updating the existing instances just now again, but it's no good. There must be something else that has to be cleared or deleted when updating. Wouldn't it be possible to have some 'all in one' commandline update routine, which could then be called from within the GUI later on?

nickbe commented 8 years ago

Can you tell me what difference there is between updating an instance and a fresh install (and copying .env and database)? Which folders would I have to clean manually when updating?

satrun77 commented 8 years ago

Source code update you need composer composer update

Database update you need laravel migration command php artistan migrate

Something is not working with your environment?

nickbe commented 8 years ago

Maybe the problem lies with the cache folders. I don't know exactly how laravel works in depth but it seems there's a fair amount of caching going on. So maybe I could delete the cache manually next time.

nickbe commented 8 years ago

I will play through various scenarious during the weekend now. Thanks upfront for all the latest commits :)

nickbe commented 8 years ago

I think basically it's possible to build these kind of workflows now. I'll close the issue and we move further thoughts to the same github issue where we write down the user role descriptions. (See #133)