1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Added support for donate links in the metadata - sooner or later these will be used in the client

This commit is contained in:
Ciaran Gultnieks 2011-01-19 00:12:36 +00:00
parent 986f44f6d5
commit 9e9aa79c44
4 changed files with 10 additions and 0 deletions

5
README
View File

@ -71,6 +71,11 @@ something human-friendly. Machine-readable source-code is covered in the
The URL for the application's issue tracker. Optional, since not all The URL for the application's issue tracker. Optional, since not all
applications have one. applications have one.
==Donate==
The URL to donate to the project. This could be the project's donate page
if it has one, or perhaps even a direct PayPal link.
==Summary== ==Summary==
A brief summary of what the application is. A brief summary of what the application is.

View File

@ -34,6 +34,7 @@ def read_metadata():
thisinfo['web'] = '' thisinfo['web'] = ''
thisinfo['source'] = '' thisinfo['source'] = ''
thisinfo['tracker'] = '' thisinfo['tracker'] = ''
thisinfo['donate'] = ''
thisinfo['disabled'] = None thisinfo['disabled'] = None
thisinfo['antifeatures'] = None thisinfo['antifeatures'] = None
thisinfo['marketversion'] = '' thisinfo['marketversion'] = ''
@ -70,6 +71,8 @@ def read_metadata():
thisinfo['web'] = value thisinfo['web'] = value
elif field == 'Issue Tracker': elif field == 'Issue Tracker':
thisinfo['tracker'] = value thisinfo['tracker'] = value
elif field == 'Donate':
thisinfo['donate'] = value
elif field == 'Disabled': elif field == 'Disabled':
thisinfo['disabled'] = value thisinfo['disabled'] = value
elif field == 'AntiFeatures': elif field == 'AntiFeatures':

View File

@ -2,6 +2,7 @@ License:GPLv2+
Web Site:http://www.fbreader.org/FBReaderJ/ Web Site:http://www.fbreader.org/FBReaderJ/
Source Code:http://www.fbreader.org/FBReaderJ/ Source Code:http://www.fbreader.org/FBReaderJ/
Issue Tracker: Issue Tracker:
Donate:http://www.fbreader.org/donation/make.php
Summary:An e-book reader Summary:An e-book reader
Description: Description:
An e-book reader. An e-book reader.

View File

@ -2,6 +2,7 @@ License:GPLv3
Web Site:http://code.google.com/p/swiftp/ Web Site:http://code.google.com/p/swiftp/
Source Code:http://code.google.com/p/swiftp/source/checkout Source Code:http://code.google.com/p/swiftp/source/checkout
Issue Tracker:http://code.google.com/p/swiftp/issues/list Issue Tracker:http://code.google.com/p/swiftp/issues/list
Donate:http://www.swiftp.org/donate.html
Summary:FTP server Summary:FTP server
Description: Description:
An FTP server allowing remote access to files on your SD card (or any files on the An FTP server allowing remote access to files on your SD card (or any files on the