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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marty Fabien
vMap
Commits
578f9827
Commit
578f9827
authored
Oct 16, 2018
by
Armand Bahi
Browse files
Options
Downloads
Patches
Plain Diff
Ingore properties files
parent
d1327b32
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
utils/init_subtrees.sh
+13
-0
13 additions, 0 deletions
utils/init_subtrees.sh
utils/pull_subtrees.sh
+0
-13
0 additions, 13 deletions
utils/pull_subtrees.sh
with
13 additions
and
13 deletions
utils/init_subtrees.sh
+
13
−
0
View file @
578f9827
...
...
@@ -35,6 +35,15 @@ 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
...
...
@@ -42,6 +51,10 @@ 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
+
0
−
13
View file @
578f9827
...
...
@@ -18,14 +18,6 @@ cd ..
# Vitis
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 les modifications
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
...
...
@@ -35,11 +27,6 @@ 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