Commit Graph

65 Commits

Author SHA1 Message Date
George Lacey
52b62f9705 Refactor log_entry -> LogEntry 2016-09-20 18:35:54 +01:00
George Lacey
8734f808ad Rename log_entry.py -> LogEntry.py 2016-09-20 18:35:13 +01:00
George Lacey
7239ea649e Initial commit: db_connection.py
- Add db_connection class with methods to create tables and check if they
exist.
2016-09-20 17:25:54 +01:00
George Lacey
8cb52d1150 Convert borg output to log_entry class
- Remove old print code
- Print using class method instead
2016-09-20 15:05:12 +01:00
George Lacey
ff8be8b90f Add print_to_file()
Class can print it's attributes to file now
2016-09-20 15:04:22 +01:00
George Lacey
560e118bf7 Initial commit: log_entry.py
Added log_entry class stub with method to convert datetime string from
borg output to python datatime object.
2016-09-20 14:26:57 +01:00
George Lacey
e749046f04 Update license to GNU General Public License v3.0 2016-09-20 12:19:44 +01:00
George Lacey
b91487aa3c Merge branch 'master' of https://github.com/georgelacey/borg-manager 2016-09-20 10:02:57 +01:00
George Lacey
99c4139d93 Add .txt files to .gitignore 2016-09-20 10:02:28 +01:00
George Lacey
92f5d7a547 Remove newlines properly for compatibility
Newlines were removed by stripping '\n' characters, they are now removed
properly using .rsplit() for compatibility with other operating systems.
2016-09-20 10:02:16 +01:00
George Lacey
2e6162aaf7 Add .txt files to .gitignore 2016-09-20 09:57:55 +01:00
George Lacey
5f91901ae3 Newlines removed properly for compatibility
Newlines were removed by stripping '\n' characters, they are now removed
properly using .rsplit() for compatibility with other operating systems.
2016-09-20 09:53:08 +01:00
George Lacey
3f6e163f26 Update readme with project information
- Added information on where I intend to go with the project
- Removed old code from main.py
2016-09-19 23:11:17 +01:00
George Lacey
d6a008052a Grab borg output
- Loops through each line of output and adds to a dictionary containing
  list of log attributes.
- Currently outputs to file for debugging.
2016-09-19 23:00:20 +01:00
George Lacey
7dd93fc316 Initial commit 2016-09-19 19:33:32 +01:00