Skip to content

Commit edc1dd4

Browse files
committed
Update docs with the new version
1 parent e4c8b9b commit edc1dd4

7 files changed

+26
-13
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ Please consider that, although AppMArket is widely used by the OpenNebula users,
3535

3636
* [Installation & Configuration](doc/installation_and_configuration.md)
3737
* [Usage](doc/usage.md)
38-
* [Release Notes](doc/release_notes/appmarket-2.0.3.md)
38+
* [Release Notes](doc/release_notes/appmarket-2.1.0.md)
3939

4040
### All Releases
4141

4242
| Version | Date | Release Notes |
4343
| ----------------- | -------------------- | ------------------------------------------------------------------------- |
44+
| 2.1.0 | November, 2015 | [Release Notes 2.1.0](doc/release_notes/appmarket-2.1.0.md) |
4445
| 2.0.3 | November 19th, 2014 | [Release Notes 2.0.3](doc/release_notes/appmarket-2.0.3.md) |
4546
| 2.0.2 | September 18th, 2014 | [Release Notes 2.0.2](doc/release_notes/appmarket-2.0.2.md) |
4647
| 2.0.1 | May 22nd, 2014 | [Release Notes 2.0.1](doc/release_notes/appmarket-2.0.1.md) |
@@ -51,7 +52,12 @@ Please consider that, although AppMArket is widely used by the OpenNebula users,
5152

5253
## Compatibility
5354

54-
This add-on is compatible with OpenNebula >= 4.14.2.
55+
This add-on is compatible with:
56+
57+
| AppMarket Version | OpenNebula Version |
58+
| ----------------- | ------------------ |
59+
| 2.1.0 | 4.14.2 |
60+
| <= 2.0.3 | 4.10, 4.12 |
5561

5662
## Development
5763

doc/installation_and_configuration.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ AppMarket requires:
88

99
* [MongoDB](http://www.mongodb.org/display/DOCS/Quickstart)
1010
* ruby and rubygems installed.
11-
* ''opennebula-common'' package.
12-
13-
If you want to create appliances from an OVA file or convert the format of the appliance you will need to configure at least one AppMarket Worker.
1411

1512
Install AppMarket
1613
-----------------
@@ -56,6 +53,8 @@ The following commands are necessary in any of the previous cases to install the
5653
gem 'bcrypt-ruby'
5754
gem 'opennebula-cli'
5855

56+
If you find problems installing nokogiri in your distribution, check the following [guide](http://www.nokogiri.org/tutorials/installing_nokogiri.html)
57+
5958
Upgrade AppMarket
6059
-----------------
6160

gen_all_packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License. #
1717
#------------------------------------------------------------------------------#
1818

19-
export VERSION=${VERSION:-4.14.2}
19+
export VERSION=${VERSION:-2.1.0}
2020
export SCRIPTS_DIR=$(cd `dirname $0`; pwd)/packages
2121

2222
rm -rf $SCRIPTS_DIR; mkdir -p $SCRIPTS_DIR

gen_package.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# limitations under the License. #
1717
#------------------------------------------------------------------------------#
1818

19-
VERSION=${VERSION:-2.0.3}
19+
VERSION=${VERSION:-2.1.0}
2020
MAINTAINER=${MAINTAINER:-OpenNebula Systems <contact@opennebula.systems>}
2121
LICENSE=${LICENSE:-Apache}
2222
VENDOR=${VENDOR:-OpenNebula Systems}
@@ -53,6 +53,7 @@ done
5353

5454
SCRIPTS_DIR=${SCRIPTS_DIR:-PWD}
5555

56+
[ $PACKAGE_TYPE = rpm ] && PKGARGS="--rpm-os linux"
5657
NAME="${PACKAGE_NAME}_${VERSION}.${PACKAGE_TYPE}"
5758
rm $NAME
5859

@@ -72,7 +73,7 @@ cp init-scripts/${INIT_SCRIPT}.${PACKAGE_TYPE} $DESTDIR/etc/init.d/${INIT_SCRIPT
7273

7374
cd tmp
7475

75-
fpm -n "$PACKAGE_NAME" -t "$PACKAGE_TYPE" -s dir --vendor "$VENDOR" \
76+
fpm -n "$PACKAGE_NAME" -t "$PACKAGE_TYPE" $PKGARGS -s dir --vendor "$VENDOR" \
7677
--license "$LICENSE" --description "$DESCRIPTION" --url "$URL" \
7778
-m "$MAINTAINER" -v "$VERSION" \
7879
$DEP_STRING \

src/bin/appmarket-db

+8-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ require 'init'
4444
##############################################################################
4545
##############################################################################
4646

47-
UPGRADE_SCRIPTS = [10980, 10985, 10990, 20000, 20001, 20002, 20003]
47+
UPGRADE_SCRIPTS = [10980, 10985, 10990, 20000, 20001, 20002, 20003, 200100]
4848

4949
module Version10985
5050
VERSION = "1.9.85"
@@ -128,6 +128,13 @@ module Version20003
128128
end
129129
end
130130

131+
module Version200100
132+
VERSION = "2.1.0"
133+
VERSION_CODE = 200100
134+
def self.upgrade
135+
end
136+
end
137+
131138
def call_upgrade_script(script_name)
132139
puts "Applying [#{script_name}] upgrade"
133140
module_name = Object.const_get("Version"+script_name.to_s)

src/config/appmarket_version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module AppMarket
2-
VERSION = "2.0.3"
2+
VERSION = "2.1.0"
33

4-
VERSION_CODE = 20003
4+
VERSION_CODE = 200100
55

66
VERSION_TEXT = <<EOT
77
AppMarket #{AppMarket::VERSION}

src/version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
module OneApps
1818

1919
# OpenNebula version
20-
VERSION = '4.14.2'
20+
VERSION = '2.1.0'
2121

2222
VERSION_TEXT = <<EOT
2323
AppMarket #{OneApps::VERSION}
24-
Copyright 2002-2015, OpenNebula Project (OpenNebula.org), OpenNebula Systems
24+
Copyright 2002-2015, OpenNebula Project, OpenNebula Systems
2525
2626
Licensed under the Apache License, Version 2.0 (the "License"); you may
2727
not use this file except in compliance with the License. You may obtain

0 commit comments

Comments
 (0)