Aller au contenu

Featured Replies

Posté(e)

In this subject, I will describe how a SPK is built and specifications to make SPKs.

INFO

  • install_dep_packages="pacakgeA>2.2.2:packageB"

This field introduce a dependency with packageA > version 2.2.2 and packageB. If those SPKs aren't installed on the user's platform, an error message will be produced mentioning the requirements

  • 1 mois après...
Posté(e)

All INFO file fields (except reloadui ?) are specified in the official documentation page 27 through 30.

The arch key can be filled with multiple space separated values :


arch="arch1 arch2 arch3"

This can be useful to check both 88f6281 and 88f6282 architectures as all 88f6281 packages are compatible with 88f6282, so use

arch="88f6281 88f6282"

instead of

arch="88f6281"

Anyway Package Server will manage it wink.png

Posté(e)

Package Server will match the following arch values for 88f628x architecture :


arch="88f6281"

arch="88f6281 88f6282"

arch="88f6282 88f6281"

arch="88f628x"

According to the following regular expression :

^88f628(1([ \t]+88f6282)?|2[ \t]+88f6281|x)$

Maybe there is a beter way to write it. 88f6282 specific packages must use

arch="88f6282"

  • 5 mois après...
Posté(e)

New fields were added to Package Server :

  • beta (boolean) : "yes"/"no" (unofficial)
  • thirdparty (boolean) : "yes"/"no"
  • startable (boolean) : "yes"/"no"

See http://download.syno...loper_Guide.pdf for more informations.

Useless fields (for now) :

  • sdkmodversion (string) : "1.0"
  • sdkshareversion (string) : "2.0"
  • sdknetifnameversion (string) : "1.0"

Seen in Media Server INFO file http://usdl.synology.com/download/packages/MediaServer-88f628x-1.0-2201.spk

Modifié par PiwiLAbruti

  • 7 mois après...
Posté(e)

Le catalogue des paquets est sur un nouveau serveur à partir du DSM 4.2 et les échanges avec ce serveur se font en HTTPS :

Tout ce qu'il me manque c'est l'URL du nouveau dépôt.

Pour le reste j'ai presque tout trouvé dans les scripts (/usr/syno/synoman/webman/modules/PkgManApp) et dans le cache du nouveau Centre de paquets (/volume1/@tmp/pkglist.tmp/).

Je vais ajouter les nouveaux champs du catalogue et des INFO à la base de données et générer les catalogues selon la version de DSM utilisée.

Par la suite on pourra agrémenter les paquets avec des icônes (72px et 120px), des captures d'écran, ... B)

En DSM 4.2, un paquet est représenté de la manière suivante dans le catalogue :

{
    "beta": true,
    "category": 2,
    "changelog": "1. Ajout de la possibilité de faire glisser-déplacer les photos et vidéos dans le navigateur lors du chargement de fichiers depuis l'ordinateur local.<br>2. Amélioration de la fonction de recherche pour permettre la recherche basée sur les identifications.<br>3. Ajout de la fonction pour créer des albums intelligents pour filtrer les fichiers selon des critères de recherche spécifiques.<br>4. Prise en charge des identifications de personnes de la Galerie de photos Windows Live.<br>5. Meilleure intégration avec les réseaux sociaux Qzone et Sina Weibo.",
    "desc": "Photo Station est un album photo en ligne intégré avec un blog pour que vous puissiez partager facilement vos photos, vidéos et blogs sur Internet. Par ailleurs, vous pouvez également parcourir les photos et regarder les vidéos stockées sur votre DiskStation avec votre iPhone, iPhone et mobiles Android tout en vous déplaçant.",
    "desc_enu": "Photo Station is an online photo album integrated with a blog for you to easily share photos, videos, and blog over the Internet. Moreover, you can also browse photos and watch videos saved on your DiskStation with your iPhone, iPad and Android mobiles on the go.",
    "dname": "Photo Station",
    "download_count": 1131298,
    "link": "http://ukdl.synology.com/download/spk/PhotoStation/5.2-2372/PhotoStation-88f628x-5.2-2372.spk",
    "maintainer": "Synology Inc.",
    "md5": "46e4ce0ba882ffc44a83dbf9bbfbbe23",
    "package": "PhotoStation",
    "price": 0,
    "qinst": true,
    "qstart": true,
    "recent_download_count": 385446,
    "size": 8980480,
    "snapshot": ["
", "
", "
", "
"],
    "start": true,
    "thumbnail": ["
", "
"],
    "type": 0,
    "version": "5.2-2372"
}

Des questions ? Des idées ?

Modifié par PiwiLAbruti

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.