Last change
on this file since 2396 was
2358,
checked in by price, 15 years ago
|
update git-hooks notes to reflect asynchronous design
|
File size:
915 bytes
|
Rev | Line | |
---|
[2349] | 1 | |
---|
| 2 | |
---|
| 3 | on commit to submodule: |
---|
| 4 | zephyr |
---|
| 5 | nothing else? |
---|
| 6 | |
---|
[2358] | 7 | superrepo heads are dev, prod, and dev-incoming, prod-incoming |
---|
[2349] | 8 | on commit to superrepo: |
---|
[2358] | 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: |
---|
[2349] | 15 | for each changed submodule revision: |
---|
| 16 | (as optimization: if same commit already in dev, just reprepro move) |
---|
| 17 | try to build submodule |
---|
[2350] | 18 | if fail: |
---|
[2358] | 19 | abort whole build |
---|
[2350] | 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) |
---|
[2349] | 23 | tag submodule with version |
---|
| 24 | upload to dev/prod respectively |
---|
[2350] | 25 | clean up built files |
---|
[2358] | 26 | commit to foo |
---|
| 27 | zephyr? |
---|
| 28 | release lock |
---|
| 29 | if fail: |
---|
| 30 | reset foo-incoming to old revision |
---|
| 31 | send mail with log |
---|
[2349] | 32 | zephyr |
---|
[2358] | 33 | release lock |
---|
[2349] | 34 | |
---|
[2358] | 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.