Changes

no edit summary
Line 1: Line 1: −
<noinclude>
+
{{Obsolete | It was only draft content}}
  {{TOCright}}
+
 
  [[Category:Zero Sugar]]
+
<noinclude>{{TOCright}}
 +
[[Category:Zero Sugar]]
 
</noinclude>
 
</noinclude>
 +
== Summary ==
 +
 +
The GNU/Linux distributions integration feature of Zero Sugar is not intended to follow all the requirements of native packages and cannot be reused for distribution of official repositories, i.e., Zero Sugar is '''NOT''' a meta-packaging tool.
 +
 +
There are only three major ideas behind native distribution support:
 +
* make packages, built on [http://build.opensuse.org/ OBS], reusable for the 0install deployment model;
 +
* as a side effect, Zero packages could be installed on GNU/Linux distributions that OBS supports, also, Zero packages might be reused for OBS-based Sugar distributions;
 +
* Zero Sugar does not support most of the 'devil-in-details' packaging features that make distro people's life so funny.
 +
 +
Each OBS package is generated by the {{Code|0sugar}} tool, and might be built on a bunch of rpm/deb-based distributions within OBS. It is possible to follow regular OBS procedures for Zero packages, e.g., creating links and branching them.
 +
 +
<!--
 +
=== RPM support ===
 +
 +
Each Zero package has ''rpm.spec'' file to support building package on all RPM based distributions that OBS supports. File contains only one line {{Code|%zsugar_spec}} to invoke {{Code|zsugar_spec}} macros which generates spec file content on demand according to current ''0sugar.info'' and ''revision'' files content.
    
== Levels ==
 
== Levels ==
Line 12: Line 28:  
## its decentralized nature, sugar is all about (re)creating activities that should be some how distributed, using only distributors channels decrease sugar values
 
## its decentralized nature, sugar is all about (re)creating activities that should be some how distributed, using only distributors channels decrease sugar values
 
## it supports all existed GNU/Linux distribution efforts e.g. there is no need to repackage already packaged, by distros, software, 0install will use PackageKit to install it
 
## it supports all existed GNU/Linux distribution efforts e.g. there is no need to repackage already packaged, by distros, software, 0install will use PackageKit to install it
 
+
-->
== GNU/Linux distributions ==
  −
 
  −
GNU/Linux distributions integration is not intended to follow all requirements for native packages and in most cases cannot be reused for distribution official repositories. There are only three major ideas behind distribution support:
  −
* run Zero package in particular GNU/Linux distribution using native packaging system
  −
* do not interfere with official packages
  −
* make packages reusable for 0install deployment model
  −
 
  −
Zero Sugar is designed to support primarily [http://build.opensuse.org/ OBS] workflow. Each OBS package is an all-sufficient Zero Sugar entity with one exception, it knows nothing about 0install infrastructure. It is possible to follow regular OBS procedures for Zero packages e.g. creating links and branching them.
  −
 
  −
Within [http://wiki.opensuse.org/openSUSE:Build_Service_supported_build_targets distributions] that OBS supports, Zero Sugar could be considered as meta packaging tool.
  −
 
  −
Each Zero package consist of:
  −
* ''<package-name>.info'' Zero Sugar spec file
  −
* ''<package-name>.changes'' regular OBS changes file
  −
* ''revision'' file with revision number of current version
  −
* ''<package-name>.spec'' stub spec file for rpm based distributions
  −
* stub spec files for deb based distributions
  −
* tarballs with sources
  −
 
  −
=== RPM support ===
  −
 
  −
Each Zero package has ''rpm.spec'' file to support building package on all RPM based distributions that OBS supports. File contains only one line {{Code|%zsugar_spec}} to invoke {{Code|zsugar_spec}} macros which generates spec file content on demand according to current ''0sugar.info'' and ''revision'' files content.