Last change
on this file since 2397 was
2358,
checked in by price, 15 years ago
|
update git-hooks notes to reflect asynchronous design
|
File size:
915 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | on commit to submodule: |
---|
4 | zephyr |
---|
5 | nothing else? |
---|
6 | |
---|
7 | superrepo heads are dev, prod, and dev-incoming, prod-incoming |
---|
8 | on commit to superrepo: |
---|
9 | reject commits to dev, prod |
---|
10 | grab lock or fail |
---|
11 | spawn build process |
---|
12 | zephyr |
---|
13 | |
---|
14 | in build process for foo-incoming: |
---|
15 | for each changed submodule revision: |
---|
16 | (as optimization: if same commit already in dev, just reprepro move) |
---|
17 | try to build submodule |
---|
18 | if fail: |
---|
19 | abort whole build |
---|
20 | clean up any previous packages' built files, maybe keep this one's around |
---|
21 | remember package and version |
---|
22 | for each changed submodule revision: (if we're still going) |
---|
23 | tag submodule with version |
---|
24 | upload to dev/prod respectively |
---|
25 | clean up built files |
---|
26 | commit to foo |
---|
27 | zephyr? |
---|
28 | release lock |
---|
29 | if fail: |
---|
30 | reset foo-incoming to old revision |
---|
31 | send mail with log |
---|
32 | zephyr |
---|
33 | release lock |
---|
34 | |
---|
35 | Maybe there could be something sane without the lock? It'd require |
---|
36 | more thought. |
---|
Note: See
TracBrowser
for help on using the repository browser.