linuxmint / cinnamon-spices-applets

Applets for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
GNU General Public License v2.0
630 stars 521 forks source link

cinnamon-spices-applets

Validate spices

This repository hosts all the applets available for the Cinnamon desktop environment.

Users can install spices from https://cinnamon-spices.linuxmint.com, or directly from within Cinnamon -> System Settings.

Definitions

UUID

Each spice is given a name which uniquely identifies them.

That name is their UUID and it is unique.

Author

Each spice has an author.

The github username of the author is specified in the spice's info.json file.

File structure

A spice can contain many files, but it should have the following file structure:

There are two important directories:

As you can see, the content of the spice isn't placed inside UUID/files/ directly, but inside UUID/files/UUID/ instead. This guarantees files aren't extracted directly onto the file system, but placed in the proper UUID directory. The presence of this UUID directory, inside of files/ isn't actually needed by Cinnamon (as Cinnamon creates it if it's missing), but it is needed to guarantee a proper manual installation (i.e. when users download the ZIP from the Cinnamon Spices website).

Important note:

At the root level:

Validation

To check if a spice with UUID satifies those requirements run the validate-spice script in this repo:

./validate-spice UUID

Development

To facilitate easier testing of Applets locally, run the test-spice script in this repo:

Validate and then copy a Spice with UUID:

./test-spice UUID

Skip validation (not recommended) and then copy a Spice with UUID:

./test-spice -s UUID

Remove all locally installed development copies of Spices:

./test-spice -r

NOTE: Local copies of Spices for development/testing purposes will have a devtest- prefix attached for easier identification and cleanup.

Rights and responsibility of the author

The author is in charge of the development of the spice.

Authors can modify their spice under the following conditions:

Authors are able to accept or refuse changes from other people which modify the features or the look of their spice.

Authors may choose to pass on development of their applet to someone else. In that case, the "author" field in UUID/info.json will be changed to the new developer and the "original_author" field will be added to give credit to the original developer.

If an author abandons their applet, the Linux Mint team will take over maintenance of the applet or pass it on to someone else. Several factors are used to determine if an applet is abandoned, including prolonged activity, failure to respond to requests, and serious breakages that have occurred due to changes in API, etc. If you plan to abandon an applet, please notify us, so we don't have to guess as to whether it is abandoned or not.

Pull requests from authors and workflow

To modify a spice, developers create a Pull Request.

Members of the cinnamon-spices-developers team review the pull request.

If the author of the pull request is the spice author (his github username matches the author field in UUID/info.json), the reviewer only has to perform the following checks:

If everything is fine, the PR is merged, the website is updated and users can see a spice update in System Settings.

Pull requests from other people

In addition to the checks specified above, if the pull request comes from somebody other than the author, it will be held until the author reviews it or gives a thumbs-up, with the following exceptions:

If the changes represent a change in functionality, or in look and feel, or if their implementation could be questioned and/or discussed, the reviewer should leave the PR open and ask the author to review it.

If the author is happy with the PR, it can then be merged. If he's not, it can either be closed or updated to reflect any changes the author requested, at which point it will either be merged or the author may be asked to review the changes depending on whether it is clear the changes fully meet the author's requirements.

Deletions

Authors are entitled to remove their spice.

The Cinnamon team is also entitled to do so. Common reasons are lack of maintenance, critical bugs, or if the features are already provided, either by Cinnamon itself, or by another spice which is more successful.

Additions

New spices can be added by Pull Request.

The Cinnamon team can accept or reject the addition and should give justification in the PR comments section.

Reporting Bugs and Creating Pull Requests

See the Guidelines for Contributing.

Translations

The script cinnamon-spices-makepot in this repo was written to help authors to update their translation template (.pot) file and to help translators to test their translations.

Updating a translation template .pot:

./cinnamon-spices-makepot UUID

Test your translations .po locally before uploading to Spices:

./cinnamon-spices-makepot UUID --install

More info:

./cinnamon-spices-makepot --help

Translations Status Tables

The spices receive updates which sometimes contain new or updated strings that need to be translated. The translation status tables were created to give translators a better overview of the current state of translations and also to make it easier to track where new untranslated strings appear.

To ensure that these tables are always up-to-date, they are automatically regenerated whenever a new commit is pushed to the master branch.

Javascript feature backward compatibility table

(incomplete)

To determine the backward compatibility of a javascript feature, look at it's page on mdm web docs to see in which version of Firefox it was introduced. Then compare with the table below.

Mint
Version
CodenameRelease DateCinnamon
Version
Firefox version
(CJS JS engine)
17Qiana31 May 142.2.14
17.1Rebecca29 Nov 142.4.6
17.2Rafaela30 Jun 152.6.13
17.3Rosa4 Dec 152.8.7
18Sarah30 Jun 163.0.7
18.1Serena16 Dec 163.2.8
18.2Sonya2 Jul 173.4.4
18.3Sylvia27 Nov 173.6.7
19Tara29 Jun 183.8.852
19.1Tessa19 Dec 184.0.9
19.2Tina2 Aug 194.2.3
19.3Tricia18 Dec 194.4.8
20*Ulyana27 Jun 204.6.7
20.1Ulyssa8 Jan 214.8.678
20.2Uma8 Jul 215.0.5
20.3Una7 Jan 225.2.7
21*Vanessa31 Jul 225.4.12
21.1Vera20 Dec 225.6.8
21.2Victoria16 Jul 235.8.4102
21.3Virginia12 Jan 246.0.4
22Wilma6.2.x115

*Mint 20 series is officially supported until Apr 2025, 21 series until Apr 2027. Earlier versions official support has ended.