Last change
on this file since 2350 was
2350,
checked in by price, 16 years ago
|
revise pseudocode in notes to be more robust
|
File size:
663 bytes
|
Rev | Line | |
---|
[2349] | 1 | |
---|
| 2 | |
---|
| 3 | on commit to submodule: |
---|
| 4 | zephyr |
---|
| 5 | nothing else? |
---|
| 6 | |
---|
| 7 | superrepo heads are dev, prod |
---|
| 8 | on commit to superrepo: |
---|
| 9 | for each changed submodule revision: |
---|
| 10 | (as optimization: if same commit already in dev, just reprepro move) |
---|
| 11 | try to build submodule |
---|
[2350] | 12 | if fail: |
---|
| 13 | abort whole commit |
---|
| 14 | clean up any previous packages' built files, maybe keep this one's around |
---|
| 15 | remember package and version |
---|
| 16 | for each changed submodule revision: (if we're still going) |
---|
[2349] | 17 | tag submodule with version |
---|
| 18 | upload to dev/prod respectively |
---|
[2350] | 19 | clean up built files |
---|
[2349] | 20 | actually commit |
---|
| 21 | zephyr |
---|
| 22 | |
---|
| 23 | This makes a long pre-receive process. Is that cool? |
---|
| 24 | Probably is the right thing. |
---|
| 25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.