Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vMap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marty Fabien
vMap
Commits
3f86c344
Commit
3f86c344
authored
6 years ago
by
Armand Bahi
Browse files
Options
Downloads
Patches
Plain Diff
Ignore properties files
parent
02a3be3e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
utils/init_subtrees.sh
+0
-13
0 additions, 13 deletions
utils/init_subtrees.sh
utils/pull_subtrees.sh
+13
-0
13 additions, 0 deletions
utils/pull_subtrees.sh
with
13 additions
and
13 deletions
utils/init_subtrees.sh
+
0
−
13
View file @
3f86c344
...
...
@@ -35,15 +35,6 @@ if [[ $depsCount > 0 ]]; then
echo
"---- Init conf ----"
git subtree add
--squash
-m
"add subtree"
--prefix
src/closure
"git@gitlab.veremes.net:Development/vitis_apps/sources/closure.git"
master
# fichiers à ignorer
git update-index
--assume-unchanged
conf/properties.json
git update-index
--assume-unchanged
src/vitis/vas/rest/.htaccess
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties_domain.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties_post.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties_server.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/version.inc
# Modules
for
((
i
=
1
;
i <
=
$depsCount
;
i++
))
;
do
if
[
${
aDeps
[
$i
, nature]
}
==
"modules"
]
;
then
...
...
@@ -51,10 +42,6 @@ if [[ $depsCount > 0 ]]; then
# Ajoute le dépôt
git subtree add
--squash
-m
"add subtree"
--prefix
src/
${
aDeps
[
$i
, name]
}
"git@gitlab.veremes.net:Development/vitis_apps/sources/
${
aDeps
[
$i
, name]
}
.git"
${
aDeps
[
$i
, version]
}
# fichiers à ignorer
git update-index
--assume-unchanged
src/
${
aDeps
[
$i
, name]
}
/web_service/conf/properties.inc
git update-index
--assume-unchanged
src/
${
aDeps
[
$i
, name]
}
/web_service/conf/properties_server.inc
git update-index
--assume-unchanged
src/
${
aDeps
[
$i
, name]
}
/web_service/conf/version.inc
fi
done
...
...
This diff is collapsed.
Click to expand it.
utils/pull_subtrees.sh
+
13
−
0
View file @
3f86c344
...
...
@@ -19,6 +19,15 @@ cd ..
echo
"---- Pull vitis ----"
git subtree pull
--prefix
src/vitis
--squash
-m
"pull subtree"
"git@gitlab.veremes.net:Development/vitis_apps/sources/vitis.git"
master
# fichiers à ignorer
git update-index
--assume-unchanged
conf/properties.json
git update-index
--assume-unchanged
src/vitis/vas/rest/.htaccess
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties_domain.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties_post.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/properties_server.inc
git update-index
--assume-unchanged
src/vitis/vas/rest/conf/version.inc
# Modules
if
[[
$depsCount
>
0
]]
;
then
for
((
i
=
1
;
i <
=
$depsCount
;
i++
))
;
do
...
...
@@ -27,6 +36,10 @@ if [[ $depsCount > 0 ]]; then
# Ajoute le dépôt
git subtree pull
--prefix
src/
${
aDeps
[
$i
, name]
}
--squash
-m
"pull subtree"
"git@gitlab.veremes.net:Development/vitis_apps/sources/
${
aDeps
[
$i
, name]
}
.git"
master
# fichiers à ignorer
git update-index
--assume-unchanged
src/
${
aDeps
[
$i
, name]
}
/web_service/conf/properties.inc
git update-index
--assume-unchanged
src/
${
aDeps
[
$i
, name]
}
/web_service/conf/properties_server.inc
git update-index
--assume-unchanged
src/
${
aDeps
[
$i
, name]
}
/web_service/conf/version.inc
fi
done
fi
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