Developers should check out only master branch.
In Mozc repository, it's only master branch where we basically do not
change existing commit histories and commit hashes unless we
exceptionally have to do that. Since any other branches are basically
used for development purpose, it is not recommended to check them out
unless needed. Hence this CL updates documents and Dockerfile for
developers to not check them out accidentally.
Yohei Yukawa
8 years ago
19 | 19 |
```
|
20 | 20 |
mkdir -p ~/work
|
21 | 21 |
cd ~/work
|
22 | |
git clone https://github.com/google/mozc.git --recursive
|
|
22 |
git clone https://github.com/google/mozc.git -b master --single-branch --recursive
|
23 | 23 |
```
|
24 | 24 |
|
25 | 25 |
# Compilation
|
34 | 34 |
```
|
35 | 35 |
mkdir c:\work
|
36 | 36 |
cd c:\work
|
37 | |
git clone https://github.com/google/mozc.git --recursive
|
|
37 |
git clone https://github.com/google/mozc.git -b master --single-branch --recursive
|
38 | 38 |
```
|
39 | 39 |
|
40 | 40 |
# Compilation
|
5 | 5 |
You can check out Mozc [2.17.2287.102](https://github.com/google/mozc/commit/ab4569e73bca8d2375262d243f362c7b848646da) as follows.
|
6 | 6 |
|
7 | 7 |
```
|
8 | |
git clone https://github.com/google/mozc.git
|
|
8 |
git clone https://github.com/google/mozc.git -b master --single-branch
|
9 | 9 |
cd mozc
|
10 | 10 |
git checkout ab4569e73bca8d2375262d243f362c7b848646da
|
11 | 11 |
git submodule update --init --recursive
|
|
30 | 30 |
You can check out Mozc [2.17.2284.102](https://github.com/google/mozc/commit/be24638ab360c39995ab2c10e34ab9b269e39dac) as follows.
|
31 | 31 |
|
32 | 32 |
```
|
33 | |
git clone https://github.com/google/mozc.git
|
|
33 |
git clone https://github.com/google/mozc.git -b master --single-branch
|
34 | 34 |
cd mozc
|
35 | 35 |
git checkout be24638ab360c39995ab2c10e34ab9b269e39dac
|
36 | 36 |
git submodule update --init --recursive
|
|
58 | 58 |
You can check out Mozc [2.17.2240.102](https://github.com/google/mozc/commit/95de40fa884d693172605e7283ec82233a908b29) as follows.
|
59 | 59 |
|
60 | 60 |
```
|
61 | |
git clone https://github.com/google/mozc.git
|
|
61 |
git clone https://github.com/google/mozc.git -b master --single-branch
|
62 | 62 |
cd mozc
|
63 | 63 |
git checkout 95de40fa884d693172605e7283ec82233a908b29
|
64 | 64 |
git submodule update --init --recursive
|
|
100 | 100 |
You can check out Mozc [2.17.2123.102](https://github.com/google/mozc/commit/e398317a086a78c0cf0004505eb8f56586e925b2) as follows.
|
101 | 101 |
|
102 | 102 |
```
|
103 | |
git clone https://github.com/google/mozc.git
|
|
103 |
git clone https://github.com/google/mozc.git -b master --single-branch
|
104 | 104 |
cd mozc
|
105 | 105 |
git checkout e398317a086a78c0cf0004505eb8f56586e925b2
|
106 | 106 |
git submodule update --init --recursive
|
57 | 57 |
ENV PATH $PATH:/home/mozc_builder/work/depot_tools
|
58 | 58 |
|
59 | 59 |
# check out Mozc source with submodules
|
60 | |
RUN git clone https://github.com/google/mozc.git --recursive
|
|
60 |
RUN git clone https://github.com/google/mozc.git -b master --single-branch --recursive
|
61 | 61 |
|
62 | 62 |
WORKDIR /home/mozc_builder/work/mozc/src
|
63 | 63 |
ENTRYPOINT bash
|
73 | 73 |
ENV PATH $PATH:/home/mozc_builder/work/depot_tools
|
74 | 74 |
|
75 | 75 |
# check out Mozc source with submodules
|
76 | |
RUN git clone https://github.com/google/mozc.git --recursive
|
|
76 |
RUN git clone https://github.com/google/mozc.git -b master --single-branch --recursive
|
77 | 77 |
|
78 | 78 |
WORKDIR /home/mozc_builder/work/mozc/src
|
79 | 79 |
ENTRYPOINT bash
|