devel-versioning.rst
changeset 1098 db420d971363
parent 1097 6acae85ed54b
child 1099 97e0815972e0
equal deleted inserted replaced
1097:6acae85ed54b 1098:db420d971363
    69   major.current.age
    69   major.current.age
    70 
    70 
    71 Its conventional to have at least a major and minor number.
    71 Its conventional to have at least a major and minor number.
    72 
    72 
    73 Prefixing version with a "v" seems to be less common.
    73 Prefixing version with a "v" seems to be less common.
       
    74 
       
    75 Version in package/release name.
       
    76 ================================
       
    77 ::
       
    78 
       
    79   PACKAGE-MAJ.MIN.FIX.tar.gz   (Common style)
       
    80   PACKAGE-MAJ.MIN.FIX.zip
       
    81   PACKAGE-MAJ.MIN.FIX-DISTROFIX.tar.gz  (Cygwin style)
       
    82   PACKAGE_EPOCH:MAJ.MIN.FIX-DISTROFIX_ARCH.deb (Debian style)
       
    83 
       
    84 From "Debian Policy Manual"::
       
    85 
       
    86   Package names must consist only of lower case letters (`a-z'), digits
       
    87   (`0-9'), plus (`+') and minus (`-') signs, and periods (`.').  They
       
    88   must be at least two characters long and must start with an
       
    89   alphanumeric character.
       
    90 
       
    91 If you look carefully there are no any ``_`` (underscore) chars!! Also ``-`` is
       
    92 portable char in file name accoding to POSIX.
    74 
    93 
    75 Versioning for libraries/modules/components.
    94 Versioning for libraries/modules/components.
    76 ============================================
    95 ============================================
    77 
    96 
    78 Major version component.
    97 Major version component.