Skip to content

Commit

Permalink
Updated component packages to add branch-alias
Browse files Browse the repository at this point in the history
Now that we have per-component repos, we need the ability to install
dev-stability packages. Currently, this can only be done if you specify
dev-master (which is auto-enabled via packagist), but not via dev-develop.
Additionally, you cannot specify version strings like "2.1-dev" or "2.2-dev", as
those aliases do not exist.

This patch adds dev-master and dev-develop aliases for each component.
  • Loading branch information
weierophinney committed Feb 14, 2013
1 parent 44b7108 commit 652367b
Show file tree
Hide file tree
Showing 50 changed files with 322 additions and 22 deletions.
6 changes: 6 additions & 0 deletions library/Zend/Authentication/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@
"zendframework/zend-db": "Zend\\Db component",
"zendframework/zend-uri": "Zend\\Uri component",
"zendframework/zend-session": "Zend\\Session component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Barcode/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@
"suggest": {
"zendframework/zend-validator": "Zend\\Validator component",
"zendframework/zendpdf": "ZendPdf component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Cache/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@
"ext-dba": "DBA, to use the DBA storage adapter",
"ext-memcached": "Memcached >= 1.0.0 to use the Memcached storage adapter",
"ext-wincache": "WinCache, to use the WinCache storage adapter"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Captcha/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@
},
"suggest": {
"zendframework/zendservice-recaptcha": "ZendService\\ReCaptcha component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Code/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@
},
"suggest": {
"doctrine/common": "Doctrine\\Common >=2.1 for annotation features"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Config/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Console/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Crypt/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
"zendframework/zend-math": "self.version",
"zendframework/zend-stdlib": "self.version",
"zendframework/zend-servicemanager": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Db/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
},
"suggest": {
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Debug/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@
},
"suggest": {
"ext/xdebug": "XDebug, for better backtrace output"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Di/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
"php": ">=5.3.3",
"zendframework/zend-code": "self.version",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Dom/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Escaper/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@
"target-dir": "Zend/Escaper",
"require": {
"php": ">=5.3.3"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/EventManager/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Feed/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@
},
"suggest": {
"zendframework/zend-validator": "Zend\\Validator component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/File/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Filter/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,11 @@
"zendframework/zend-validator": "Zend\\Validator component",
"zendframework/zend-crypt": "Zend\\Crypt component",
"zendframework/zend-stdlib": "Zend\\Stdlib component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Form/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@
},
"suggest": {
"zendframework/zendservice-recaptcha": "ZendService\\ReCaptcha component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Http/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
"zendframework/zend-loader": "self.version",
"zendframework/zend-stdlib": "self.version",
"zendframework/zend-uri": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/I18n/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
"ext-intl": "*",
"zendframework/zend-filter": "self.version",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/InputFilter/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
"zendframework/zend-filter": "self.version",
"zendframework/zend-validator": "self.version",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Json/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@
},
"suggest": {
"zendframework/zend-server": "Zend\\Server component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Ldap/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Loader/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
},
"suggest": {
"zendframework/zend-stdlib": "Zend\\Stdlib component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Log/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@
"zendframework/zend-escaper": "Zend\\Escaper component, for use in the XML formatter",
"zendframework/zend-mail": "Zend\\Mail component",
"zendframework/zend-validator": "Zend\\Validator component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Mail/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@
"suggest": {
"zendframework/zend-validator": "Zend\\Validator component",
"zendframework/zend-servicemanager": "Zend\\ServiceManager component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Math/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@
"target-dir": "Zend/Math",
"require": {
"php": ">=5.3.3"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/Memory/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@
"target-dir": "Zend/Memory",
"require": {
"php": ">=5.3.3"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
6 changes: 6 additions & 0 deletions library/Zend/Mime/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
"require": {
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
8 changes: 7 additions & 1 deletion library/Zend/ModuleManager/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@
"zendframework/zend-config": "Zend\\Config component",
"zendframework/zend-loader": "Zend\\Loader component",
"zendframework/zend-servicemanager": "Zend\\ServiceManager component"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev",
"dev-develop": "2.2-dev"
}
}
}
}
Loading

0 comments on commit 652367b

Please sign in to comment.