This repository has been archived by the owner on May 17, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3e25384
Showing
13 changed files
with
2,384 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/clone | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Laminas Transfer | ||
|
||
Library to transfer ZF repositories to Laminas Project. | ||
|
||
## Usage | ||
|
||
Use the following command to calculate the order of repositories to transfer: | ||
|
||
```console | ||
$ bin/console dependencies <org> <github token> | ||
``` | ||
|
||
Generate github token on: https://github.com/settings/tokens | ||
|
||
Then to transfer the repository use the command: | ||
|
||
```console | ||
$ bin/console transfer <org>/<name> | ||
``` | ||
|
||
It will create clone the repository and replace all references to | ||
ZendFramework with Laminas. | ||
|
||
## TODO | ||
|
||
- [ ] update Travis CI configuration (change references to ZF) | ||
- [ ] create new repository | ||
- [ ] push all previous tags | ||
- [ ] create new release in the new namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
chdir(__DIR__ . '/../'); | ||
|
||
require __DIR__ . '/../vendor/autoload.php'; | ||
|
||
$application = new \Symfony\Component\Console\Application(); | ||
|
||
$application->addCommands([ | ||
new \Laminas\Transfer\Command\DependenciesCommand(), | ||
new \Laminas\Transfer\Command\TransferCommand(), | ||
]); | ||
|
||
exit($application->run()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "webimpress/laminas-transfer", | ||
"description": "Transfer ZF repository to Laminas Project", | ||
"require": { | ||
"php": "^7.1", | ||
"ext-curl": "*", | ||
"ext-json": "*", | ||
"knplabs/github-api": "^2.11", | ||
"localheinz/composer-json-normalizer": "^1.0.2", | ||
"php-http/guzzle6-adapter": "^1.1.1", | ||
"symfony/console": "^4.2.3" | ||
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-master", | ||
"webimpress/coding-standard": "dev-master" | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Laminas\\Transfer\\": "src/" | ||
} | ||
}, | ||
"scripts": { | ||
"cs-check": "phpcs", | ||
"cs-fix": "phpcbf" | ||
} | ||
} |
Oops, something went wrong.