Exemplo n.º 1
0
 def fileReparse(self, params):
     """(re)Parse a bb file"""
     bbfile = params[0]
     print("SHELL: Parsing '%s'" % bbfile)
     parse.update_mtime(bbfile)
     cooker.parser.reparse(bbfile)
     if False:  #fromCache:
         print("SHELL: File has not been updated, not reparsing")
     else:
         print("SHELL: Parsed")
Exemplo n.º 2
0
 def fileReparse( self, params ):
     """(re)Parse a bb file"""
     bbfile = params[0]
     print("SHELL: Parsing '%s'" % bbfile)
     parse.update_mtime( bbfile )
     cooker.parser.reparse(bbfile)
     if False: #fromCache:
         print("SHELL: File has not been updated, not reparsing")
     else:
         print("SHELL: Parsed")
Exemplo n.º 3
0
 def fileReparse( self, params ):
     """(re)Parse a bb file"""
     bbfile = params[0]
     print "SHELL: Parsing '%s'" % bbfile
     parse.update_mtime( bbfile )
     bb_data, fromCache = cooker.load_bbfile( bbfile )
     cooker.pkgdata[bbfile] = bb_data
     if fromCache:
         print "SHELL: File has not been updated, not reparsing"
     else:
         print "SHELL: Parsed"
Exemplo n.º 4
0
 def fileReparse( self, params ):
     """(re)Parse a bb file"""
     bbfile = params[0]
     print "SHELL: Parsing '%s'" % bbfile
     parse.update_mtime( bbfile )
     cooker.bb_cache.cacheValidUpdate(bbfile)
     fromCache = cooker.bb_cache.loadData(bbfile, cooker.configuration.data)
     cooker.bb_cache.sync()
     if False: #fromCache:
         print "SHELL: File has not been updated, not reparsing"
     else:
         print "SHELL: Parsed"
Exemplo n.º 5
0
 def fileReparse( self, params ):
     """(re)Parse a bb file"""
     bbfile = params[0]
     print "SHELL: Parsing '%s'" % bbfile
     parse.update_mtime( bbfile )
     cooker.bb_cache.cacheValidUpdate(bbfile)
     fromCache = cooker.bb_cache.loadData(bbfile, cooker.configuration.data, cooker.status)
     cooker.bb_cache.sync()
     if False: #fromCache:
         print "SHELL: File has not been updated, not reparsing"
     else:
         print "SHELL: Parsed"