From 2f9ae6ef51ec0845537eaa3aad6083fda35f7780 Mon Sep 17 00:00:00 2001 From: Sam Parkinson Date: Sat, 16 Jul 2016 07:55:57 +1000 Subject: [PATCH] Bundlebuilder: relabel repository url as bugtracker Many activities already have the repository url pointing to their GitHub page - which also serves as a bug tracker for many of the projects. The repository url is not part of the spec, but the bug tracker url is. --- src/sugar3/activity/bundlebuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar3/activity/bundlebuilder.py b/src/sugar3/activity/bundlebuilder.py index 57a83f5a..313909b9 100644 --- a/src/sugar3/activity/bundlebuilder.py +++ b/src/sugar3/activity/bundlebuilder.py @@ -461,7 +461,7 @@ class Installer(Packager): ET.SubElement(root, 'url', type='homepage').text = \ info.get('Activity', 'url') if info.has_option('Activity', 'repository_url'): - ET.SubElement(root, 'url', type='repository').text = \ + ET.SubElement(root, 'url', type='bugtracker').text = \ info.get('Activity', 'repository_url') path = os.path.join(prefix, 'share', 'metainfo',