Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1760578

Summary: odo watch should fail with error message for git based components
Product: OpenShift Container Platform Reporter: Yana Hontyk <yhontyk>
Component: odoAssignee: Tomáš Král <tkral>
Status: CLOSED CURRENTRELEASE QA Contact: Amit <arout>
Severity: unspecified Docs Contact: Yana Hontyk <yhontyk>
Priority: unspecified    
Version: 4.2.0CC: cdrage, moahmed, oskutka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-02 07:55:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yana Hontyk 2019-10-10 21:11:54 UTC
Description of problem:
odo watch should fail with error message for git based components 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Created and pushed a component based on remote git repo
2. Executed odo watch

Actual results:
 $ odo watch
 ✗  stat https://github.com/dharmit/django-ex: no such file or directory

Expected results:
It should fail with a message like Cannot watch git based components
$ odo watch
✗  odo cannot watch git based components. Please run `odo push` to push changes

Additional info:

Comment 1 Amit 2019-11-19 06:59:12 UTC
Fixed via - https://github.com/openshift/odo/pull/2280