Skip to content

Add package information to front matter

The front matter of an app now looks like this:

{"layout"=>"default",
 "added"=>"2011-01-17",
 "bitcoin"=>"15u8aAPK4jJ5N8wpWJ5gutAyyeHtKX5i18",
 "categories"=>"System",
 "changelog"=>"https://gitlab.com/fdroid/fdroidclient/raw/HEAD/CHANGELOG.md",
 "description"=>
  "<p>Connects to F-Droid compatible repositories. The default repo is hosted at f-droid.org, which contains only bona fide FOSS.</p><p>Android is open in the sense that you are free to install apks from anywhere you wish, but there are many good reasons for using a client/repository setup:</p><ul><li> Be notified when updates are available</li><li> Keep track of older and beta versions</li><li> Filter apps that aren't compatible with the device</li><li> Find apps via categories and searchable descriptions</li><li> Access associated urls for donations, source code etc.</li><li> Stay safe by checking repo index signatures and apk hashes</li></ul>",
 "donate"=>"https://f-droid.org/about",
 "flattr"=>"343053",
 "icon"=>"org.fdroid.fdroid.103001.png",
 "issueTracker"=>"https://gitlab.com/fdroid/fdroidclient/issues",
 "lastUpdated"=>"2017-04-04",
 "license"=>"GPL-3.0+",
 "suggestedVersionCode"=>"102150",
 "suggestedVersion"=>"0.102.1",
 "package"=>"org.fdroid.fdroid",
 "sourceCode"=>"https://gitlab.com/fdroid/fdroidclient",
 "summary"=>"Application manager",
 "title"=>"F-Droid",
 "webSite"=>"https://f-droid.org",
 "beautifulURL"=>"/packages/org.fdroid.fdroid",
 "packages"=>
  [{"added"=>"2017-04-04",
    "apkName"=>"org.fdroid.fdroid_103001.apk",
    "hash"=>"543f4c9d5b26e4583038cff03d3000aa8ab01a69f5bee40c7c2501945c40d46b",
    "permissions"=>
     ["ACCESS_WIFI_STATE",
      "CHANGE_WIFI_STATE",
      "BLUETOOTH_ADMIN",
      "WRITE_SETTINGS",
      "CHANGE_NETWORK_STATE",
      "NFC",
      "INTERNET",
      "WRITE_EXTERNAL_STORAGE",
      "BLUETOOTH",
      "ACCESS_SUPERUSER",
      "CHANGE_WIFI_MULTICAST_STATE",
      "ACCESS_NETWORK_STATE",
      "READ_EXTERNAL_STORAGE",
      "RECEIVE_BOOT_COMPLETED"],
    "sdkVersion"=>"10",
    "sig"=>"9063aaadfff9cfd811a9c72fb5012f28",
    "size"=>"6353672",
    "srcName"=>"org.fdroid.fdroid_103001_src.tar.gz",
    "targetSdkVersion"=>"24",
    "version"=>"0.103-alpha1",
    "versionCode"=>"103001"},
    [...]
  ]}

Merge request reports