You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by thushara35 <gi...@git.apache.org> on 2014/09/23 14:13:13 UTC

[GitHub] stratos pull request: Adding changes related to sed -i for mac osx

GitHub user thushara35 opened a pull request:

    https://github.com/apache/stratos/pull/53

    Adding changes related to sed -i for mac osx

    This change is mainly due to incompatibility issues occurred in stratos when user run it on a mac os x.
    A work around solution is to use gsed instead of sed.
    How to install gsed in mac osx:
       i. Installed homebrew(http://brew.sh/)
        $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
        ii. Installed gnu-sed
        $ brew install gnu-sed
    
    changes are made in:
    stratos / tools / stratos-installer /
      demo.sh, ec2.sh,openstack.sh, setup.sh and vcloud.sh
    stratos / tools / stratos-installer / scripts /
      add_entry_zone_file.sh and remove_entry_zone_file.sh 
    
    Other than that this change also include syntax errors which can be found in setup.sh line 605:
    -chown -R $host_user.$host_user $log_path
    +chown -R $host_user:$host_user $log_path
    This code change is done by @Prasanna Dangalla
    
    JIRA - https://issues.apache.org/jira/browse/STRATOS-816

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

    $ git pull https://github.com/thushara35/stratos stratos2v

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

    https://github.com/apache/stratos/pull/53.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 #53
    
----
commit 4ea4ce3e82f67a4c85dcbca1318cf1e17add4c8b
Author: Thushara Kasun Ranawaka <th...@gmail.com>
Date:   2014-09-23T10:17:59Z

    adding changes to gsed for mac osx

----


---
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.
---

[GitHub] stratos pull request: Adding changes related to sed -i for mac osx

Posted by thushara35 <gi...@git.apache.org>.
Github user thushara35 commented on the pull request:

    https://github.com/apache/stratos/pull/53#issuecomment-56514854
  
    Sending a new PR https://github.com/apache/stratos/pull/54, hence closing this


---
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.
---

[GitHub] stratos pull request: Adding changes related to sed -i for mac osx

Posted by thushara35 <gi...@git.apache.org>.
Github user thushara35 closed the pull request at:

    https://github.com/apache/stratos/pull/53


---
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.
---