Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/rainbow/docs/registry
blob: 29d7b0dac9c25f31dd6bfe01609d998c029d772c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
== Problem: Bundle Registry & Installer == #2009

  Installing activities is a privileged operation, so Rainbow needs to take it
  over from Sugar. However, Sugar still needs some information about what
  activities are installed. What information does it need?

Situation:

  Presently, several Sugar components rely on direct access to bundles. These
  components include:

    * shell/view/clipboardmenu.py, by Tomeu, which launches activities by
      hitting activityfactory.create_with_uri and by installing the activity
      bundle directly if necessary.

    * bin/sugar-install-bundle, by Tomeu, which is a shell-script wrapper
      around Bundle.install()

    * shell/model/homeactivity.py, by Marco, which uses the bundle to get an
      activity icon.

    * shell/shellservice.py, by Tomeu and Marco, which is the main DBus
      interface to the bundle registry.

    * sugar/activity/activityfactoryservice.py, which does low-level things
      with the bundle for the activity it is eventually going to instantiate.

    * sugar/graphics/objectchooser.py, which uses bundles to get icons.

Plan:

  Need to have a chat with Marco and Tomeu about how to reconcile Sugar's needs
  with Rainbow's.

Followup: