• Riyasat Ohib's avatar
    weigit: Fixed file tracking with metadata. Changes in sha1_store for better... · a1cc3874
    Riyasat Ohib authored
    
    weigit: Fixed file tracking with metadata. Changes in sha1_store for better encapsulation. Docstrings. (#1013)
    
    * [Feat] Fixed file tracking with metadata. Change in sha1_store for better encapsulation. Tests.
    
    1. Adds metadata creation per added file and independently tracks version of each separate file added. That is, now creates separate metadata files
       for each file to be tracked.
    2. Changes in reference tracking to accomodate the change in 1.
    3. Somes changes in SHA1_store for better encapsulation.
    4. Modified the tests to reflect above.
    
    * [Feat]
    1. Added docstrings to the classes.
    2. Added a recursively search for the weigit repo upto root.
    3. Some refactor of the codes.
    
    * [Feat][Refactor] repo and sha1_store add modification and separation. Modification in reference tracking
    
    1. Separation of add functionalities of repo.add and sha1_store.add.
    2. Updated the reference tracking.
    3. New tests and code refactor
    
    * [Fix] Sha1_store fix overlap in first two characters of sha1 hash.
    1. Accept multiple sha1 hash's with same two starting characters and create directories accordingly.
    
    * [Fix] Minor refactoring and test fix
    
    * [Fix] Fix for pygit class initialization in cases when no .gitconfig file is available
    Co-authored-by: default avatarRiyasat Ohib <riohib@devfair0756.h2.fair>
    a1cc3874
test_api.py 2.84 KB