예제 #1
0
 def deploy_version(self, version: str) -> ProjectSetup:
     project = ProjectSetup(self.project_config, version)
     success = project.setup()
     if success:
         print("Deployed version:", project.tag)
         return project
     else:
         print("Failed deploying version", project.tag)
         self.project_config.commit_failed(project.tag)
예제 #2
0
 def onProjectSetup(self):
     #
     if DEBUG_MODE: print ">> MainWindow.onProjectSetup"
     projectSetupDlg = ProjectSetup(app_settings)
     projectSetupDlg.exec_()
     self.ui.project_ctl.setLibrary(app_global_vars['ProjectNetworks'])
     createDefaultProject(app_settings)
     self.setupWindowTitle()
     self.addRecentProject(app_global_vars['ProjectPath'])
     self.buildRecentProjectsMenu()
예제 #3
0
 def onProjectSetup ( self ) :
   #
   if DEBUG_MODE : print ">> MainWindow.onProjectSetup"
   projectSetupDlg = ProjectSetup ( app_settings )
   projectSetupDlg.exec_()
   self.ui.project_ctl.setLibrary ( app_global_vars [ 'ProjectNetworks' ] )
   createDefaultProject ( app_settings )
   self.setupWindowTitle ()
   self.addRecentProject ( app_global_vars [ 'ProjectPath' ] )
   self.buildRecentProjectsMenu ()
예제 #4
0
  def onProjectSetup ( self ):

    print ">> MainWindow: onProjectSetup" 
    projectSetupDlg = ProjectSetup ( app_settings )
    projectSetupDlg.exec_()
    self.ui.project_ctl.setLibrary ( app_global_vars[ 'ProjectNetworks' ] )