You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by balazs-zsoldos <gi...@git.apache.org> on 2015/04/23 00:52:57 UTC

[GitHub] felix pull request: FELIX-4844 - Store configuration data in a dif...

GitHub user balazs-zsoldos opened a pull request:

    https://github.com/apache/felix/pull/16

    FELIX-4844 - Store configuration data in a diff-tool friendly way

    
    The entries are written in sorted order. Arrays and collections are written in the following format:
    
        StringArray=[ \
          "one", \
           "two", \
           "three", \
           ]
    
     - There is a backslash on the end of each line to be compatible with ordinary properties file format
     - Every element is on a new line with two space indent
     - There is comma after the last element, too. In Java it is also possible to define inline arrays in this way to ease editing and merging code
    
    After the changes, the config files that were generated with older versions will be read. However, due to the backslash on the end of the line, older versions of configadmin would not able to read this format.
    
    Other choice would be to leave the backslash from the line breaks. Parsing would still work, but it would not be a properties file format then.

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

    $ git pull https://github.com/balazs-zsoldos/felix FELIX-4844

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

    https://github.com/apache/felix/pull/16.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 #16
    
----
commit cd55293cfd236ef242847ca6a4f580c6798e548d
Author: balazs.zsoldos <ba...@everit.biz>
Date:   2015-04-18T10:46:40Z

    FELIX-4844 Sort the keys of the properties before storing in file

commit 0318f21552af6d2402a93d9656cc4814ef176cdd
Author: balazs.zsoldos <ba...@everit.biz>
Date:   2015-04-22T19:16:59Z

    Merge remote-tracking branch 'felix/trunk' into trunk

commit a422addfd3d53db78ed064001aa45ff25c63d8fa
Author: balazs.zsoldos <ba...@everit.biz>
Date:   2015-04-22T22:40:53Z

    Configadmin: Array and Vector are stored in diff tool friendly way
    
     - Every element and closing char is on new line with two space indent
     - There is comma after each element

----


---
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] felix pull request: FELIX-4844 - Store configuration data in a dif...

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

    https://github.com/apache/felix/pull/16


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