|
@@ -14,7 +14,8 @@ from PyQt5 import QtCore
|
|
from PyQt5.QtCore import QSettings, QCoreApplication
|
|
from PyQt5.QtCore import QSettings, QCoreApplication
|
|
|
|
|
|
import json
|
|
import json
|
|
-import git
|
|
|
|
|
|
+# import git
|
|
|
|
+# from pygit2 import Repository
|
|
|
|
|
|
from classes import server, sasscompiler, md2html
|
|
from classes import server, sasscompiler, md2html
|
|
|
|
|
|
@@ -210,6 +211,7 @@ class Core():
|
|
self.changeCWD(cwd)
|
|
self.changeCWD(cwd)
|
|
self.loadDocSettings()
|
|
self.loadDocSettings()
|
|
self.summary = json.loads(open(os.path.join(cwd,'.config/summary.json')).read())
|
|
self.summary = json.loads(open(os.path.join(cwd,'.config/summary.json')).read())
|
|
|
|
+ # TODO: try python-pygit2 arch package
|
|
# self.repository = git.Repo.init(cwd)
|
|
# self.repository = git.Repo.init(cwd)
|
|
# TODO: set git config user.name & user.email
|
|
# TODO: set git config user.name & user.email
|
|
# self.repository
|
|
# self.repository
|