Beispiel #1
0
 def fingerprint_internal(target):
     if not is_internal(target):
         raise ValueError(
             'Expected an internal target for fingerprinting, got %s' %
             target)
     pushdb, _, _ = get_db(target)
     _, _, _, fingerprint = pushdb.as_jar_with_version(target)
     return fingerprint or '0.0.0'
Beispiel #2
0
 def is_classpath(t):
     return is_internal(t) and any(
         jar for jar in t.jar_dependencies if jar.rev)
Beispiel #3
0
 def is_classpath(t):
   return is_internal(t) and any(jar for jar in t.jar_dependencies if jar.rev)
Beispiel #4
0
 def is_classpath(target):
   return is_jar(target) or (
     is_internal(target) and any(jar for jar in target.jar_dependencies if jar.rev)
   )
Beispiel #5
0
 def not_internal(target):
   return not is_internal(target)
Beispiel #6
0
 def exportable(target):
   return target in candidates and is_exported(target) and is_internal(target)
Beispiel #7
0
 def fingerprint_internal(target):
   if not is_internal(target):
     raise ValueError('Expected an internal target for fingerprinting, got %s' % target)
   pushdb, _, _ = get_db(target)
   _, _, _, fingerprint = pushdb.as_jar_with_version(target)
   return fingerprint or '0.0.0'
Beispiel #8
0
 def exportable(target):
     return target in candidates and is_exported(
         target) and is_internal(target)
Beispiel #9
0
 def is_classpath(target):
     return is_jar(target) or (is_internal(target) and any(
         jar for jar in target.jar_dependencies if jar.rev))
Beispiel #10
0
 def not_internal(target):
     return not is_internal(target)