mirror of https://github.com/google/oss-fuzz.git
[helper] Change logging from error to info (#6200)
This commit is contained in:
parent
ede1fb13ae
commit
7942bb4491
|
@ -11,7 +11,7 @@
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Module to build a image from a specific commit, branch or pull request
|
||||
"""Module to build a image from a specific commit, branch or pull request.
|
||||
|
||||
This module is allows each of the OSS Fuzz projects fuzzers to be built
|
||||
from a specific point in time. This feature can be used for implementations
|
||||
|
@ -298,10 +298,9 @@ def detect_main_repo(project_name, repo_name=None, commit=None):
|
|||
project_name: The name of the oss-fuzz project.
|
||||
repo_name: The name of the main repo in an OSS-Fuzz project.
|
||||
commit: A commit SHA that is associated with the main repo.
|
||||
src_dir: The location of the projects source on the docker image.
|
||||
|
||||
Returns:
|
||||
The repo's origin, the repo's path.
|
||||
A tuple containing (the repo's origin, the repo's path).
|
||||
"""
|
||||
|
||||
if not repo_name and not commit:
|
||||
|
|
|
@ -16,7 +16,6 @@ The will consist of the following functional tests:
|
|||
1. The inference of the main repo for a specific project.
|
||||
2. The building of a projects fuzzers from a specific commit.
|
||||
|
||||
IMPORTANT: This test needs to be run with root privileges.
|
||||
"""
|
||||
import os
|
||||
import tempfile
|
||||
|
|
|
@ -569,9 +569,9 @@ def build_image(args):
|
|||
pull = y_or_n.lower() == 'y'
|
||||
|
||||
if pull:
|
||||
logging.error('Pulling latest base images...')
|
||||
logging.info('Pulling latest base images...')
|
||||
else:
|
||||
logging.error('Using cached base images...')
|
||||
logging.info('Using cached base images...')
|
||||
|
||||
# If build_image is called explicitly, don't use cache.
|
||||
if build_image_impl(args.project, cache=args.cache, pull=pull):
|
||||
|
|
Loading…
Reference in New Issue