Fix "(class.Ruckusing FrameworkRunner.php:193) 정의되지 않은 변수: ENV"

10058 단어 ruckusing-migrations

묘사

Fix"(class.Ruckusing FrameworkRunner.php:193) 정의되지 않은 변수: ENV"

토론 #1

우선, 당신의 모든 공헌에 감사 드립니다.
그러나, 나는 이 공관에 조심스럽게 합병했다. 왜냐하면 그것은 너무 크고, 너무 많은 문서와 관련되기 때문에, 그것은 틀림없이 문제가 있을 것이다.나는 확실히 당신이 몇몇 단원 테스트를 포함하는 것을 보았다.
너는 그것을 한 입 크기의 조각으로 잘라 줄 수 있니?

토론 #2

물론 위대한 공헌이지만, 코디의 침착함에 감사 드립니다.
이 당김에이것은 즉각 받아들여야 할 큰 문제다.가장 좋은 것은
일정 시간 내에 몇 개의 요청을 제출하다.

Cody Caughlan mailto:[email protected] September 6, 2014 at 8:08 PM

First off, thank you for all of these contributions.

However, I'm wary to merge in this PR, its so large and touches so many files that its bound to have issues. I do see that you have included some unit tests.

Any way you can chop it up into more bite-sized pieces?

— Reply to this email directly or view it on GitHub https://github.com/ruckus/ruckusing-migrations/pull/141#issuecomment-54732758.

Philipp John mailto:[email protected]

2014년 9월 5일 오전 9:55

You can merge this Pull Request by running

git pull https://github.com/mjainta/ruckusing-migrations master

Or view, comment on, or merge it at:

https://github.com/ruckus/ruckusing-migrations/pull/141

Commit Summary - Added functionality for using multiple dbs and also to use dbs as templates for other dbs. - Added the option FLAVOUR for Migrate and Status Tasks. - Integrated FLAVOUR parameter for Tasks db:deploy, db:migrate, db:setup and db:status. - Changed isMaster option for db to dbType to support more dbTypes and make it easier to understand. - Fixed migrating by negative offset greater than amount of migrations available. - db:deploy now uses the ordering of migrations delivered from db:migrate rather then executing standard templates migrations first and flavour migrations after. - Deleted unnecessary comments. - Creating db and db/migrate directories on setup, if they dont exist already. - Only executing db:deploy if a SQL schema file exists. - Only executing db:deploy if a SQL schema file exists. - A config.ini can be used now for handing over parameters to the database.inc.php - isTemplate was removed from database config and adapter cause it was never used. - Migration directories have to be created manually. - A schema file now also allows other SQL statements than CREATE TABLE, f.e. INSERT or UPDATE. - Changed .gitignore - The only task that automatically creates a database is the deploy task. - Deleted config.example.ini from wrong directory - New Parameter TEMPLATE introduced. - Corrected test execution of existing tests. - Fixed a problem where a classname could only be extracted if a folder was given additionally. - Uniformed @package name to Ruckusing-Migrations - Added tests for new functions of the MySQLAdapter. - Fixed a problem where db:migrate broke because a wrong method was called. - Fixed a problem where migrating by a positive number from a state without executed migrations resulted in one migration to much executed. - Changed the test system. Changed the existing tests to the new functionality. - Replaced some die() with triggererror() to enable unit-testing of it. - Only checking for RUCKUSING_CURRENT_TASK if its defined. - Added option to provide custom migrationfile template. - Adds defined checks. - Merge pull request #1 from supersub0/master - Extends migration template. - Merge pull request #2 from supersub0/master - Ruckusing_MySQLAdaper: Replaced use of mysql-functions with mysqli-functions. - Ruckusing_MySQLAdapter: Added conn variable for escape_string to use mysqli. - Ruckusing_MySQLAdapter: Moves database select back to ensure db exists.

File Changes - M .gitignore https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-0 (8) - A bootstrap.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-1 (65) - R config/config.example.inc.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-2 (21) - A config/config.example.ini https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-3 (3) - A config/database.example.inc.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-4 (31) - D config/database.inc.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-5 (30) - A config/migration_template.example.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-6 (11) - D db/migrate/empty https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-7 (0) - M generate.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-8 (50) - M lib/classes/adapters/class.Ruckusing_MySQLAdapter.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-9 (154) - M lib/classes/class.Ruckusing_BaseAdapter.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-10 (5) - M lib/classes/class.Ruckusing_FrameworkRunner.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-11 (8) - M lib/classes/class.Ruckusing_iAdapter.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-12 (1) - M lib/classes/task/class.Ruckusing_TaskManager.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-13 (4) - M lib/classes/util/class.Ruckusing_MigratorUtil.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-14 (102) - M lib/classes/util/class.Ruckusing_NamingUtil.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-15 (2) - A lib/tasks/class.Ruckusing_DB_Deploy.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-16 (80) - M lib/tasks/class.Ruckusing_DB_Migrate.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-17 (105) - M lib/tasks/class.Ruckusing_DB_Schema.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-18 (28) - M lib/tasks/class.Ruckusing_DB_Setup.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-19 (22) - M lib/tasks/class.Ruckusing_DB_Status.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-20 (10) - M main.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-21 (7) - A tests/config/database.example.inc.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-22 (31) - D tests/dummy/db/migrate/001_CreateUsers.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-23 (1) - D tests/dummy/db/migrate/003_AddIndexToBlogs.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-24 (1) - D tests/dummy/db/migrate/20090122193325_AddNewTable.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-25 (0) - A tests/dummy/db/migrate/flavour/2_CreateEmails.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-26 (13) - A tests/dummy/db/migrate/testtpl/001_CreateUsers.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-27 (13) - A tests/dummy/db/migrate/testtpl/003_AddIndexToBlogs.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-28 (13) - A tests/dummy/db/migrate/testtpl/20090122193325_AddNewTable.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-29 (13) - R tests/dummy/db/migrate/testtpl/dummy.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-30 (0) - A tests/dummy/db/schema_testtpl.txt https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-31 (4) - M tests/test_helper.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-32 (13) - M tests/unit/BaseMigrationTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-33 (11) - A tests/unit/BootstrapTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-34 (77) - A tests/unit/DbDeployTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-35 (103) - A tests/unit/DbMigrateTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-36 (270) - A tests/unit/DbSchemaTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-37 (67) - A tests/unit/DbSetupTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-38 (59) - A tests/unit/DbStatusTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-39 (60) - A tests/unit/DbVersionTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-40 (60) - M tests/unit/MigratorUtilTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-41 (106) - M tests/unit/MySQLAdapterTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-42 (164) - M tests/unit/MySQLTableDefinitionTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-43 (8) - M tests/unit/TaskManagerTest.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-44 (25) - M update_ruckusing_database.php https://github.com/ruckus/ruckusing-migrations/pull/141/files#diff-45 (4)

Patch Links: - https://github.com/ruckus/ruckusing-migrations/pull/141.patch - https://github.com/ruckus/ruckusing-migrations/pull/141.diff

— Reply to this email directly or view it on GitHub https://github.com/ruckus/ruckusing-migrations/pull/141.

토론 #셋

잘못된 출처에 대한 인출 요청을 한 것 같습니다.목적지는 동료의 포크일 것이다.

좋은 웹페이지 즐겨찾기