[TYPO3] On diff patches again - comments

Corrado support at eeos.biz
Wed Apr 4 19:10:51 CEST 2007


1) Do you realise that you have to access to curl or wget and that more than
half of the hosting packages do no allow for it?

2) So you do not change the permission on the folder and your webserver user
(or group) is allowed to write for example of the t3conf directory. Would
you explain me exactly how?

Best,

Corrado



Christopher Torgalson wrote:

> Hi,
> 
> On 4/4/07, Corrado <support at eeos.biz> wrote:
>> Bertalan Fodor wrote:
>>
>> >
>> > For which version would you create the patch?
>> > For the simple case of upgrading from 4.0 to 4.1 you would have to
>> > create 7 patch files for the different upgrades (like 4.0.2 to 4.1.1).
>> >
>> > And what if you find that something went wrong on the update and want
>> > to go back? With the ln -s method it is again one rm and one ln -s.
>> > With diff-s...
>> >
>> > How could an upgrade be simpler than the two lines of
>> > rm typo3_src
>> > ln -s typo3_src-4.1.1 typo3_src
>> >
>> > Bert
>>
>> Actually, an upgrade would be:
>>
>> 1) ftp download new version
>> 2) ftp upload new version on server
>> 3) decompress through ssh
>> 4) change ownership on folder (optional) through ssh
>> 5) change permissions on folder through ssh
>> 6) rm old folder through ssh
>> 7) link new folder through ssh
>>
>> step (1) takes anything up to 3 hours if the operation is successful in
>> many places in Africa and in most of other development countries
>> step (2) takes anything up to 3 hours  if the operation is successful in
>> many places in Africa and in most of other development countries
>>
>> If that is simple.
>>
>> finally I a not propsing to abandon the link method, but to add the diff
>> method
> 
> 
> If you have ssh access, the method you've described above is INSANE.
> Step one should take only a minute or two, /because you should be
> moving the files directly from server to server/ You don't need the
> TYPO3 source on your workstation, so why download it at all? It will
> be faster in every normal case to just move the files from sourceforge
> to the destination server because servers necessarily have pretty good
> connectivity:
> 
> cd /directory/where/you/keep/your/t3/src/files
> curl -O http://domain.tld/url/to/place/where/t3/file/lives
> tar -xzpf new_t3_version.tar.gz
> rm typo3_src
> ln -s new_t3_version typo3_src
> 
> [test new version]
> 
> rm -rf old_t3_version
> 
> Also, no ownership or permissions changes are required at any time
> after initial installation--TYPO3 only needs to be able to write to
> directories that are not part of the source distribution. If you find
> that ownership and permissions changes are needed, something is quite
> strange about your setup or process.
> 

-- 
eeos communications (technical support)
http://www.eeos.biz


More information about the TYPO3-english mailing list