Changes

Jump to navigation Jump to search
Line 18: Line 18:  
A part of Telepathy related code was rewritten to try to minimize regressions from Glucose-0.88 code. The goal is to make Shell's Telepathy related functionality the same level stable as it was in 0.88 before total redesigning Telepathy related code.
 
A part of Telepathy related code was rewritten to try to minimize regressions from Glucose-0.88 code. The goal is to make Shell's Telepathy related functionality the same level stable as it was in 0.88 before total redesigning Telepathy related code.
   −
'''Blacklist activity updater'''
+
'''Blacklist Shell components'''
   −
Sweets Distribution provides Fructose activities. The ones that depend on not trivial dependencies should be used only from native packages. To not let Control panel activity updater install new versions of such activities, it looks for black list files in {{Code|/usr/share/sugar/activities.blacklist}} directory. Files should contain bundle_id values per line. For all these activities, new versions will be ignored in Control panel activity updater. The black list might be overridden by {{Code|/usr/share/sugar/activities.whitelist}} directory files.
+
To make downstream distributing more flexible, Sweets Distribution provides functionality to blacklist usage of particular Shell components. The blocking rules should be place to arbitrary files to {{Code|/usr/share/sugar/blacklist}} directory. The blacklist might be overridden by {{Code|/usr/share/sugar/whitelist}} directory files. Each line in blacklist/whitelist files should contain one rule in format:
 +
 
 +
<CATEGORY> <COMPONENT>
 +
 
 +
Where the {{Code|CATEGORY}} is a type of Shell components and {{Code|COMPONENT}} is an item within the catogory:
 +
 
 +
* '''cpsection'''<br>Control panel sections, components should be directory names from {{Code|/usr/share/sugar/extensions/cpsection}};
 +
 
 +
* '''deviceicon'''<br>Device icon, components should be {{Code|.py}} file names from {{Code|/usr/share/sugar/extensions/deviceicon}} directory;
 +
 
 +
* '''globalkey'''<br>Global key handler, components should be {{Code|.py}} file names from {{Code|/usr/share/sugar/extensions/globalkey}} directory;
 +
 
 +
* '''updater'''<br>Ignore activities while launching activity updates from ''Software update'' Control panel section, components should bundle_id values. For example, Sweets Distribution might provide Fructose activities, the ones that depend on not trivial dependencies should be used only from native packages.
 +
 
 +
# Example of blacklist file
 +
 +
updater    org.laptop.WebActivity  # Depends on broken xulrunner package
 +
cpsection  sweets                  # Downstream distributions do not need it
 +
deviceicon battery.py              # Broken on my system
 +
globalkey  viewsource.py            # Аt the same time...
    
'''Disabled reusing of system users while registration'''
 
'''Disabled reusing of system users while registration'''

Navigation menu