source: trunk/scripts/git-hooks/notes @ 2357

Last change on this file since 2357 was 2350, checked in by price, 16 years ago

revise pseudocode in notes to be more robust

File size: 663 bytes
RevLine 
[2349]1
2
3on commit to submodule:
4  zephyr
5  nothing else?
6
7superrepo heads are dev, prod
8on 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
23This makes a long pre-receive process.  Is that cool?
24Probably is the right thing.
25
Note: See TracBrowser for help on using the repository browser.