Exemple #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'
Exemple #2
0
 def is_classpath(t):
     return is_internal(t) and any(
         jar for jar in t.jar_dependencies if jar.rev)
Exemple #3
0
 def is_classpath(t):
   return is_internal(t) and any(jar for jar in t.jar_dependencies if jar.rev)
Exemple #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)
   )
Exemple #5
0
 def not_internal(target):
   return not is_internal(target)
Exemple #6
0
 def exportable(target):
   return target in candidates and is_exported(target) and is_internal(target)
Exemple #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'
Exemple #8
0
 def exportable(target):
     return target in candidates and is_exported(
         target) and is_internal(target)
Exemple #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))
Exemple #10
0
 def not_internal(target):
     return not is_internal(target)