Giter VIP home page Giter VIP logo

duck's Introduction

Duck is a VCS built from scratch in Python. Duck stores commits/logs in JSON format.

Warning

This is still in development...
Keep your expectations low!!

Duck is planned to have support for

  • init
  • commit
  • diff
  • info
  • status
  • rollback
  • compression & decompression in files
  • making timeline a tree structure
  • branching
  • merging between branches
  • recursive handling of subdirectories
  • python package
  • TODOs and ISSUEs

Duck log structure

.duck
|
|___ commits
|   |___ init
|   |___ commit number 1
|   |___ ...
|
|___ duck.log.json
    |___ head
    |___ commit timeline
    |___ commit SHA
    	|___ message
    	|___ files
            |___ new
            |___ old
            |___ changes
            	|___ del
            	|___ add
name type description
init subdirectory initially commited files
commits subdirectory stores subdirectories which contain files that are either newly added or deleted in that particular commit
head string SHA of the latest commit
timeline linked list stores the sequence of commits (SHA)
SHA string SHA of that particular commit
message string commit message
files JSON array logs of changes done in that commit
new array list of newly added files
old array list of deleted files
changes json logs of changes in existing files
del array list of deleted lines in that particular file
add array list of newly added lines in that particular file

Requirements

pip install typer[all] rich inquirer

TODO: Add documentation

duck's People

Contributors

hyouteki avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.