mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Skeleton for odo dev and a unit test * Update go mod for fsnotify * Start method Pushes and then Watches * More understandable code comments * Client and interface for watch package * Mocks for watch package * Add CLI layer * Fix infinite watch & push trigger * Remove context flag from odo dev * Add integration tests for odo dev * Add klog to dev.go * Replace errors.Wrap with fmt.Errorf * Self review * Removes `odo watch` command, but the business logic exists as it's used by odo dev * Removes integration tests for `odo watch` * Removes errors.go and types.go from pkg/dev/ since they are empty * Check if error is not nil * Use real client in watch unit tests * Uncomment AfterEach from tests * Modify the logs printed to stdout * Changes based on Philippe's review * Remove unused clients * Parthvi's PR review and unit test fixes * Fix gofmt message, remove message to not expect * Fix lint complains, add mistakenly deleted URL creation logic * Remove or modify tests that rely on odo push output * Remove unused variables based on golangci-lint * Fixes based on Philippe's review * Initialize first index after first run of odo dev * Modify odo dev test, and uncomment a mistake