You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2012/06/05 23:41:49 UTC

git commit: removed phonegap references, added apache headers, updated windows to windows-phone

Updated Branches:
  refs/heads/master 64823adce -> 98294222c


removed phonegap references, added apache headers, updated windows to windows-phone


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/commit/98294222
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/98294222
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/98294222

Branch: refs/heads/master
Commit: 98294222c3277ea0e2a1400c73452cdbb762f553
Parents: 64823ad
Author: Steven Gill <st...@apache.org>
Authored: Tue Jun 5 14:26:18 2012 -0700
Committer: Steven Gill <st...@apache.org>
Committed: Tue Jun 5 14:26:18 2012 -0700

----------------------------------------------------------------------
 README.md |   63 +------------------------------------------------------
 coho      |   25 +++++++++++++++++++--
 pgap      |   22 -------------------
 3 files changed, 24 insertions(+), 86 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/98294222/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index c80ef98..bbb5a9e 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 COHO
 =======
 
-Coho is a script that automates the release process for building PhoneGap releases. Future releases will hopefully be able to build official Cordova releases.
+Coho is a script that automates the release process for building Apache Cordova releases.
 
 Prerequisites
 -------------
@@ -49,66 +49,7 @@ Usage
 	// runs coho 1.4.0 1.3.0 and the unit tests
 	
 
-
-Manual Process
---------------
-
-1. create directory structure
-2. download repositories
-3. run build scripts
-4. copy necessary files into release folder
-5. generate changelog
-6. zip release folder
-
-
-iOS
- - Pull tagged version of cordova-ios 
- - Check if version file is up to date
- - CD into cordova-ios and run make on a Lion machine
- - Copy DMG file from dist folder into iOS release folder
-
-Android
- - Pull tagged version of cordova-android
- - Check if version file is up to date
- - CD into directory and run create command
- - CD into example/libs, copy phonegap-1.3.0.jar into android release folder
- - CD into example/assets/www/, copy phonegap-1.3.0.js into android release folder
- - CD into example/res, copy xml folder into android release folder
- - Make sure index.html in example/assets/www is correctly referencing phonegap-1.3.0.js
- - Copy example folder into android release folder
-
-BlackBerry
- - Pull tagged version of cordova-blackberry
- - Check if version file is up to date
- - CD into cordova-blackberry and run ant dist
- - Copy contents of dist directory to blackberry release folder
- 
-Windows Phone
- - Pull tagged version of cordova-windows-phone
- - Copy contents of cordova-windows-phone into windows phone release directory
-
-Bada
- - Pull tagged version of cordova-bada 
- - Check if version file is up to date
- - Copy contents of cordova-bada to bada release folder
-
-WebOS
- - Pull tagged version of cordova-webos
- - Check if version file is up to date
- - Copy contents of cordova-web0s to webOS release folder 
-
-Symbian (Has been deprecated)
- - Pull tagged version of cordova-symbian
- - Check if version file is up to date
- - Copy contents of cordova-symbian to symbian release folder
-
-
-Docs
- - Pull tagged version of cordova-docs
- - CD phonegap-docs and run command ./bin/phonegap-docs
- - Copy contents of Public folder into docs release folder
-
 Issues
 ------
 
-Please file all issues at https://github.com/stevengill/coho/issues
\ No newline at end of file
+Please file all issues at https://issues.apache.org/jira/browse/CB
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/98294222/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 6d09e24..d4d709a 100755
--- a/coho
+++ b/coho
@@ -1,3 +1,22 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/
+
 #!/usr/bin/env node
 PLATFORM = process.argv[2]
 if (!PLATFORM) {
@@ -30,7 +49,7 @@ var util           = require('util')
 , androidReleaseBinDir = '../../release/bin/android'
 , androidReleaseLicense = '../../release/bin/android/LICENSE'
 , androidReleaseVersion = '../../release/bin/android/VERSION'
-, windowsReleaseBinDir = '../../release/bin/windows'
+, windowsReleaseBinDir = '../../release/bin/windows-phone'
 , webosReleaseBinDir = '../../release/bin/webos'
 , badaReleaseBinDir = '../../release/bin/bada'
 , badaWacReleaseBinDir = '../../release/bin/badaWac'
@@ -131,7 +150,7 @@ if (PLATFORM === "all" || PLATFORM === "android") {
 
 //windows phone
 if (PLATFORM === "all" || PLATFORM === "wp") {
-	queueCommand("cd temp/release/bin && mkdir windows");
+	queueCommand("cd temp/release/bin && mkdir windows-phone");
     queueCommand("echo 'Building Windows Phone'");
     queueCommand("cd " + tempRepoDir + " && git clone "+windows+" && cd "+windowsdir+" && git fetch --tags && git checkout "+VERSION);
     queueCommand("cd " + tempRepoDir + " && cp -r " + windowsdir + " " + releaseSrcDir);
@@ -198,7 +217,7 @@ if (oldVer != undefined){
 	queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
 	queueCommand("echo 'android' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+androiddir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
-	queueCommand("echo 'windows' >> temp/release/changelog")
+	queueCommand("echo 'windows-phone' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+windowsdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
 	queueCommand("echo 'webos' >> temp/release/changelog")
 	queueCommand("cd " + tempRepoDir + "/"+webosdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/98294222/pgap
----------------------------------------------------------------------
diff --git a/pgap b/pgap
deleted file mode 100755
index 6816e69..0000000
--- a/pgap
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-
-VERSION=$1
-OLDVERSION=$2
-rm -rf temp/release/phonegap
-
-mkdir temp/release/phonegap
-
-cd temp/release/
-unzip bin/cordova-$VERSION-incubating-bin.zip -d phonegap/lib/
-unzip doc/cordova-$VERSION-incubating-doc.zip -d phonegap/doc/
-cp ../repositories/incubator-cordova-android/VERSION phonegap/
-cp changelog phonegap/
-cp KEYS phonegap/
-cp ../../files/README.md phonegap/
-cp ../../license phonegap/
-
-
-
-
-