Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
908a0ef5
Commit
908a0ef5
authored
Jun 18, 2019
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
Amélioration de la comm autour des script de pré/post migration
parent
4dc99a72
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
admin/actions/update.php
+1
-1
1 addition, 1 deletion
admin/actions/update.php
admin/src/OseAdmin.php
+1
-0
1 addition, 0 deletions
admin/src/OseAdmin.php
bin/ose
+3
-2
3 additions, 2 deletions
bin/ose
with
5 additions
and
3 deletions
admin/actions/update.php
+
1
−
1
View file @
908a0ef5
...
...
@@ -36,7 +36,6 @@ $c->passthru([
"cd
$osedir
"
,
"git checkout tags/
$version
"
,
]);
$oa
->
writeVersion
(
$osedir
,
$version
);
// Récupération des dépendances
$c
->
println
(
"
\n
Mise à jour des dépendances à l'aide de Composer"
,
$c
::
COLOR_LIGHT_CYAN
);
...
...
@@ -55,6 +54,7 @@ $res = $oa->majUnicaenSymLinks($osedir);
$c
->
println
(
$res
?
'Liens mis à jour'
:
'Liens déjà à jour'
,
$c
::
COLOR_LIGHT_GREEN
);
// Conclusion
$oa
->
writeVersion
(
$osedir
,
$version
);
$c
->
println
(
"
\n
Fin de la mise à jour des fichiers"
,
$c
::
COLOR_LIGHT_GREEN
);
$c
->
println
(
"
\n
Mise à jour de la base de données"
,
$c
::
COLOR_LIGHT_CYAN
);
...
...
This diff is collapsed.
Click to expand it.
admin/src/OseAdmin.php
+
1
−
0
View file @
908a0ef5
...
...
@@ -178,6 +178,7 @@ class OseAdmin
*/
public
function
migration
(
string
$prePost
=
'pre'
):
bool
{
$this
->
console
->
println
(
'Exécution des scripts de '
.
$prePost
.
'-migration'
,
$this
->
console
::
COLOR_LIGHT_CYAN
);
$tags
=
$this
->
getTags
(
1
);
foreach
(
$tags
as
$i
=>
$tag
)
{
$tag
=
strtolower
(
$tag
);
...
...
This diff is collapsed.
Click to expand it.
bin/ose
+
3
−
2
View file @
908a0ef5
...
...
@@ -10,7 +10,8 @@ spl_autoload_register(function ($class) {
$c
=
new
Console
();
$oa
=
new
OseAdmin
(
$c
);
$oa
->
oldVersion
=
$oa
->
version
=
$oa
->
currentVersion
();
$oa
->
version
=
$oa
->
currentVersion
();
$oa
->
oldVersion
=
$oa
->
version
;
$c
->
printMainTitle
(
"OSE"
,
15
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment