Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
<noinclude>
 
<noinclude>
 
{{TOCright}}
 
{{TOCright}}
[[Category:Services/Documentation]]
+
[[Category:Zero Sugar]]
 
</noinclude>
 
</noinclude>
   −
== Service.info file ==
+
== 0sugar.info file ==
   −
The ''service.info'' specification file is an analog of scenario files in regular GNU/Linux distributions, like .spec files in RPM.
+
The {{Code|0sugar.info}} specification file is an analog of scenario files in regular GNU/Linux distributions, like .spec files in RPM.
    
=== [DEFAULT] ===
 
=== [DEFAULT] ===
Line 18: Line 18:  
   import = <filename> [, ...]
 
   import = <filename> [, ...]
   −
=== [Service] ===
+
=== [Package] ===
   −
This is required section. It describes the main service feed - service.xml (service can contain optional sub feeds, see below).
+
This is required section. It describes the main package.
    
'''inherit'''
 
'''inherit'''
Line 30: Line 30:  
'''uid'''
 
'''uid'''
   −
The identity of this service, this field defines the name of feed's root directory on the server http://services.sugarlabs.org/ as well. Only lower alphabetic, numeric, "_" or "-" symbols are allowed.
+
The identity of this package, this field, for example, defines the name of 0install feed. Only lower alphabetic, numeric, "_" or "-" symbols are allowed.
   −
   uid = <service-id>
+
   uid = <package-id>
    
'''name'''
 
'''name'''
   −
Service name in free form, equals to uid by default.
+
Package name in free form, equals to uid by default.
   −
   name = <service-name>
+
   name = <package-name>
    
'''summary'''
 
'''summary'''
Line 54: Line 54:  
'''licence'''
 
'''licence'''
   −
Service license. Short licence names from [http://fedoraproject.org/wiki/Licensing Fedora naming scheme] are welcome.
+
License. Short licence names from [http://fedoraproject.org/wiki/Licensing Fedora naming scheme] are welcome.
    
   license = <licence-name>
 
   license = <licence-name>
Line 63: Line 63:     
   homepage = <url>
 
   homepage = <url>
 +
 +
'''version'''
 +
 +
Current version of package.
 +
 +
'''stability'''
 +
 +
Stability level of current version. Values could be:
 +
* insecure
 +
* buggy
 +
* developer
 +
* testing
 +
* stable
    
'''requires'''
 
'''requires'''
Line 78: Line 91:  
'''binding'''
 
'''binding'''
   −
What environment variables, 0install should export to process which uses this service.
+
What environment variables, 0install should export to process which uses this package.
    
   binding = [prepend|append|replace] <variable-name> [<insert-text-to-prepand-variable-value>] [, ...]
 
   binding = [prepend|append|replace] <variable-name> [<insert-text-to-prepand-variable-value>] [, ...]
Line 135: Line 148:  
'''arch'''
 
'''arch'''
   −
Makes sense only for binary services and can contain:
+
Makes sense only for binary packages and can contain:
    
* ''*'' for noarch (by default)
 
* ''*'' for noarch (by default)

Navigation menu