Re: post-receive hook

2017-01-09 Thread Sandro Knauß
Hey,

> > yes exactly I'm talking about pkg-kde repos on alioth - sorry I was not
> > that
> > precise in my first mail: here is the diff (git.debian.org):
> We can try it for sure, specially if we have those scripts on a git repo,
> which I think you did now (although I don't know if it's autosyncing)

The repo is now created pkg-kde/alioth-tooling.git . Currently I only add 
links at the base dir (/git/pkg-kde/ to the checkout of the repo /home/groups/
pkg-kde/alioth-tooling/), so everything should work without any change. In 
future we wanna replace every link to base dir to a link to the checkout.

* no auto checkout / I did not found a way to trigger an pull/checkout of the 
master branch. The detection if the master branch is push works sucessfully, 
but not the checkout  - Any hints? /git/pkg-kde/alioth-tooling.git/hooks/post-
receive 

#bin/sh 
while read oldrev newrev ref
do
if [ "$ref" = "refs/heads/master" ]; then
echo "Master ref received. Deploying master branch..."
git --work-tree=/home/groups/pkg-kde/alioth-tooling --git-dir=/git/
pkg-kde/alioth-tooling.git  checkout -f
else
echo "Ref $ref successfully received.  Doing nothing: only the master 
branch may be deployed on this server."
fi
done

unfortunately the pending-tag script is not triggered correctly, because it 
needs to called with oldrev newrev ref instead of line any ideas?

Best Regards,

sandro

signature.asc
Description: This is a digitally signed message part.
-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk

Re: post-receive hook

2017-01-08 Thread Lisandro Damián Nicanor Pérez Meyer
On sábado, 31 de diciembre de 2016 18:12:41 ART Sandro Knauß wrote:
> Hey,
> 
> > Sorry but I don't get you. Are you talking about adding a hook in alioth's
> > repos?
> 
> yes exactly I'm talking about pkg-kde repos on alioth - sorry I was not that
> precise in my first mail: here is the diff (git.debian.org):

We can try it for sure, specially if we have those scripts on a git repo, 
which I think you did now (although I don't know if it's autosyncing)


-- 
Bebe a bordo (pero con moderación)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.
-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk

Re: post-receive hook

2016-12-31 Thread Sandro Knauß
Hey,

> Sorry but I don't get you. Are you talking about adding a hook in alioth's
> repos?

yes exactly I'm talking about pkg-kde repos on alioth - sorry I was not that 
precise in my first mail: here is the diff (git.debian.org):

--- /git/pkg-kde/pkgkde-post-receive-hook~  2016-01-05 12:54:43.989698779 
+
+++ /git/pkg-kde/pkgkde-post-receive-hook   2016-12-25 14:32:25.007579406 
+
@@ -1,4 +1,6 @@
 #!/bin/sh
 read line
 /git/pkg-kde/git-commit-notice $line
 /git/pkg-kde/debian-to-neon-post-receive $line
+# https://wiki.debian.org/Alioth/Git#Setting_up_hooks
+/usr/local/bin/git-post-receive-tag-pending $line

Best regards,

sandro

signature.asc
Description: This is a digitally signed message part.
-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk

Re: post-receive hook

2016-12-26 Thread Lisandro Damián Nicanor Pérez Meyer
On domingo, 25 de diciembre de 2016 15:48:58 ART Sandro Knauß wrote:
> Hey,
> 
> i want to enable the pending tag adding when i'll update kde git repos. So
> far I looked into https://wiki.debian.org/Alioth/Git#Setting_up_hooks
> and added /usr/local/bin/git-post-receive-tag-pending to post-receive hook.
> 
> Hopefully this change is in interest of everyone.

Sorry but I don't get you. Are you talking about adding a hook in alioth's 
repos?

-- 
So that's it - insecure, indiscriminate, user-hostile, slow, and full
of difficult, nit-picking people. Any other online community would
count each of these strengths as a terrible flaw. Perhaps wiki works
because the other online communities don't.
  PeterMerel about wikis

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.
-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-talk