Jean-Yves Gaulier
6cb9e8b80b
PHRAS-1055 #time 1m
...
- fix vocabulary (flag)
2016-04-04 14:44:39 +02:00
Jean-Yves Gaulier
05b2c876ef
PHRAS-1055 #time 2h
...
- cleanup
- add option "--reset_subdef_flag"
- add option "--set_writemeta_flag"
2016-04-04 14:41:20 +02:00
Jean-Yves Gaulier
0f40eb5861
PHRAS-1055 #time 1m
...
- cleanup
2016-04-04 14:41:20 +02:00
Jean-Yves Gaulier
4e37af6386
PHRAS-1055 #time 2h
...
- change lone argument (databox) to option "--databox" (mandatory)
- add option "--missing_only" to create missing subdefs after structure change.
- add option "--garbage_collect" to remove orphan subdefs left by structure change.
2016-04-04 14:41:19 +02:00
Jean-Yves Gaulier
81b636d4de
PHRAS-1055 #time 5h
...
- better error handling
- argument "databox" can be specified as id, dbname or viewname
- add option "--partition=n/N"
- argument "type" changed to option "--record_type=a,b,c" (can also be set as "--record_type=a,b --record_type=c")
- argument "subdefs" changed to option "--name=x,y,z" (can also be set as "--name=x,y --name=z")
- option "--with-substitution" changed to "--with_substituted"
- option "--substitution-only" changed to "--substituted-only"
2016-04-04 14:41:19 +02:00
Jean-Yves Gaulier
95683735b6
PHRAS-1055 #time 5h
...
- add option --dry
- add verbose print (-v)
- add "ALL" for type and subdef arguments
- fix "substitute" options
- fix show sql with arguments
2016-04-04 14:41:19 +02:00
Jean-Yves Gaulier
fe6bb51351
PHRAS-1055 #time 1h
...
- no bug concerning --max_record
- add try/catch so the job don't stop on errors
2016-04-04 14:41:19 +02:00
Benoît Burnichon
11abedd0ed
Convert some SQL to HEREDOCS
2016-03-29 15:28:42 +02:00
Benoît Burnichon
e10e83dd36
Fix issue with improper count SQL
2016-03-29 15:28:19 +02:00
Benoît Burnichon
03e0dbae52
reduce duplication and refactor BuildSubdefs Command
2016-03-15 12:24:58 +01:00
Jean-Yves Gaulier
12912a309a
PHRAS-374 #time 3h
...
fix : console build-subdefs can build non existing subdefs, ex. after adding a new subdef name in admin.
2015-09-02 13:49:31 +02:00
Benoît Burnichon
6e651f3b07
Replace app['phraseanet.appbox']->get_databox using trait
2015-07-02 12:27:26 +02:00
Jean-Yves Gaulier
a0815afcd5
- restore task interfaces
...
- remove task "phraseanet-indexer"
todo :
task "recordmover"
2015-04-29 14:48:22 +02:00
Nicolas Le Goff
4cdc95ff3b
PHRAS-374 #fix
2015-02-17 12:35:39 +01:00
Nicolas Le Goff
8fb20ac54e
PHRAS-374 #fix
2015-02-11 17:42:47 +01:00
Nicolas Le Goff
10c3869ca3
PHRAS-374 Add command to rebuild subdefs
2015-01-21 16:14:45 +01:00