GitSync-applescript
GitSync-applescript copied to clipboard
Log.txt
Log layout:
Log research: air-video log stream2me log
Log Notes: Git Response time would be cool to log.
from air-video, the one from stream2me was cluttered. this one is pretty clean
2015-08-22<<< 18:19:20 Attempt Git status request to github.com/eonist/temp.git, has local changes ready for commit 18:19:24 Git Add file: doc/help.txt, Added Successfully 18:19:26 Git Commit with message title: "Files modified:1", Committed Successfully 18:19:26 Git Cherry: "repo is up to date" 18:19:29 Attempt Git status request to github.com/eonist/picview.git, Remote is ahead, has local changes 18:19:32 Attempt to figure out if a pull won't affect changed local files, local file changes are not at remote 18:19:32 Git pull from remote to master, Success pulling down 4 new files 18:19:32 Do the commit stuff here 18:19:32 Rinse and repeat with the other repo items in GitSync 2015-08-23<<< 18:19:32 Do the same thing the next day
cap the log file to say 2000 lines so it won't grow too big and incomprehensible
use eof of file to figure out its length, 2000*80= 16.000 chars if its longer than this then remove the beginning of the file
- [ ] do this only on init of the app.
- [ ] do a test of this concept LogCapTest.applescript
- [ ] do another test for LogTest.applescript for the login, to get the line breaks correct etc. issuing commands to the LogEngine.applescript inside the GitSync.applescript file? or add it to applescript folder as a Util class to be used in other apps?