commit 71435fd3805effe47f7219d19e3ca93817866e04
Author: Elan Ruusamäe <[email protected]>
Date:   Wed May 4 00:02:36 2016 +0300

    builder: push also notes
    
    seems to be working, having tested this few weeks
    
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-April/024797.html
    
    if this still breaks, then you should had responded in mailing list...

 builder.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/builder.sh b/builder.sh
index 4fba97d..978412d 100755
--- a/builder.sh
+++ b/builder.sh
@@ -962,7 +962,10 @@ get_spec() {
                                                echo "Warning: package not in 
CVS - assuming new package"
                                                NOCVSSPEC="yes"
                                        }
-                                       git config --local --add 
"remote.$REMOTE_PLD.fetch"  'refs/notes/*:refs/notes/*'
+                                       git config --local --add 
"remote.$REMOTE_PLD.fetch" 'refs/notes/*:refs/notes/*'
+                                       git config --local --add 
"remote.$REMOTE_PLD.push" 'refs/notes/*:refs/notes/*'
+                                       git config --local --add 
"remote.$REMOTE_PLD.push" HEAD
+                                       git config --local push.default current
                                        git remote set-url --push  $REMOTE_PLD 
ssh://${GIT_PUSH}/${PACKAGES_DIR}/${ASSUMED_NAME}
                                )
                        fi
@@ -973,7 +976,10 @@ get_spec() {
                                fi
                                git init
                                git remote add $REMOTE_PLD 
${GIT_SERVER}/${PACKAGES_DIR}/${ASSUMED_NAME}.git
-                               git config --local --add 
"remote.$REMOTE_PLD.fetch"  'refs/notes/*:refs/notes/*'
+                               git config --local --add 
"remote.$REMOTE_PLD.fetch" 'refs/notes/*:refs/notes/*'
+                               git config --local --add 
"remote.$REMOTE_PLD.push" 'refs/heads/*:refs/remotes/origin/*'
+                               git config --local --add 
"remote.$REMOTE_PLD.push" HEAD
+                               git config --local push.default current
                                git remote set-url --push  $REMOTE_PLD 
ssh://${GIT_PUSH}/${PACKAGES_DIR}/${ASSUMED_NAME}
                                CVSTAG=${CVSTAG:-"master"}
                        fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/71435fd3805effe47f7219d19e3ca93817866e04

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to