cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidamorimfaria <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9065: Packaging RPM, add optio...
Date Wed, 18 Nov 2015 08:31:50 GMT
Github user davidamorimfaria commented on the pull request:

    https://github.com/apache/cloudstack/pull/1075#issuecomment-157643811
  
    This is the package release version number, nothing to do with the thing that is packaged.
    
    Its purpose is to allow for this script to be used with an automated package builder,
and thus create a unique package version with each iteration, for example using a jenkins
job number instead of always being "1". Also, having a distinct package version makes the
package directly usable in a yum repository without having to nuke the repodata because of
signature mismatches for files that were rebuild using the same name (and package version).
    
    It is also not only the file name that is changed. If you instpect the repo you will see
it in the "Release" details:
    ```
    [root@CLOUD-REPO x86_64]# rpm -qip cloudstack-common-4.6.0-SNAPSHOT4.el7.centos.x86_64.rpm

    Name        : cloudstack-common
    Version     : 4.6.0
    Release     : SNAPSHOT4.el7.centos
    Architecture: x86_64
    Install Date: (not installed)
    Group       : System Environment/Libraries
    Size        : 112901174
    License     : ASL 2.0
    Signature   : (none)
    Source RPM  : cloudstack-4.6.0-SNAPSHOT4.el7.centos.src.rpm
    Build Date  : ma 16 nov 2015 19:00:45 UTC
    Build Host  : 597e5453e780
    Relocations : (not relocatable)
    Packager    : Apache CloudStack <dev@cloudstack.apache.org>
    Vendor      : Apache CloudStack <dev@cloudstack.apache.org>
    Summary     : Apache CloudStack common files and scripts
    Description :
    The Apache CloudStack files shared between agent and management server
    ```
    
    ```
    [root@CLOUD-REPO x86_64]# rpm -qip cloudstack-common-4.6.0-1.el7.centos.x86_64.rpm 
    Name        : cloudstack-common
    Version     : 4.6.0
    Release     : 1.el7.centos
    Architecture: x86_64
    Install Date: (not installed)
    Group       : System Environment/Libraries
    Size        : 112894853
    License     : ASL 2.0
    Signature   : (none)
    Source RPM  : cloudstack-4.6.0-1.el7.centos.src.rpm
    Build Date  : di 17 nov 2015 13:22:29 UTC
    Build Host  : dec63b100baa
    Relocations : (not relocatable)
    Packager    : Apache CloudStack <dev@cloudstack.apache.org>
    Vendor      : Apache CloudStack <dev@cloudstack.apache.org>
    Summary     : Apache CloudStack common files and scripts
    Description :
    The Apache CloudStack files shared between agent and management server
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message