17
0
Files
hamster-time-tracker/0107-metadata.json-remove-version-field.patch
Martin Wilck bbc5f546d0 - cleaned up patch sequence (didn't apply because of fuzz)
* renumber patch: 0103-convenience.js-has-been-removed-in-GNOME-extensions-.patch
  * renumber patch: 0104-Makefile-allow-shipping-convenience.js.patch (was 0005)
  * renumber patch: 0105-metadata.json-mark-GNOME-3.30-as-supported.patch (was 0004)
  * remove patch: 0006-Makefile-don-t-zip.patch
  * add patch: 0106-Fix-installation-instructions-matches-Ubuntu-18.04-T.patch

OBS-URL: https://build.opensuse.org/package/show/Office/hamster-time-tracker?expand=0&rev=12
2020-04-27 16:58:56 +00:00

32 lines
1.1 KiB
Diff

From 3966e79156cdc38a705375c441f6e0eb8952d87b Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Mon, 16 Mar 2020 11:53:45 +0100
Subject: [PATCH 107/130] metadata.json: remove "version" field
The "version" field in the extension meta data is reserved for internal
use on extensions.gnome.org. If at all, the version should be set to a
value that can be used as an argument to python's int() function, which
is not the case for the string we currently use.
The general recommendation is not to use "version" in metadata.json.
See e.g. https://gitlab.gnome.org/Infrastructure/extensions-web/issues/102#note_740134
---
data/metadata.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/data/metadata.json b/data/metadata.json
index 83f2915..27b0a75 100644
--- a/data/metadata.json
+++ b/data/metadata.json
@@ -23,6 +23,5 @@
"3.30"
],
"url": "https://github.com/projecthamster/hamster-shell-extension.git",
- "uuid": "contact@projecthamster.org",
- "version": "0.10.0"
+ "uuid": "contact@projecthamster.org"
}
--
2.26.1