| 
                Last change
                  on this file since 2349 was
                  2349,
                  checked in by price, 17 years ago
           | 
        
        
          | 
               
begin to sketch git pre-receive hook 
 
           | 
        
        | 
            File size:
            475 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 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 | 
|---|
| 12 |     if fail, abort -- whole commit, probably; else | 
|---|
| 13 |     tag submodule with version | 
|---|
| 14 |     upload to dev/prod respectively | 
|---|
| 15 |   actually commit | 
|---|
| 16 |   zephyr | 
|---|
| 17 |  | 
|---|
| 18 | This makes a long pre-receive process.  Is that cool? | 
|---|
| 19 | Probably is the right thing. | 
|---|
| 20 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.