Commit Graph

7 Commits

Author SHA1 Message Date
Armel Soro
5660093167 Use go-cmp instead of reflect.DeepEqual to compare unit test results (#6343) 2022-11-24 07:24:32 -05:00
Philippe Martin
014021d73a Make exec package agnostic of platform (#6217)
* Make exec pkg agnostic of platform

* Move ExtractProjectToComponent to sync package

* Parthvi's review
2022-10-21 04:50:25 -04:00
Philippe Martin
f78096d264 Refactor remotecmd (#6169)
* Remove kclient from interface / signatures

* Create Exec package

* Call ExecuteCommand with client

* Call ExecuteCommand with client from sync package

* Fix order of dependencies
2022-09-27 09:38:54 +02:00
Philippe Martin
2c0b2ee2a6 Refacto sync pkg (#6163)
* Rename interface to SyncExtracter

* Inline PushParameters fields into SyncParameters

* Move SyncParameters to sync package

* Move ComponentName as parameter to SyncFiles

* Move SyncAdapter as handler

* Build syncclient with dependency injection system

* Move ForcePush logic outside of sync package + remove unused ForceBuild option
2022-09-23 16:30:55 +02:00
Philippe Martin
e42d6575e5 Fix ignores files during sync (#5689)
* fix ignore files

* Add tests for synced files

* Use go-gitignore library

* rename topPath
2022-04-26 15:12:36 -04:00
Tomas Kral
5f79c542a8 openshift/odo -> redhat-developer/odo (#5268)
* openshift/odo -> redhat-developer/odo

* update more links to redhat-developer
2021-12-01 16:38:34 +01:00
Mrinal Das
b413f8913c Adds dev.odo.push.path attribute support for pushing only mentioned files (#4588)
* Adds dev.odo.push.file attribute support for pushing only mentioned files

* Adds an error when the file/folder mentioned in a remote attribute is not found
2021-05-10 20:48:38 -04:00