Developers Jos Posted March 23, 2013 Developers Share Posted March 23, 2013 (edited) I've seen many questions around "how to do source versioning" and have tried to make it a little bit easier by incorporating SVN functionality into AutoIt3Wrapper.Would appreciate getting some feedback on:Is this working for you?Are there issues with this?Could it be improved?I have uploaded a separate beta version of Autoit3Wrapper to the Beta dir which also contains the helpfile page on how to install TortoiseSVN and Winmerge and use versioning.Download and install :AutoIt3Wrapper.* to %programfiles%Autoit3SciTEAutoIt3Wrapper*.properties to %programfiles%Autoit3SciTEpropertiescvsWrapper will be discontinued and isn't supported in this version any more. The internal functionality is exactly the same but now only supporting SVN.Updates made: 3/24/2013 - Fixed AutoIt3Wrapper issue when UAC is enabled and AutoIt3Wrapper not running in Admin mode, which made it fail to update AutoIt3Wrapper.ini with the proper settings. - Update the Documentation with instructions to select the installation of the Command Line tools for the TortoiseSVN installer and several suggestions from Melba23. - Updated SciTEConfig to allow for the generic Tools command selection. This is stored in the regular beta directory.Jos Edited March 24, 2013 by Jos Xandy 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
guinness Posted March 23, 2013 Share Posted March 23, 2013 I will be testing this at the weekend as I use TortoiseSVN. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
water Posted March 23, 2013 Share Posted March 23, 2013 I will have a look at it too and report the results! My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
guinness Posted March 23, 2013 Share Posted March 23, 2013 (edited) svn.exe doesn't exist in my TortoiseSVN. From doing some research it appears TortoiseProc.exe is what you're looking for. Good reference: http://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine Edited March 23, 2013 by guinness UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Developers Jos Posted March 23, 2013 Author Developers Share Posted March 23, 2013 (edited) svn.exe doesn't exist in my TortoiseSVN. From doing some research it appears TortoiseProc.exe is what you're looking for.I am running the x64 version which does include the svn.exe in the BIN directory. Just looked at my x86 WinXP VM pc and it indeed seems the x86 version of tortoisesvn is missing the SVN.exe.I am aware of the TortoiseProc.exe but had some issue with it in the past so also based the cvswrapper's SVN support on a separate SVN.exe setup.Let me have a look to see what the best approach is for this omission in the x86 installer.Jos Edited March 23, 2013 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
James Posted March 23, 2013 Share Posted March 23, 2013 Nice!Being a Git man myself, I wrote an AutoIt script which:Reads the Version number from the compiler settings, creates a new tag.Adds all of the changes using git add .Then prompts me for the changes I made and commits them using git commit -m $sCommitMsgPushes the changes to my private GitHub repositories so that I don't lose them.Works a treat, I'll have to find it off of my backup if anybody is interested. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Developers Jos Posted March 23, 2013 Author Developers Share Posted March 23, 2013 (edited) Let me have a look to see what the best approach is for this omission in the x86 installer.As it looks now, its best to simply download SilkSvn and use that svn.exe for the x86 OSes, as the TortoiseProc.exe doesn't really allow for batch processing.Still need to do some testing to ensure all regex checks are correct in the AutoIt3Wrapper.ini.Jos Edited March 23, 2013 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
storme Posted March 23, 2013 Share Posted March 23, 2013 Works a treat, I'll have to find it off of my backup if anybody is interested.Sounds great I'm torn between the 2...Spoilt for choice is the main problem.... Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Developers Jos Posted March 23, 2013 Author Developers Share Posted March 23, 2013 As it looks now, its best to simply download SilkSvn and use that svn.exe for the x86 OSes, as the TortoiseProc.exe doesn't really allow for batch processing. Still need to do some testing to ensure all regex checks are correct in the AutoIt3Wrapper.ini. Jos This line in AutoIt3Wrapper.ini needs to be updated to support silksvn: CommandAddSource_ok_txt=A.*?%sourcefileonly% I have uploaded a updated version of Autoit3Wrapper to have it initialise like this, but you need to manually update in case you already ran it. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
James Posted March 23, 2013 Share Posted March 23, 2013 Sounds great I'm torn between the 2...Spoilt for choice is the main problem.... I love Git, it's nonsensical at times, but out does SVN for me. Plus, I can have Git running without a Git server being in place. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Developers Jos Posted March 23, 2013 Author Developers Share Posted March 23, 2013 Plus, I can have Git running without a Git server being in place.The whole purpose of this setup is to use a local Disk to store the SVN repository for your sourcefiles.Let's keep this thread to it's purpose which is using the changed AutoIt3Wrapper for versioning. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
James Posted March 23, 2013 Share Posted March 23, 2013 Let's keep this thread to it's purpose which is using the changed AutoIt3Wrapper for versioning. Sorry Jos, my first post was related.If anybody wants a version that does this in Git, ask I'll dig out the code. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
storme Posted March 24, 2013 Share Posted March 24, 2013 I have uploaded a separate beta version of Autoit3Wrapper to the Beta dir which also contains the helpfile page on how to install TortoiseSVN and Winmerge and use versioning.I followed the help file closely..VERY helpfull!!! (few little things I'd suggest but only minor)Everything went fine until I hit F12 & ALT-F12 and nothing happened. What was supposed to happen? What was supposed to run?I have the full version of SCITE and I'm running on Win7 64Bit.As far as I know I've followed everything else to the letter and I do have version info in the repository and it's working from TortoiseSVN... Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Developers Jos Posted March 24, 2013 Author Developers Share Posted March 24, 2013 Everything went fine until I hit F12 & ALT-F12 and nothing happened. What was supposed to happen? What was supposed to run? I have the full version of SCITE and I'm running on Win7 64Bit. As far as I know I've followed everything else to the letter and I do have version info in the repository and it's working from TortoiseSVN... Did you also copy the au3.properties version from the Beta? It has these definitions for these shortcuts: # 15 Update Source in Version repository command.15.*=$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe /in "$(FilePath)" /Versioning_Commit command.name.15.*=Version Update Source command.save.before.15.*=1 command.shortcut.15.*=F12 # 16 Compare current Source with the source in the Version repository command.16.*=$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe /in "$(FilePath)" /Versioning_ShowDiff command.name.16.*=Version Diff Source command.save.before.16.*=1 command.shortcut.16.*=Alt+F12 Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 24, 2013 Moderators Share Posted March 24, 2013 (edited) Jos, Everything working fine for me. Thanks for the help getting it all to work nicely on my machine and for the work you put in producing it all in the first place. M23 Edited March 24, 2013 by Melba23 Typo Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted March 24, 2013 Author Developers Share Posted March 24, 2013 Updated SciTEConfig to allow for Selecting/Deselecting tools that are for all files ".*", not just AUtoIt3 ".$(au3)", like this versioning option. Update available in the Beta directory. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 24, 2013 Moderators Share Posted March 24, 2013 Jos, Works fine. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
water Posted March 24, 2013 Share Posted March 24, 2013 (edited) Jos, when I press F12 for the first time I get the message box "Versioning information is not found yet." When I then click on "Yes" I'm not prompted for the location of SVN.exe but get the following messages:>C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe /in "C:\SVNTest\Trunc\AD\Test.au3" /Versioning_Commit +>14:03:19 Starting AutoIt3Wrapper v.2.1.2.7 Environment(Language:0407 Keyboard:00000407 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) !>14:03:22 Your versioning program isn't found:. Skipping task. >Exit code: 0 Time: 3.763 I already had TortoiseSVN and WinMerge installed on my machine so maybe something is missing. Anything I need to modify? Thanks Edited March 24, 2013 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
storme Posted March 24, 2013 Share Posted March 24, 2013 Did you also copy the au3.properties version from the Beta? It has these definitions for these shortcuts: # 15 Update Source in Version repository command.15.*=$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe /in "$(FilePath)" /Versioning_Commit command.name.15.*=Version Update Source command.save.before.15.*=1 command.shortcut.15.*=F12 # 16 Compare current Source with the source in the Version repository command.16.*=$(SciteDefaultHome)\AutoIt3Wrapper\AutoIt3Wrapper.exe /in "$(FilePath)" /Versioning_ShowDiff command.name.16.*=Version Diff Source command.save.before.16.*=1 command.shortcut.16.*=Alt+F12 Jos I'll see about adding them to my au3.properties... I'm glad I didn't overwrite it as there looks like quite a few differences. Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
storme Posted March 24, 2013 Share Posted March 24, 2013 Working fine for me now. I got the same prompt as Water but mine worked fine (no error prompt). BTW you instructions seem to point to a "repository per project" structure. Is that correct? Thanks Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now