Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lora-Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
MONICA
Lora Gateway
Lora-Project
Commits
4bb82ded
Commit
4bb82ded
authored
5 years ago
by
philip.schell
Browse files
Options
Downloads
Patches
Plain Diff
Update Lora and Lora-Bot
change update.sh so that it init the repositorys
parent
885b92eb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Lora
+1
-1
1 addition, 1 deletion
Lora
Lora-Bot
+1
-1
1 addition, 1 deletion
Lora-Bot
update.sh
+164
-48
164 additions, 48 deletions
update.sh
with
166 additions
and
50 deletions
Lora
@
d6796cf4
Compare
cb9d8824
...
d6796cf4
Subproject commit
cb9d8824d7e466b94341b97f5050a01e5a5f616a
Subproject commit
d6796cf4eb4e9514c3fc386b21d2ca9930c694ac
This diff is collapsed.
Click to expand it.
Lora-Bot
@
f83a8e93
Compare
997a0508
...
f83a8e93
Subproject commit
997a0508531a2c9bd7374a1cc2d443942ce01f99
Subproject commit
f83a8e933a9f964b7ebd8bb6958fe7f2fab74b68
This diff is collapsed.
Click to expand it.
update.sh
+
164
−
48
View file @
4bb82ded
echo
"Switch to subdir Librarys"
cd
Librarys
echo
"Pull litjson"
cd
litjson
git pull
cd
..
echo
"Pull Mono.Posix"
cd
Mono.Posix
git pull
cd
..
echo
"Pull mqtt"
cd
mqtt
git pull
cd
..
echo
"Pull RaspberryIO"
cd
RaspberryIO
git pull
cd
..
cd
..
#!/bin/bash
echo
"Pull Librarys/litjson"
if
[
-a
Librarys/litjson/.git
]
then
cd
Librarys/litjson
git pull
cd
..
cd
..
else
git submodule update
--init
--
Librarys/litjson
cd
Librarys/litjson
git checkout master
cd
..
cd
..
fi
echo
"Pull Librarys/Mono.Posix"
if
[
-a
Librarys/Mono.Posix/.git
]
then
cd
Librarys/Mono.Posix
git pull
cd
..
cd
..
else
git submodule update
--init
--
Librarys/Mono.Posix
cd
Librarys/Mono.Posix
git checkout master
cd
..
cd
..
fi
echo
"Pull Librarys/mqtt"
if
[
-a
Librarys/mqtt/.git
]
then
cd
Librarys/mqtt
git pull
cd
..
cd
..
else
git submodule update
--init
--
Librarys/mqtt
cd
Librarys/mqtt
git checkout master
cd
..
cd
..
fi
echo
"Pull Librarys/RaspberryIO"
if
[
-a
Librarys/RaspberryIO/.git
]
then
cd
Librarys/RaspberryIO
git pull
cd
..
cd
..
else
git submodule update
--init
--
Librarys/RaspberryIO
cd
Librarys/RaspberryIO
git checkout master
cd
..
cd
..
fi
echo
"Pull Lora"
cd
Lora
git pull
cd
..
if
[
-a
Lora/.git
]
then
cd
Lora
git pull
cd
..
else
git submodule update
--init
--
Lora
cd
Lora
git checkout master
cd
..
fi
echo
"Pull Lora-Bot"
cd
Lora-Bot
git pull
cd
..
echo
"Switch to subdir Utils"
cd
Utils
echo
"Pull Bot-Utils"
cd
Bot-Utils
git pull
cd
..
echo
"Pull ConnectorDataMqtt"
cd
ConnectorDataMqtt
git pull
cd
..
echo
"Pull Iot-Interfaces"
cd
Iot-Interfaces
git pull
cd
..
echo
"Pull Utils"
cd
Utils
git pull
cd
..
echo
"Pull Utils-IoT"
cd
Utils-IoT
git pull
cd
..
read
-p
"Press return"
\ No newline at end of file
if
[
-a
Lora-Bot/.git
]
then
cd
Lora-Bot
git pull
cd
..
else
git submodule update
--init
--
Lora-Bot
cd
Lora-Bot
git checkout master
cd
..
fi
echo
"Pull Utils/Bot-Utils"
if
[
-a
Utils/Bot-Utils/.git
]
then
cd
Utils/Bot-Utils
git pull
cd
..
cd
..
else
git submodule update
--init
--
Utils/Bot-Utils
cd
Utils/Bot-Utils
git checkout master
cd
..
cd
..
fi
echo
"Pull Utils/ConnectorDataMqtt"
if
[
-a
Utils/ConnectorDataMqtt/.git
]
then
cd
Utils/ConnectorDataMqtt
git pull
cd
..
cd
..
else
git submodule update
--init
--
Utils/ConnectorDataMqtt
cd
Utils/ConnectorDataMqtt
git checkout master
cd
..
cd
..
fi
echo
"Pull Utils/Iot-Interfaces"
if
[
-a
Utils/Iot-Interfaces/.git
]
then
cd
Utils/Iot-Interfaces
git pull
cd
..
cd
..
else
git submodule update
--init
--
Utils/Iot-Interfaces
cd
Utils/Iot-Interfaces
git checkout master
cd
..
cd
..
fi
echo
"Pull Utils/Utils"
if
[
-a
Utils/Utils/.git
]
then
cd
Utils/Utils
git pull
cd
..
cd
..
else
git submodule update
--init
--
Utils/Utils
cd
Utils/Utils
git checkout master
cd
..
cd
..
fi
echo
"Pull Utils/Utils-IoT"
if
[
-a
Utils/Utils-IoT/.git
]
then
cd
Utils/Utils-IoT
git pull
cd
..
cd
..
else
git submodule update
--init
--
Utils/Utils-IoT
cd
Utils/Utils-IoT
git checkout master
cd
..
cd
..
fi
if
[
-z
"
$1
"
]
then
read
-p
"Please Press key"
fi
\ No newline at end of file
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