77e3600b27f63caaa164f80add3d87a3bc81b8a7,devtools/travis-ci/push-docs-to-s3.py,,,#,7
Before Change
if not any(d.project_name == "s3cmd" for d in pip.get_installed_distributions()):
raise ImportError("The s3cmd package is required. try $ pip install s3cmd")
print("os.environ.keys()")
print(os.environ.keys())
// The secret key is available as a secure environment variable
// on travis-ci to push the build documentation to Amazon S3.
After Change
cmd = template.format(
config=f.name,
bucket=BUCKET_NAME)
subprocess.call(cmd.split())
// Perform recursive modification to set js mime types.
template = ("s3cmd --recursive modify --add-header="content-type":"application/javascript""
"--exclude "" --include ".js" --config {config} s3://{bucket}/")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: deepchem/deepchem
Commit Name: 77e3600b27f63caaa164f80add3d87a3bc81b8a7
Time: 2017-08-28
Author: rbharath@stanford.edu
File Name: devtools/travis-ci/push-docs-to-s3.py
Class Name:
Method Name:
Project Name: inferno-pytorch/inferno
Commit Name: a2a7dfa98b3140dbf8d9da9a62aa52f873f5483f
Time: 2017-06-26
Author: nasim.rahaman@iwr.uni-heidelberg.de
File Name: inferno/trainers/basic.py
Class Name: Trainer
Method Name: validate_for
Project Name: chakki-works/doccano
Commit Name: e38d9d1f8719f0a9393ddad5496dd4a09fd59121
Time: 2020-12-06
Author: light.tree.1.13@gmail.com
File Name: app/doccano/doccano.py
Class Name:
Method Name: main