comparison upmana/updatemana.py @ 55:0b79d5dbbe9e traipse_dev

Finalizing .. sorry Win users. I will work on the GUI later.
author sirebral
date Thu, 06 Aug 2009 17:55:27 -0500
parents 5d89a6eaf492
children 9014d7861bb3
comparison
equal deleted inserted replaced
54:5d89a6eaf492 55:0b79d5dbbe9e
193 193
194 def BranchInfo(self, branch): 194 def BranchInfo(self, branch):
195 self.filelist.SetValue('') 195 self.filelist.SetValue('')
196 self.filelist.AppendText("Files that will change\n\n") 196 self.filelist.AppendText("Files that will change\n\n")
197 self.changelog.SetValue('') 197 self.changelog.SetValue('')
198 changelog = "Traipse 'OpenRPG' Update Manager.\n\nThis is Dev Build 0.6.9(stable) of the Update Manager. This version is nearly 100% functional. Users can now add repositories of OpenRPG, choose from different branches available from those repositories, and add files to an ignore list.\n\nThe Update Manager is divided into tabs, Updater, Repos, Manifest, and Control. \n\nThe Updater says it all, choose a branch and update to that branch. Repos is a new feature that I hope users take advantage of. Clone the repo, build your own, and then share it with your friends! The Manifest is the ignore list. Want to make sure a test run doesn't delete important files ... then add them to the Manifest'. Control is not functional yet, but when it is users will be able to update to specific revision dates and delete branches.\n\nThis is a good start. Enjoy the freedom!!" 198 changelog = "Traipse 'OpenRPG' Update Manager.\n\nThis is Dev Build 0.6.9(stable) of the Update Manager. This version is nearly 100% functional. Users can now add repositories of OpenRPG, choose from different branches available from those repositories, and add files to an ignore list.\n\nThe Update Manager is divided into tabs, Updater, Repos, Manifest, and Control. \n\nUpdater: Set your update type on startup; Auto, None. Select a package of changes from a branch and update.\n\nRepos: Collect repositories of different projects. Set a name then assign it a URL. Refresh repositories in your list or delete them from your list.\n\nManifest: A complete list of all the files in your current change set. Check files off that you want to be safe from future updates.\n\nControl: Incomplete. Future revisions will allow users to update to specific revision branchs and delete branches from their computer.\n\nThis is a good start. Enjoy the freedom!!"
199 self.changelog.AppendText(changelog + '\n') 199 self.changelog.AppendText(changelog + '\n')
200 self.filelist.AppendText("Update to " + branch + "\n\nWhen Update Manager is fully functional this area will show the files that will be affected by the yoru branch selection.") 200 self.filelist.AppendText("Traipse 'OpenRPG'\n\n Currently selected branch: " + branch + "\n\nFile List: When Control is completed this field will display a list of files that will be affected by your selection of branch. The window to the left will display the description of the branch.\n\nDescription: Stable releases will have a formated Description that displays the Build Number, a summary of the branch, and a summary of the changes in the selected changeset.")
201 201
202 #### Files works but not fully without the change log information, pulled for Dev 0.1 202 #### Files works but not fully without the change log information, pulled for Dev 0.1
203 #for f in files: 203 #for f in files:
204 # fc = c[f] 204 # fc = c[f]
205 # self.filelist.AppendText(str(f + '\n')) 205 # self.filelist.AppendText(str(f + '\n'))
475 self.open_rpg.add_component("log", self.log) 475 self.open_rpg.add_component("log", self.log)
476 self.open_rpg.add_component("xml", orpg.orpg_xml) 476 self.open_rpg.add_component("xml", orpg.orpg_xml)
477 self.open_rpg.add_component("dir_struct", orpg.dirpath.dir_struct) 477 self.open_rpg.add_component("dir_struct", orpg.dirpath.dir_struct)
478 self.validate = orpg.tools.validate.Validate() 478 self.validate = orpg.tools.validate.Validate()
479 self.open_rpg.add_component("validate", self.validate) 479 self.open_rpg.add_component("validate", self.validate)
480 self.updater = updaterFrame(self, "OpenRPG Update Manager Beta 0.6.7", self.open_rpg, self.manifest, self.main) 480 self.updater = updaterFrame(self, "OpenRPG Update Manager 0.6.9 (open beta)", self.open_rpg, self.manifest, self.main)
481 if self.manifest.GetString("updatemana", "auto_update", "") == 'on' and self.main == False: 481 if self.manifest.GetString("updatemana", "auto_update", "") == 'on' and self.main == False:
482 self.AutoUpdate(); self.OnExit() 482 self.AutoUpdate(); self.OnExit()
483 else: pass 483 else: pass
484 if self.manifest.GetString('updatemana', 'no_update', '') == 'on' and self.main == False: 484 if self.manifest.GetString('updatemana', 'no_update', '') == 'on' and self.main == False:
485 self.OnExit() 485 self.OnExit()