git hooks updated to hit Winnie and Debbie web hooks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

git hooks updated to hit Winnie and Debbie web hooks

Sandro Santilli-4
I've updated the git hooks on the GEOS repository to hit Debbie and
Winnie web hooks upon receiving pushes, but it currently only does
so for pushes to the master branch.

Can we have a clear pattern for mapping branch names to web hook
URLs, to make it more general ? Right now it does:

  for branch in ${BRANCHES}; do
    if test "${branch}" = "master"; then
      curl .../GEOS/jobs/GEOS_Master/....
    fi
  done

What are the other available job names ?


--strk;

  ()   Free GIS & Flash consultant/developer
  /\   https://strk.kbt.io/services.html
_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: git hooks updated to hit Winnie and Debbie web hooks

Regina Obe
Strk,

Right now the job names are

For Debbie:
GEOS_Master
GEOS_Branch_3.2

Thru

GEOS_Branch_3.6

For Winnie:

I got to convert the older branches and fix them, but she has

Hers are not that consistent, so I got to rename the branches so you only
got to worry about one set of names.

Assume that Winnie has the same named branches as Debbie and I'll fix.  
I'm only going to go as far back as 3.4 for her though cause the others used
auto tools which failed on some tests.

Anyway even if you call a non-existent branch it would just be ignored.


Thanks,
Regina


-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Saturday, September 02, 2017 7:51 AM
To: [hidden email]
Cc: Paragon Corporation <[hidden email]>
Subject: git hooks updated to hit Winnie and Debbie web hooks

I've updated the git hooks on the GEOS repository to hit Debbie and Winnie
web hooks upon receiving pushes, but it currently only does so for pushes to
the master branch.

Can we have a clear pattern for mapping branch names to web hook URLs, to
make it more general ? Right now it does:

  for branch in ${BRANCHES}; do
    if test "${branch}" = "master"; then
      curl .../GEOS/jobs/GEOS_Master/....
    fi
  done

What are the other available job names ?


--strk;

  ()   Free GIS & Flash consultant/developer
  /\   https://strk.kbt.io/services.html

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: git hooks updated to hit Winnie and Debbie web hooks

Sandro Santilli-4
On Sat, Sep 02, 2017 at 11:09:57AM -0400, Regina Obe wrote:

> GEOS_Master
> GEOS_Branch_3.2
> Thru
> GEOS_Branch_3.6

I've updated the git hook to construct web hooks
with those patterns for both Debbie and Winnie,
let me know if anything goes wrong (and remember to drop
the cron job to get to test it).

--strk;
_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel