Add to tags

Add new parameters category, categories, website
Update example of browse activity
Add more description of already defined parameters from https://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#.info_file_format

Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>
This commit is contained in:
Vipul Gupta (@vipulgupta2048) 2018-10-24 16:48:44 +11:00 committed by James Cameron
parent 13fc98e193
commit c7a7dcea7d

View File

@ -12,11 +12,10 @@
# #
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the # License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# Boston, MA 02111-1307, USA. # MA 02110-1301 USA
''' '''
Activity Metadata Activity Metadata
================= =================
@ -30,8 +29,7 @@ an `[Activity]` header on the first line:
1.2.3, 1.2.3-country, or 1.2.3~developer, 1.2.3, 1.2.3-country, or 1.2.3~developer,
* `bundle_id` - the activity bundle identifier, using [Java package * `bundle_id` - the activity bundle identifier, using [Java package
naming naming conventions](http://en.wikipedia.org/wiki/Java_package#Package_naming_conventions),
conventions](http://en.wikipedia.org/wiki/Java_package#Package_naming_conventions),
should conform to the [D-Bus specification for message protocol should conform to the [D-Bus specification for message protocol
names](http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names)(hyphens names](http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names)(hyphens
are not allowed), usually an organisation or individual domain name are not allowed), usually an organisation or individual domain name
@ -58,8 +56,7 @@ Optional metadata keys are;
files of these MIME types. Used to offer your activity when opening a files of these MIME types. Used to offer your activity when opening a
downloaded file or a journal object. downloaded file or a journal object.
* `url` - link to a home page or user documentation on * `url` - link to a home page or user documentation on https://help.sugarlabs.org/,
https://help.sugarlabs.org/,
* `repository` - link to repository for activity code, for use by git clone, * `repository` - link to repository for activity code, for use by git clone,
@ -71,7 +68,7 @@ Optional metadata keys are;
* `tags` - a semicolon or whitespace delimited list of keywords that * `tags` - a semicolon or whitespace delimited list of keywords that
describe the activity. Suggested keywords are Programming, describe the activity. Suggested keywords are Programming,
Robotics, Internet, Science, Maths, Language, Geography, Documents, Robotics, Internet, Science, Maths, Language, Geography, Game, Documents,
Music, Media, Art, Teacher, or System, Music, Media, Art, Teacher, or System,
* `show_launcher` - if set to "no", the activity is not shown in list view, * `show_launcher` - if set to "no", the activity is not shown in list view,
@ -120,16 +117,16 @@ Example `activity.info`
[Activity] [Activity]
name = Browse name = Browse
bundle_id = org.laptop.WebActivity bundle_id = org.laptop.WebActivity
exec = sugar-activity webactivity.WebActivity exec = sugar-activity webactivity.WebActivity -s
activity_version = 200 activity_version = 200
icon = activity-web icon = activity-web
max_participants = 100 max_participants = 100
summary = Surf the world! summary = Surf the world!
license = GPL-3.0+ license = GPLv2+;LGPLv2+;GPLv3+
repository = https://github.com/sugarlabs/browse-activity.git repository = https://github.com/sugarlabs/browse-activity.git
url = https://help.sugarlabs.org/en/browse.html url = https://help.sugarlabs.org/en/browse.html
tags = Utilities;Web tags = Utilities;Internet
metadata_license = CC0-1.0 metadata_license = CC0-1.0
description: description: