Advertisement
GlobalAccessSoftware

Dev_Notes.txt

Nov 15th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.77 KB | Software | 0 0
  1. ^^^^^^^
  2.  
  3. Split OldPhotos Bat in two and reuse the timing mechanism therefrom!
  4. (So we'll have real returns from those calls and can reuse code probably too. Design the mods and then think about it, then do them. Then make it all work right again. LoL) And easily adaptable to assorted calls from elsewhere! Probably just returning a string version of the result.
  5.  
  6. I shortened the choice timeouts.
  7.  
  8. v7.9.1.24 20220821164148 Before Split.
  9.  
  10. REM 100% -JpE-
  11.  
  12. v7.9.1.25 20220908045300 After Split Out for both.
  13.  
  14. v7.9.1.29 20220911054347 Fixed long time bug with Invalid Number!
  15.  
  16. Tidied up a lot and runtime_display.bat is settled in for working with SyncOlderPhotos.bat. BUT NOW, AAA-Sync.bat calls SyncOlderPhotos.bat, when option is chosen, and make sure it comes back, allow a variable to be set if calling from AAA and do a separate time check only from AAA (overall) skipping that call from SOP if called from AAA. But not when called from SOP. If that makes sense.
  17.  
  18. v7.9.2.35 20220913035840 TestWell! ^^^
  19.  
  20. This version included two separate projects. One to integrate both SyncOld and AAA to re use runtime_display.bat which needs both and called modules ALL Tested out as well.
  21.  
  22. AND, Then I split out exit_main.bat and tried to integrate that smoothly. SyncOlder doesn't call exit_main.bat, just AAA-Sync. Both call runtime_display, but all proven but the split out integration.
  23.  
  24. v7.9.2.36: Great news, SyncOlderPhotos works fine and shows the runtime at the end as designed. Needs more testing, but AAA-Sync will probably have a few little problems, unhandled exceptions.
  25.  
  26. v7.9.2.38: Tested and perfected. Keep the Design note in mind for the :return label placement.
  27.  
  28. v7.9.2.39: 20220914162022
  29.  
  30. v7.9.3.41: 20220921015838 Found the bug I planted in OldPhotos code. Needs a file I guess, directory didn't work, nor did \\ComputerName
  31.  
  32. v7.9.4.42: Splits out main one last time.
  33.  
  34. UNDER DESIGN Revision
  35.  
  36. v7.9.4.45 20220924210444
  37.  
  38. Rev4 complete. Problem with cpy_control.bat not running finally resolved when I thought to merely SaveAs, to make sure the OS knew this is a .bat file now not a .txt as it started out. The extension waas changed but it wasn't registering somehow until I did the simple SaveAs oveer itself. Then suddenly, all the doors opened and it's now running fine throughout and TESTED.
  39.  
  40. v7.9.4.46 Updated ErrorHandling, but then bypassed this instance of it at the end, when cancel on Desktop copy. The others, earlier ones, just skip to the next logical label after what it's avoiding so we won't have a problem there, "where."
  41.  
  42. v7.9.4.47 20220925031024 Straightened out and cleanup up the above but going back one vers with ExceptionHandling.bat though, and copy_control.bat is revised accordingly to ignore where==5 if D: is online.
  43.  
  44. v7.9.4.48
  45.  
  46. v7.9.5.49 had bugs in get wipe prefs.
  47. Seems to get the choice but; Doesn't delete the files.
  48.  
  49. v7.9.5.50 Seems to fix that "all-CAPS errorlevel" mistake stuff. I guess we will see. *** TestWell*** *****DON'T MESS WHAT AIN'T MESSED!*****
  50.  
  51. v7.9.5.51 intends to sort out the sgnl when D: is not unlocked with bitlocker. And also, to differentiate between "Desktop" Backup failures and others and reStart if it's D: and is now online. Are there any other requisites?
  52.  
  53. BETA
  54.  
  55. v7.9.5.53 Check it by about now.
  56.  
  57. v7.9.6.54
  58. still not right when D: isn't unlocked. If it is unlocked then everything is fine except for some test msgs for the other exception. But when D: is offline aka unlocked, then it's still chit. Worikgn non ti mow.
  59.  
  60. v7.9.7.55 Fixed right finally. 20221030210851
  61.  
  62. v7.9.7.56: Nice! RC-1
  63.  
  64. v7.9.7.57: Fixes small problem with Phone Backups not finding I: 20221102034823 (not code, the folders didn't exist or create) Anyway, moot because there is not enough freespace on I: for it and there are already 2 or 3 (on daddio) backups of Victoria. So I just made it use H: and report whatever drive %hs% or %xs% are set for. duh.
  65.  
  66. v7.9.7.58: testing well...
  67.  
  68. v7.9.7.59: wrap (minor cosmetic w/drive mod)
  69.  
  70. v7.9.7.60: OlderPhotos and OutLook + Updated ; Test
  71.  
  72. v7.9.7.61: testing...
  73.  
  74. v7.9.7.63: smooth testing... a few changes.
  75.  
  76. v7.9.7.64: touched up a bit more
  77.  
  78. v7.9.7.65: Stable enough to Beta this Alpha
  79.  
  80. v7.9.7.67: *****TESTWELL!*****
  81.  
  82. v7.9.7.68-69: perfecting just_externals.bat and it's integration back into copies_backups.bat code. And, in turn, it's integration into copy_control.bat and, in turn, it's integration back to AAA-Sync.bat Master Controller Application Suite.
  83.  
  84. v7.9.7.70: 20221107276312 Bugg fixes and revision of recent eych mods to better suit the needs.
  85.  
  86. v7.9.7.71 thru 73 Developed not_online.bat, status_report.bat, and just_externals.bat so 74 is ready to start tracing and testing. Interface with callers and overall as well as redundancy, etc.
  87.  
  88. :: SO: We MAdE IT UNIVERSAL:
  89. :::::::::::::::::::::::::::::::::::
  90. :: if not exist %bk1% set /a w=1
  91. :: if not exist %bk2% set /a w=2
  92. :: if not exist %bk3% set /a w=3
  93.  
  94. :: if not exist %cps% set /a w=4
  95. :: if not exist %src% set /a w=5
  96. :::::::::::::::::::::::::::::::::::
  97.  
  98. w=4 becomes (src) w=5 and then w=3 becomes (cps) w=4 and then bk3 becomes w=3.
  99.  
  100. w=1 thru 4 non fatal for next
  101. if w=4 (D: not found) goto externals
  102. w=5 is fatal to all, Source (C: not found)
  103.  
  104.  
  105. v7.9.7.74 20221112033112
  106. kind of wraps all that, moe refined, into 75
  107. ***still proof reading***
  108.  
  109. v7.9.7.75 ***testwell***
  110. NOTE: New segments status_report.bat, not_online.bat, and just_externals.bat are ALL called from copies_backups.bat
  111.  
  112. v76 expanded the over haul to include all that and get it right.
  113.  
  114. v77 Then handled the Cancel of Desktop copies exception.
  115.  
  116. v7.9.8.77 20221114034022
  117. Now testing RC2
  118.  
  119. v7.9.8.78 fixes allot but there is still an occasional crash in either OutLook or Phone backups, it just quits and I can't see any indicators of where. Doesn't always repeat. I thought I had it, but at least those updates were made. But then it happened again, without hitting Phone or especially not hitting RunT8.1
  120.  
  121. v7.9.8.79 20221115042022
  122.  
  123. Will further that last fix and continue rigorous testing in-house. outlook_handler.bat the main suspect but it could be in between, back in AAA-Sync. Looked like maybe when it couldn't find H: for outlook sync.
  124.  
  125. OIC! I had extra spaces before the echo statements in an if conditional branch, so that's probably a syntax error or such. Then I just updated a few things and removed some excessive code, and generally polished it up to look and feel nice. I call it...
  126.  
  127. v7.9.8.80 20221115065021
  128.  
  129. ***TestWell***
  130.  
  131. v7.9.8.88 20221124014114
  132.  
  133. Notes lagged, development did not! Much much much and more done.
  134. Created:
  135. string_length.bat & add_padding.bat are now available for reuse.
  136.  
  137. Everything testsWell so far. Watch Results.
  138.  
  139.  
  140. It's time to focus on the budget 2023 mods and costs. Grocery?
  141.  
  142. 2022112401433213
  143.  
  144. v7.9.8.91: Perfection!
  145.  
  146. v7.9.8.93 20221204001156
  147. Lot's done, just poor notes. All mods about including Seagate16 as Q:, R:, and U: in everything and setting up ghost for it too. So everything West of AAA is modified & ready to test. Count them, 7 segments. Not now, done for tonight going to bed. Next session though TESTWELL!
  148.  
  149. v7.9.8.94
  150. Revised the modules to reuse code as with :copier and :doit and then irons out the earlier mods so that.
  151.  
  152. v7.9.8.95
  153. Is totally finished and testedwell, very well! Faster now too! Less code, clearer code.
  154.  
  155. v7.9.8.96
  156. Later Part Rewrote and condensed playlists_backup by making a reusable routine generic enough to reuse with passed args.
  157.  
  158. v7.9.8.97
  159. Seems to testwell, is stable and active. A lot of general cleanup and code improvements I didn't note but they're in there! Even found and fixed a modulus mis-statement in runtime ready to become a bugg. And then fixed the if x=%string:~0,1% equ "0" then x=%string:~1,1% or whatev it really is in practice. When splitting the mm/dd/yyyy and hh:mm:ss.ms strings into individual numeric vars.
  160.  
  161. v7.9.8.98
  162. Some minor, mostly cosmetic, changes to RunT8.1 and fixes to outlook_handler source code. Looks GREAT! Runs GREAT! Works GREAT!
  163.  
  164. v7.9.9.03
  165. Obviously, I've been too busy working on it to document much, but there was a shit-ton of Development Done!It's 23 or 24 documents wide now including the readme.txt and these notes. Some deep, some shallow, but split out for return to just after call and to simplify maintainance and further development through modularization and logical order and assignment of Identifiers aka "naming of files and Labels, Variables, Functions, and more." Several fixes, a cosmetic makover in spots and much code condensation and perfecting, reusable functions. Added the Skip of GetWipePrefs aka getwipe aka %getw% in code and comments therein. Function/Tools in my arsenal include several common features. But I'm off to dig into C# and take up the coding challenge of these Motorola headhunters and see if I can't bring down $120k in 2023 or even $75k would blow me away and spite everyone who knew me before.
  166.  
  167. v7.9.9.05
  168. Another front end option and handles skiy=4 set wipe=2, etc. Just wipe externals. This version splits out the caller_check_showmsg.bat which is used a few times. It fixes the fall through, the weird looking runtime before Older_photos glitch I put in. Was the call too the exidos that was falling into the rest of that segment instead of finding that Label from the call. Oh well. Works just as well split out. Easy to find and edit and so forth. Fixed the spacing and appearance of the whole UI for all segments including SyncOlderPhotos. Tidied up some unneeded comments and commented out code that's been cleared through testing since. Beta testing this for now. And shifting around to C# for the assessment.
  169.  
  170.  
  171.  
  172.  
  173. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  174.  
  175. :: 100% -JpE-
  176.  
  177.  
  178. Global.Access.Software@gmail.com
  179.  
  180.  
  181.  
  182.  
  183.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement