Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible
@ 2011-03-15 10:18 Martin Jansa
  2011-03-15 10:18 ` [PATCH 1/1] create-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedded.org/openembedded-core-contrib Martin Jansa
  2011-03-15 11:17 ` [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Jansa @ 2011-03-15 10:18 UTC (permalink / raw)
  To: openembedded-core

Pull URL: git://git.openembedded.org/openembedded-core-contrib
  Branch: jansa/scripts
  Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/scripts

Thanks,
    Martin Jansa <Martin.Jansa@gmail.com>
---


Martin Jansa (1):
  create-pull-request: switch URL from git.pokylinux.org/poky-contrib
    to git.openembedded.org/openembedded-core-contrib

 scripts/create-pull-request |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] create-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedded.org/openembedded-core-contrib
  2011-03-15 10:18 [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible Martin Jansa
@ 2011-03-15 10:18 ` Martin Jansa
  2011-03-15 11:17 ` [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2011-03-15 10:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 scripts/create-pull-request |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 5ad7666..784b48c 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -2,7 +2,8 @@
 ODIR=pull-$$
 RELATIVE_TO="master"
 COMMIT_ID="HEAD"
-PULL_URL="git://git.pokylinux.org/poky-contrib.git"
+PULL_URL="git://git.openembedded.org/openembedded-core-contrib"
+WEB_URL_PREFIX="http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h="
 PREFIX="PATCH"
 
 usage() {
@@ -14,7 +15,7 @@ Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to
   -m msg_body_file    The file containing a blurb to be inserted into the summary email
   -r relative_to      Starting commit (default: master)
   -i commit_id        Ending commit (default: HEAD)
-  -b contrib_branch   Branch-name in the git.pokylinux.org/poky-contrib tree
+  -b contrib_branch   Branch-name in the $PULL_URL
   -s subject          The subject to be inserted into the summary email
   -p prefix           Use [prefix N/M] instead of [PATCH N/M] as the subject prefix
 
@@ -69,7 +70,7 @@ fi
 
 # Perform a sanity test on the web URL. Issue a warning if it is not
 # accessible, but do not abort as users may want to run offline.
-WEB_URL="http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=$CONTRIB_BRANCH"
+WEB_URL="$WEB_URL_PREFIX$CONTRIB_BRANCH"
 wget -q $WEB_URL -O /dev/null
 if [ $? -ne 0 ]; then
     echo "WARNING: Branch '$CONTRIB_BRANCH' was not found on the contrib git tree."
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible
  2011-03-15 10:18 [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible Martin Jansa
  2011-03-15 10:18 ` [PATCH 1/1] create-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedded.org/openembedded-core-contrib Martin Jansa
@ 2011-03-15 11:17 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-03-15 11:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-03-15 at 11:18 +0100, Martin Jansa wrote:
> Pull URL: git://git.openembedded.org/openembedded-core-contrib
>   Branch: jansa/scripts
>   Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/scripts
> 
> Thanks,
>     Martin Jansa <Martin.Jansa@gmail.com>
> ---
> 
> 
> Martin Jansa (1):
>   create-pull-request: switch URL from git.pokylinux.org/poky-contrib
>     to git.openembedded.org/openembedded-core-contrib
> 
>  scripts/create-pull-request |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)

Merged to master, thanks.

Richard





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-15 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 10:18 [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible Martin Jansa
2011-03-15 10:18 ` [PATCH 1/1] create-pull-request: switch URL from git.pokylinux.org/poky-contrib to git.openembedded.org/openembedded-core-contrib Martin Jansa
2011-03-15 11:17 ` [PATCH 0/1] scripts/create-pull-request: update URL and reuse variables where possible Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox