Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
feat(depiction): customize "brought to you by Reposi3" under the depi…
Browse files Browse the repository at this point in the history
…ction header

customization of the depiction sub-header can be done by
adding a `shortDescription` element on
the
package's info.xml

closes issue #9
  • Loading branch information
supermamon committed Jul 29, 2018
1 parent 60067b9 commit 7617280
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
28 changes: 28 additions & 0 deletions Packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Package: com.supermamon.newpackage
Version: 2.0.0-1
Section: Tweaks
Maintainer: Reposi3 <[email protected]>
Depends: firmware (>7.0), mobilesubstrate
Architecture: iphoneos-arm
Filename: ./debs/com.supermamon.newpackage_2.0.0-1_iphoneos-arm.deb
Size: 854
MD5sum: 85a01c41aaaa72b48b08d9d0a67f3016
Description: This is a sample new package. Firmware should be greater than 7.0
Name: New Package
Author: Reposi3 <[email protected]>
Depiction: https://supermamon.github.io/Reposi3/depictions/?p=com.supermamon.newpackage

Package: com.supermamon.oldpackage
Version: 1.0.0-1
Section: Tweaks
Maintainer: Reposi3 <[email protected]>
Depends: firmware (<7.0)
Architecture: iphoneos-arm
Filename: ./debs/com.supermamon.oldpackage_1.0.0-1_iphoneos-arm.deb
Size: 860
MD5sum: 8c606f0c05217aa2a20949091fe516f0
Description: This is a sample old package. Firmware should be lower than 7.0
Name: Old Package
Author: Reposi3 <[email protected]>
Depiction: https://supermamon.github.io/Reposi3/depictions/?p=com.supermamon.oldpackage

1 change: 1 addition & 0 deletions depictions/com.supermamon.newpackage/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<dependencies>
<package>mobilesubstrate</package>
</dependencies>
<shortDescription>This is a sample new package. Firmware should be greater than 7.0</shortDescription>
<descriptionlist>
<description>This is an package will full depictions.</description>
<description>It has more description lines.</description>
Expand Down
4 changes: 3 additions & 1 deletion depictions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
}
,"#packageVersion" :
{"type":"text","source":"package>version"}
,"#packageShortDesc" :
{"type":"text","source":"package>shortDescription"}
,"#compatibilityCheck" :
{"type":"custom"
,"source":"package>compatibility>firmware"
Expand Down Expand Up @@ -159,7 +161,7 @@
<div id="packageHeader" class="container" style="display:none">
<div class="jumbotron">
<h1 id="packageName"></h1>
<p>brought to you by Reposi3</p>
<p id="packageShortDesc">brought to you by Reposi3</p>
</div>
</div>

Expand Down

0 comments on commit 7617280

Please sign in to comment.