Пример #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")
Пример #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")
Пример #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"
Пример #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"
Пример #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"