Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E6331872D for ; Wed, 18 Nov 2015 08:48:04 +0000 (UTC) Received: (qmail 78248 invoked by uid 500); 18 Nov 2015 08:48:03 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 78181 invoked by uid 500); 18 Nov 2015 08:48:03 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 78170 invoked by uid 99); 18 Nov 2015 08:48:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 08:48:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0A183DFCC0; Wed, 18 Nov 2015 08:48:03 +0000 (UTC) From: davidamorimfaria To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: CLOUDSTACK-9065: Packaging RPM, add optio... Content-Type: text/plain Message-Id: <20151118084803.0A183DFCC0@git1-us-west.apache.org> Date: Wed, 18 Nov 2015 08:48:03 +0000 (UTC) Github user davidamorimfaria commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1075#discussion_r45172947 --- Diff: packaging/package.sh --- @@ -18,26 +18,37 @@ function usage() { echo "" - echo "usage: ./package.sh [-p|--pack] [-h|--help] [ARGS]" + echo "usage: ./package.sh [-h|--help] -d|--distribution [-r|--release ] [-p|--pack oss|OSS|noredist|NOREDIST] [-s|--simulator default|DEFAULT|simulator|SIMULATOR]" echo "" - echo "The commonly used Arguments are:" - echo "-p|--pack oss|OSS To package with only redistributable libraries (default)" - echo "-p|--pack noredist|NOREDIST To package with non-redistributable libraries" - echo "-d centos7|centos63|fedora20|fedora21 To build a package for a distribution" - echo "-s simulator|SIMULATOR To build for Simulator" + echo "The supported arguments are:" + echo " To package with only redistributable libraries (default)" + echo " -p|--pack oss|OSS" + echo " To package with non-redistributable libraries" + echo " -p|--pack noredist|NOREDIST" + echo " To build a package for a distribution (mandatory)" + echo " -d|--distribution centos7|centos63|fedora20|fedora21" + echo " To set the package release version (optional)" + echo " (default is 1 for normal and prereleases, empty for SNAPSHOT)" + echo " -r|--release version(integer)" + echo " To build for Simulator (optional)" + echo " -s|--simulator default|DEFAULT|simulator|SIMULATOR" + echo " To display this information" + echo " -h|--help" echo "" - echo "Examples: ./package.sh -p|--pack oss|OSS" - echo " ./package.sh -p|--pack noredist|NOREDIST" - echo " ./package.sh (Default OSS)" - exit 1 + echo "Examples: ./package.sh --pack oss" + echo " ./package.sh --pack noredist" + echo " ./package.sh --pack oss --distribution centos7 --release 42" --- End diff -- quick answer, the release is the versioning for the package. Not necessarily related to the content of the package. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---