mirror of
https://github.com/Mactronique/cua.git
synced 2026-03-24 04:42:11 +01:00
Compare commits
5 Commits
v2.0.0-bet
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de248f9e99 | ||
|
|
8052a36be3 | ||
|
|
04d2367a5e | ||
|
|
89bed3d960 | ||
|
|
812b5387f6 |
11
.travis.yml
11
.travis.yml
@@ -22,6 +22,7 @@ env:
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: nightly
|
||||
- php: 7.4snapshot
|
||||
- php: 5.6
|
||||
exclude:
|
||||
- php: 7.0
|
||||
@@ -32,9 +33,17 @@ matrix:
|
||||
env: COMPOSER_PREFER="--prefer-lowest"
|
||||
- php: 7.3
|
||||
env: COMPOSER_PREFER="--prefer-lowest"
|
||||
- php: 7.1
|
||||
env: COMPOSER_PREFER="--prefer-stable"
|
||||
- php: 7.2
|
||||
env: COMPOSER_PREFER="--prefer-stable"
|
||||
- php: 7.3
|
||||
env: COMPOSER_PREFER="--prefer-stable"
|
||||
- php: 7.4snapshot
|
||||
env: COMPOSER_PREFER="--prefer-lowest"
|
||||
- php: nightly
|
||||
env: COMPOSER_PREFER="--prefer-lowest"
|
||||
|
||||
script:
|
||||
- composer update -o $COMPOSER_PREFER
|
||||
- vendor/bin/atoum
|
||||
- vendor/bin/atoum
|
||||
|
||||
@@ -218,10 +218,3 @@ This command launch the process for all setting project and store in persistence
|
||||
|
||||
If you want to contribute, please fork my repo, add features or fix bugs and create a new pull request.
|
||||
|
||||
|
||||
# Todo
|
||||
|
||||
[ ] Add script to creating tables on other Database (postgre, mssql, etc.).
|
||||
|
||||
[ ] Get PHP and extentions requirements by the project.
|
||||
|
||||
|
||||
@@ -30,21 +30,20 @@
|
||||
"cua"
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.6",
|
||||
"symfony/console": "^3.0",
|
||||
"symfony/yaml": "^3.0",
|
||||
"symfony/config": "^3.0",
|
||||
"php": ">=5.6 || ^7.0",
|
||||
"symfony/console": "^3.0 || ^4.0",
|
||||
"symfony/yaml": "^3.0 || ^4.0",
|
||||
"symfony/config": "^3.0 || ^4.0",
|
||||
"psr/log": "^1.0",
|
||||
"symfony/process": "^3.0",
|
||||
"symfony/var-dumper": "^3.0",
|
||||
"symfony/finder": "^3.0",
|
||||
"symfony/process": "^3.0 || ^4.0",
|
||||
"symfony/var-dumper": "^3.0 || ^4.0",
|
||||
"symfony/finder": "^3.0 || ^4.0",
|
||||
"doctrine/dbal": "^2.5",
|
||||
"sensiolabs/security-checker": "^5.0",
|
||||
"sensiolabs/security-checker": "^5.0 || ^6.0",
|
||||
"ext-json": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"atoum/atoum": "^3.0",
|
||||
"atoum/autoloop-extension": "*",
|
||||
"atoum/atoum": "^3.0 || dev-master",
|
||||
"atoum/reports-extension": "*"
|
||||
},
|
||||
"extra": {
|
||||
|
||||
993
composer.lock
generated
993
composer.lock
generated
File diff suppressed because it is too large
Load Diff
45
src/Sql/Create_Table_PGSQL.sql
Normal file
45
src/Sql/Create_Table_PGSQL.sql
Normal file
@@ -0,0 +1,45 @@
|
||||
CREATE TABLE "dependencies" (
|
||||
"id" serial NOT NULL PRIMARY KEY,
|
||||
"project" varchar(50) NOT NULL,
|
||||
"library" varchar(250) NOT NULL,
|
||||
"version" varchar(250) NOT NULL,
|
||||
"state" varchar(20) NOT NULL,
|
||||
"to_library" varchar(250) NULL,
|
||||
"to_version" varchar(250) NULL,
|
||||
"deprecated" boolean NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX CONCURRENTLY idx_proj_lib
|
||||
ON dependencies (project, library);
|
||||
|
||||
ALTER TABLE dependencies
|
||||
ADD CONSTRAINT unique_proj_lib
|
||||
UNIQUE USING INDEX idx_proj_lib;
|
||||
|
||||
CREATE INDEX idx_plv
|
||||
ON dependencies (project, library, version);
|
||||
|
||||
CREATE TABLE "security" (
|
||||
"id" serial NOT NULL PRIMARY KEY,
|
||||
"project" varchar(50) NOT NULL,
|
||||
"library" varchar(250) NOT NULL,
|
||||
"version" varchar(250) NOT NULL,
|
||||
"state" varchar(20) NOT NULL,
|
||||
"details" text NOT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE "projects" (
|
||||
"code" varchar(10) NOT NULL PRIMARY KEY,
|
||||
"name" varchar(100) NOT NULL,
|
||||
"path" varchar(255) NOT NULL,
|
||||
"lock_path" varchar(255) NOT NULL,
|
||||
"php_path" varchar(255) NOT NULL,
|
||||
"private_dependencies" text DEFAULT NULL,
|
||||
"private_dependencies_strategy" varchar(10) DEFAULT 'remove',
|
||||
"check_dependencies" boolean DEFAULT NULL,
|
||||
"check_security" boolean DEFAULT NULL,
|
||||
"updated_at" timestamp NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user