Repository navigation
Conversation
|
Looks good, will test later |
|
👍 |
|
@bartv2 @blizzz @karlitschek
Can we please unite our console/terminal? Please move all cli scripts into one single location - the admin is not interested in cd-ing around. THX |
|
On Tuesday 23 July 2013 15:42:46 Thomas Müller wrote:
@bartv2 Maybe you can just adjust upgrade.php instead of establishing As far as I see this does not do an ownCloud upgrade, does it?
Imho a cron should not to upgrades. It can interfere while the admin is doing |
|
@blizzz my intention is to provide one unique entry point for the admin to perform any kind of script based interaction with owncloud |
|
This PR was/is an attempt to create a single entry point. But then the upgrade.php script was introduced... I think the best way to do this, is create an console entry point using Symfony2 Console component. This is already included for Doctrine, so no new dependecy and it gives nice console output |
|
Right. I did not know about this PR and other reviewers also did not mention this one, when upgrade.php was introduced. However, when it is supposed to be the central point, then why not resolve all the other script entry points here by extending the PR? Or at least upgrade.php should be removed then, though it has a bit more functionality (e.g. also callable via wget). |
There was a problem hiding this comment.
use cross-platfrom PHP_EOL as line break
I'd like to see a solution which can be backported to stable5 - especially for enterprise customers this is a necessary feature. |
Yes - bring it all together @icewind1991 can you please add the rescanning feature here as well? THX |
|
And let's move this into a subfolder like 'console' as I assume we will have more than one script and a folder can easier be hidden in the browser. |
|
Before we start coding lets start with a plan, i would like this simple so we can do a backport but i also want to use the Console component. 👍 for a console dir, maybe core/console and console.php? |
makes sense to me |
Symfony console? Well that component is not that small - but it looks really promising. |
Simple for now, when doctrine is merged then we can use the Symfony2 Console component to make it more fancy.
Using this component doesn't add any code to 3rdparty, doctrine already depends on it. And then we can also add a setup console command and more.
@karlitschek @icewind1991 @DeepDiver1975 @MTGap @VicDeo