272e8e62d42aefa3d2547ae9108858ffb7c2d172,src/python/pants/backend/jvm/tasks/bundle_create.py,BundleCreate,bundle,#BundleCreate#Any#Any#,167

Before Change


          os.symlink(path, bundle_path)
          fileset_empty = False

      if fileset_empty:
        raise TaskError("In target {}, bundle index {} of "bundles" field does not match any files.".format(
          app.address.spec, bundle_counter))

    return bundle_dir

  def check_basename_conflicts(self, targets):
    Apps" basenames are used as bundle directory names. Ensure they are all unique.

After Change


      if dir_count == 1 and file_count == 0:
        // When this deprecation finishes, we should remove symlinking of directories into the
        // bundle (which implicitly includes their contents), and instead create them using mkdir.
        spec = os.path.relpath(bundle.filemap.keys()[0], get_buildroot())
        deprecated_conditional(
            lambda: True,
            "1.5.0.dev0",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 272e8e62d42aefa3d2547ae9108858ffb7c2d172
Time: 2017-05-25
Author: stuhood@twitter.com
File Name: src/python/pants/backend/jvm/tasks/bundle_create.py
Class Name: BundleCreate
Method Name: bundle


Project Name: Qiskit/qiskit-aqua
Commit Name: 089e8b4b48eb1c248b4cf7d83312334b333900d6
Time: 2018-08-31
Author: chenrich@us.ibm.com
File Name: qiskit_aqua/algorithms/adaptive/qsvm/svm_variational.py
Class Name: SVM_Variational
Method Name: init_args


Project Name: LCAV/pyroomacoustics
Commit Name: f2e989565ab89af58dff63ab3cf89fe63af38327
Time: 2020-06-02
Author: fakufaku@gmail.com
File Name: examples/raytracing.py
Class Name:
Method Name: