Skip to content
stubbetje edited this page Nov 12, 2015 · 4 revisions

Welcome to the zf-releases wiki!

Why?

For most developments that I do, I use Zend Framework. When a new version is released, I start using it for my projects that are currently in development. Other projects are only upgraded once they have been tested with the new release, so I usually end up with a lot of different Zend Framework versions on the webservers.

I needed a way where I could easily switch between version and since there is no official git repository (yet?) for ZF , I created this one. It only contains one commit per different release starting from Zend Framework 1.10.0.

The next thing I want to try out is using this repository as a git submodule and see how that turns out.

Who?

I am not a Zend Framework contributor and to make that clear I set the author of the commits to Zend Framework Contributers <zf-contributers@lists.zend.com>.

How?

To create this repository I basically did this:

#!/bin/bash

export GIT_AUTHOR_NAME="Zend Framework Contributers"
export GIT_AUTHOR_EMAIL="zf-contributors@lists.zend.com"
export GIT_COMMITTER_NAME="Stefan Stubbe"
export GIT_COMMITER_EMAIL="yahikootje@gmail.com"

mkdir ~/zf-releases
mkdir ~/tmp

cd ~/zf-releases
git init

for version in 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4
do
    cd ~/tmp
    wget http://framework.zend.com/releases/ZendFramework-$version/ZendFramework-$version.tar.gz
    tar xzvf ZendFramework-$version.tar.gz

    cd ~/zf-releases
    cp ~/tmp/ZendFramework-$version/{*.txt,*.md,bin,library,extras/library} . -r
    git add .

    git commit -m"added ZendFramework-$version release"
done

This script represents the actions that I did manually, so consider this script untested :-)

Clone this wiki locally