GitHub user justinleet opened a pull request:

    https://github.com/apache/incubator-metron/pull/353

    METRON-533: Up the version for release

    Updating the version from 0.2.1BETA to 0.3.0 throughout the code.  This 
includes altering the Ambari mpack to appropriately handle the version, along 
with Ansible files to ensure dev environments function appropriately.
    
    To test this, the mpack, quick dev, full dev were spun up, with some data 
passed through topologies, and generally ensuring things worked as expected.
    
    I have not included the write up, but mostly because I'm unsure where the 
best place to put it is.  The root README doesn't seem like the right place, 
because that's more a general project overview. Anything below root is too 
hidden for project wide instructions.  The wiki has potential, but we'd need to 
figure out exactly where we want to put it. If someone has a location they 
think is appropriate, please weigh in.
    
    Preliminary writeup for commentary, feel free to give feedback or have me 
clear up anything that's a little opaque.
    
    > Updating the version of Metron
    There are a couple steps in order to properly update the version of Metron 
throughout the project.
    >1) Find and replace the instances of the current version number (e.g. 
0.2.1BETA) with the new version number (e.g. 0.3.0).  These instances appear in 
the various pom.xml files, READMEs, along with some of the files for both 
Ansible and Ambari management pack deployments.  Note that caution should be 
used to avoid unnecessary changes, because these strings could appear in tests 
or configuration (e.g. 10.0.3.0 contains '0.3.0' and should not be replaced).
    >2) Rename 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/<old_version>
 to 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/<new_version>
    >3) Rename 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/addon-services/METRON/<old_version>
 to 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/addon-services/METRON/<new_version>
    >4) Alter 
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/<version>/service_advisor.py.
  This file contains a class, e.g. METRON021BETAServiceAdvisor (for version 
0.2.1BETA).  The middle portion should be moved to the new version and make 
sure to drop separators (e.g. 0.3.0 has METRON030ServiceAdvisor).
    >5) Ensure tests, development environments, and management pack continue to 
function correctly.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/justinleet/incubator-metron METRON-533

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/353.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #353
    
----
commit 85719fcda8ddab46bd38e3bb654743fd4a91a3a3
Author: justinjleet <[email protected]>
Date:   2016-11-10T20:38:48Z

    Up the version for release

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to