WordPress.org

Making WordPress.org


Ignore:
Timestamp:
09/07/2016 06:02:21 AM (5 years ago)
Author:
dd32
Message:

GitHub Sync: Add support for the application/x-www-form-urlencoded webhook format and add documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/dotorg/github-sync/feature-plugins.sh

    r2295 r3983  
    11#!/bin/bash
    22
    3 GITHUB_URL=$1;
     3GITHUB_REPO=$1;
    44SVN_PLUGIN=$2;
    55
     
    1616
    1717# Validate all Parameters are present
    18 if [ ! $GITHUB_URL ] || [ ! $SVN_PLUGIN ] || [ ! $PHP_SVN_USER ] || [ ! $PHP_SVN_PASSWORD ]; then
     18if [ ! $GITHUB_REPO ] || [ ! $SVN_PLUGIN ] || [ ! $PHP_SVN_USER ] || [ ! $PHP_SVN_PASSWORD ]; then
    1919    echo "Invalid Input, missing parameter"; exit 1
    2020fi
    2121
     22GITHUB_URL="git://github.com/$GITHUB_REPO.git"
    2223SVN_URL="https://plugins.svn.wordpress.org/$SVN_PLUGIN/trunk/"
    2324ASSETS_SVN_URL="https://plugins.svn.wordpress.org/$SVN_PLUGIN/assets/"
Note: See TracChangeset for help on using the changeset viewer.