aleffnull / pybackup Goto Github PK
View Code? Open in Web Editor NEWPython tool for automatic backup of local git repositories
Python tool for automatic backup of local git repositories
Common git repository is missing in sources tree. Should be committed and pushed from machine, having it.
Remove public run
method from ProcessRunner
class it order to make it fitting RAII pattern. This refactoring is needed to be done now, cause it will allow not to refactor mocking of this class in tests.
This issue blocks issue #7.
Repository bundle should be created in temporary directory using the git bundle
command.
Create test called test_GitRepo_GotTempDir_TempDirIsCleaned
in Tests/BackuperTests.py
.
Bundle name for bare repository, with name ending with .git
, looks like repo.git_2012-05-13_18-52-42.bundle
. .git
should be stripped off using regular expressions.
As common Git repository can not be added as common folder to Git (#1), test repositories should be added as zip-archives. Every test fixture, that need such repository, should unpack it to temporary directory before launching any tests and delete unpacked repository after the tests are done.
Backuper
class should check before creating backup that git
command is available during initialization.
This issue block issue #3.
Perform project refactoring using recently acquired Python knowledge.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.