Bug #49011

Support executing TYPO3.Flow inside a PHAR

Added by Marc Neuhaus over 6 years ago. Updated over 5 years ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-06-10
Due date:
% Done:

0%

PHP Version:
Has patch:
No
Complexity:

Description

Currently it's not really possible to create an executable phar from a
TYPO3.Flow distribution because of the caches and some failing
path evaluations.

History

#1 Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#2 Updated by Marc Neuhaus over 6 years ago

I created a first changeset, consider this a prototype for now :)

Main things i did:

1. Fix some path constants to the correct phar uri's
2. use "sys_get_temp_dir()" as target for Logs, Persistent and_Resources
3. Disabled is_writable checks for cache and temporary directory

I created a little distribution to test this as well:

https://github.com/mneuhaus/TYPO3.Flow-Phar-Testing

(You need Box:http://box-project.org/ to create the phar and maybe Beard:https://github.com/mneuhaus/Beard to pull in the changeset)

Instructions:

git clone git@github.com:mneuhaus/TYPO3.Flow-Phar-Testing.git
cd TYPO3.Flow-Phar-Testing.git
composer update
beard patch
./build.sh

This will take a few minutes. When it's done you'll have a ready to use phar in your Build directory :)

#3 Updated by Marc Neuhaus over 6 years ago

Anyone interested can test this demo build of flow + surf:
https://dl.dropboxusercontent.com/u/314491/flow-FLOW3-1.1.0-beta1-175-gb748f0e.phar

#4 Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#5 Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#6 Updated by Gerrit Code Review over 6 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#7 Updated by Gerrit Code Review over 6 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#8 Updated by Gerrit Code Review over 6 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#9 Updated by Gerrit Code Review over 6 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21329

#10 Updated by Gerrit Code Review about 6 years ago

Patch set 8 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/21329

#11 Updated by Gerrit Code Review about 6 years ago

Patch set 9 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/21329

#12 Updated by Gerrit Code Review about 6 years ago

Patch set 10 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/21329

#13 Updated by Gerrit Code Review over 5 years ago

Patch set 11 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/21329

#14 Updated by Gerrit Code Review over 5 years ago

Patch set 12 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/21329

#15 Updated by Gerrit Code Review over 5 years ago

Patch set 13 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/21329

#16 Updated by Gerrit Code Review over 5 years ago

Patch set 14 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/21329

#17 Updated by Gerrit Code Review over 5 years ago

Patch set 15 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/21329

Also available in: Atom PDF