Meego Wiki
Views

SDK/Managing MADDE Components proposal

From MeeGo wiki
< SDK(Difference between revisions)
Jump to: navigation, search
(description:)
(categorise, wikify lists)
 
(One intermediate revision not shown)
Line 1: Line 1:
We need a mechanism to add/remove/upgrade MADDE components(mainly sysroots and runtimes).FeatureZilla number:  
We need a mechanism to add/remove/upgrade MADDE components(mainly sysroots and runtimes).FeatureZilla number:  
-
<li>9411: SDK sysroot maintenance  
+
* 9411: SDK sysroot maintenance  
-
<li>9415: SDK extensibility
+
* 9415: SDK extensibility
== Option 1: mad-admin update ==
== Option 1: mad-admin update ==
Line 8: Line 8:
=== pros ===
=== pros ===
-
<li>
 
-
Easy to update: Just put the new config files into the web server directory and we are done.
 
-
<li>
+
* Easy to update: Just put the new config files into the web server directory and we are done.
-
Can list available components after updating.
+
* Can list available components after updating.
 +
* Windows can use this feature without modification
 +
* Integrated with MADDE, can be used in other targets such as Maemo.
-
<li>Windows can use this feature without modification
+
=== cons ===
-
<li> Integrated with MADDE, can be used in other targets such as Maemo.
+
 +
* No upgrade notification.
 +
* User have to list all available components, maybe too much as time goes on.
-
=== cons ===
+
==== comments ====
-
<li>
+
 
-
No upgrade notification.
+
Tomi:
-
<li> User have to list all available components, maybe too much as time goes on.
+
 
 +
* No different than with apt-get/yum. Maybe by default mad-admin update informs there are updates.
 +
* overwriting configuration file and mark older targets as 'hidden' will make those targets invisible by default output. Already created targets are visible, though.
 +
 
 +
Also, if the repository url can be given from command line that might be dangerous -- via social engineering one can persuade naive user to update the configuration from malicious source; therefore the script should not offer alternative download addresses... unless package signing is taken into use...
== Option 2: OBS packages ==
== Option 2: OBS packages ==
Line 28: Line 33:
=== Pros ===
=== Pros ===
-
<li>Can dynamically install/remove/upgrade components  
+
 
-
<li>Upgrade notification
+
* Can dynamically install/remove/upgrade components  
 +
* Upgrade notification
=== Cons ===
=== Cons ===
-
<li>Can only be used in Linux, windows have to implement its own mechanism.
 
-
<li>More work to packaging.
+
* Can only be used in Linux, windows have to implement its own mechanism.
 +
* More work to packaging.
 +
* Kind of functionality duplication of MADDE config files.
 +
* MeeGo Linux only
-
<li>Kind of functionality duplication of MADDE config files.
+
[[Category:SDK]]
-
<li>MeeGo Linux only
+

Latest revision as of 09:44, 13 April 2011

We need a mechanism to add/remove/upgrade MADDE components(mainly sysroots and runtimes).FeatureZilla number:

  • 9411: SDK sysroot maintenance
  • 9415: SDK extensibility

Contents

Option 1: mad-admin update

description:

Publish new configration files in a directory of a web server. Developer can use "mad-admin update" to download and overwrite the current config files. This way, we can describe new targets/runtimes and other components in the config files or modify existing components.

pros

  • Easy to update: Just put the new config files into the web server directory and we are done.
  • Can list available components after updating.
  • Windows can use this feature without modification
  • Integrated with MADDE, can be used in other targets such as Maemo.

cons

  • No upgrade notification.
  • User have to list all available components, maybe too much as time goes on.

comments

Tomi:

  • No different than with apt-get/yum. Maybe by default mad-admin update informs there are updates.
  • overwriting configuration file and mark older targets as 'hidden' will make those targets invisible by default output. Already created targets are visible, though.

Also, if the repository url can be given from command line that might be dangerous -- via social engineering one can persuade naive user to update the configuration from malicious source; therefore the script should not offer alternative download addresses... unless package signing is taken into use...

Option 2: OBS packages

description:

Create a package each component (or only its config file) in OBS.

Pros

  • Can dynamically install/remove/upgrade components
  • Upgrade notification

Cons

  • Can only be used in Linux, windows have to implement its own mechanism.
  • More work to packaging.
  • Kind of functionality duplication of MADDE config files.
  • MeeGo Linux only
Personal tools