-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to nette 3.0 #304
update to nette 3.0 #304
Conversation
Unfortunately there are too many stupid people Closes #294
@slepic I've no problem with merge with green Travis. |
Ok, thank you. I will let you know when i fix everything. |
ok so everything should be fine now, except these kdyby packages dont have stable release for nette 3.0:
so they are on dev-master and the out of memory problem coming from kdyby/console infinite loop in router is solved in Kdyby/Console#85 There is also a workaround for this problem: |
@o5 The kdyby/console issue is merged. Can you please rerun travis build to see if everything works now? Seems I have no right to do so (unless i'm just blind) |
@o5 ok, so
|
@slepic Sorry for delay. Could you please polish your commits? |
@o5 Could you be more specific, please? :) |
I meant squash what is possible, better commit message (without |
@o5 Oh sorry, but I don't want to or even know how to mess up with commit history... Can't you just do it on merge? Github can handle this for you. Just squash it into one commit and let the message be |
@slepic Here is a nice tutorial on how to make a squash: https://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git When you are finished with work on new commit message you have to force push to the repository. |
.travis.yml
Outdated
@@ -21,4 +20,4 @@ script: | |||
- vendor/bin/tester -p php $COVERAGE tests/ | |||
|
|||
after_script: | |||
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi | |||
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This condition is always false now and project will be without code-coverage report.
@slepic Change looks good, but there is something in Travis log:
Scrutinizer reports |
@o5 Do you have any idea what that means? Seems to me it should be ok. |
@slepic Unfortunately don't in this time. |
Merged 7fbb263 |
@o5 A bit late, but anyway, thank you very much :) Could I yet ask you to tag a new release? We are already using the master head on one application in production and another one is about to be released, but I don't wanna keep it on dev-master, although we keep our packages locked... |
I have updated composer requirement of nette to 3.0 and php to 7.0 (needed by nette anyway). At this point I have fixed every error reported by running
composer test
, except for those cases mentioned in the TODO below (I have actualy found ways to modify vendor packages to make those problems go away, but to fix it properly it has to be done on the grido side, but I havent found those ways yet.).Let me first ask, are you willing to merge this (when completed) and release a new version of grido compatible with nette 3.0. Or would you prefer if someone else maintained this package, so I better off with my fork?
TODO:
for some reason, in tests, RouteList contains itself as a route, resulting in infinite loop(not grido issue).in tests, nette often thinks that there is a csrf attack and makes redirection instead of handlig the requested action. (looks like missing@crossOrigin
annotation, or bad sameSite detection)