Project

autovrsion

0.0
No commit activity in last 3 years
No release in over 3 years
A command line that uses Rugged and Listen for automatic versioning of files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0

Runtime

>= 0
~> 3.0
ruby-git
>= 0
>= 0
 Project Readme

Code Climate

Autovrsion

A command line tool for simple automatic versioning of files using Rugged and Listen.

Pre-requisities

Install Git
command: $ sudo apt-get install git

Install Ruby
links for downloading and installing ruby :
https://www.ruby-lang.org/en/downloads/
https://www.ruby-lang.org/en/installation/

Installation

Add this line to your application's Gemfile:

gem 'autovrsion'

And then execute:

$ bundle

Or install it yourself as:

$ gem install autovrsion

Usage

$ autovrsion <command>

for working on current directory

$ autovrsion <command> </path/to/your/directory>

for working on a specific directory

Commands:

  1. create - used to create a new git repository or re-initialize an existing one.
  2. start - start listening to file system changes and auto commit any change.commits would be created after every file addition, modification and/or deletion.
  3. display - display the versions in the repository.
  4. check - access a particular version.
  5. reset - used after the check command, it resets to the latest version in the repository.
  6. rewind - permanently rewind to a previous version(WARNING! any changes after the rewound version are permanently lost)

Command Usage

$ autovrsion create
or
$ autovrsion create /path/to/repository

$ autovrsion start 
or
$ autovrsion start /path/to/repository

$ autovrsion display
or
$ autovrsion display /path/to/repository

$ autovrsion check
or
$ autovrsion check /path/to/repository 

$ autovrsion reset
or
$ autovrsion reset /path/to/repository

$ autovrsion rewind
or
$ autovrsion rewind /path/to/repository