Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
docker-qt-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qtwaylandtests
docker-qt-tests
Commits
570d26d3
Commit
570d26d3
authored
Mar 21, 2018
by
Johan Helsing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clone submodules with depth 1 and support commit-ish
parent
7ae6990f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
clone-qt.sh
clone-qt.sh
+12
-4
No files found.
clone-qt.sh
View file @
570d26d3
#!/bin/bash
set
-ex
branch
=
5.11
#maybe set this from the Dockerfile
qt5_rev
=
5.11
#maybe set this from the Dockerfile
qtwayland_rev
=
5.11
rm
-rf
qt5
git clone
--depth
1
--branch
$branch
git://code.qt.io/qt/qt5.git
mkdir
qt5
cd
qt5
git submodule update
--init
--
qtbase qtxmlpatterns qtdeclarative qtwayland
git init
git remote add origin https://codereview.qt-project.org/qt/qt5.git
git fetch
--depth
1 origin
"
$qt5_rev
"
git checkout FETCH_HEAD
git submodule update
--init
--depth
1
--
qtbase qtxmlpatterns qtdeclarative qtwayland
cd
qtwayland
git checkout
$branch
git fetch
--depth
1 origin
"
$qtwayland_rev
"
git checkout FETCH_HEAD
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment