Metadata-Version: 1.1
Name: insolater
Version: 0.0.1
Summary: Tool to easily switch between original and modified versions of a directory.
Home-page: github.com/davidnk/insolater
Author: David Karesh
Author-email: davidnk@gmail.com
License: The MIT License (MIT)

Copyright (c) 2013 David Karesh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Download-URL: https://github.com/davidnk/insolater/tarball/v0.0.1
Description: insolater
        =========
        
        A simple version control system for small personal projects.
        insolater has an easy to use interface to save, open, and transfer versions
        of your work.
        
        Installation
        ------------
        ::
        
          pip install insolater
        
        Examples
        --------
        In a python script:
        
        .. code-block:: python
        
          import insolater
          insolater.init()
          insolater.save_version('v1')
          insolater.change_version('v1')
          # Modify some files
          insolater.push_version('user@host:path_to_dir_for_version')
          insolater.pull_version('user@host:path_to_dir_for_version', 'pulled_ver')
          insolater.current_version()
          insolater.change_version('original')
          # Changes are not present.
          insolater.change_version('pulled_ver')
          # Changes are back.
          insolater.delete_version('v1')
          insolater.all_versions()
          insolater.exit(True)
          # .insolater_repo is deleted and files are in their original condition.
        
        Running from command line::
        
          $ ls *
          fa  fb  test_scipt.sh
        
          d:
          fa  fc
          $ inso init
          Initialized repository with versions: original
          $ inso list
          * original
          $ echo data > f
          $ rm fb
          $ echo data >> fa
          $ echo data >> d/fa
          $ inso save changes
          Version changes created and opened
          $ ls *
          f  fa  test_scipt.sh
        
          d:
          fa  fc
          $ inso open original
          Switched to original
          $ ls *
          fa  fb  test_scipt.sh
        
          d:
          fa  fc
          $ cat fa
          old data a
          $ cat d/fa
          old data da
          $ inso open changes
          Switched to changes
          $ ls *
          f  fa  test_scipt.sh
        
          d:
          fa  fc
          $ cat fa
          old data a
          data
          $ cat d/fa
          old data da
          data
          $ cat f
          data
          $ ls ~/test_changes
          $ inso save changes2
          Version changes2 created and opened
          $ inso list
            original
          * changes2
            changes
          $ inso open changes
          Switched to changes
          $ inso rm changes2
          Version changes2 deleted
          $ inso list
            original
          * changes
          $ inso push $USER@localhost:~/test_changes/
          user@localhost's password:
          f     transfered
          fa    transfered
          d     transfered
          test_scipt.sh     transfered
        
          $ inso exit
          Do you want to discard all changes (y/[n]): y
          Session Ended
          $ ls ../test_changes/ ../test_changes/d
          ../test_changes/:
          d  f  fa  test_scipt.sh
        
          ../test_changes/d:
          fa  fc
          $ ls *
          fa  fb  test_scipt.sh
        
          d:
          fa  fc
          $ cat d/fa
          old data da
          $ inso init $USER@localhost:~/test_changes/
          user@localhost's password: 
          Initialized repository with versions: original
          $ inso list
          * original
          $ ls *
          f  fa  test_scipt.sh
        
          d:
          fa  fc
          $ cat d/fa
          old data da
          data
          $ inso -f exit
          Session Ended
          $ cat d/fa
          old data da
        
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
