6 Commits

Author SHA1 Message Date
Philippe Martin
b93a75c11a Move UI out of experimental mode (#7012)
* Make UI not experimental

* Display API and UI URLs

* Remove link to old sources

* Fix integration tests

* Add UI to Usage Data

* Add a "Using the GUI to edit the Devfile" page to doc

* Add link to odo.dev specific page

* Apply suggestions from code review

Co-authored-by: Armel Soro <armel@rm3l.org>

* Change favicon with odo logo

* Display web console URL as part of the Dev status

* Update UI static files

* Document that Comments not supported

* Add UI screenshots

---------

Co-authored-by: Armel Soro <armel@rm3l.org>
2023-08-04 13:02:34 +02:00
Philippe Martin
0bce606cfc Set platform and platformVersion in telemetry (#6540)
* Set platform and platformVersion in telemetry

* Vendor oc config client

* Get OC version

* Integration tests for odo dev

* Integration tests for odo deploy

* Update doc

* Apply suggestions from code review

Co-authored-by: Armel Soro <armel@rm3l.org>

* Add integration test on odo init

* Fix OC version when no complete version status

---------

Co-authored-by: Armel Soro <armel@rm3l.org>
2023-01-28 11:20:56 -05:00
Armel Soro
719fe99c21 Allow controlling telemetry via the ODO_TRACKING_CONSENT environment variable (#6258)
* Add support for ODO_TRACKING_CONSENT env variable

Co-authored-by: Armel Soro <asoro@redhat.com>

* Replace deprecated 'ODO_DISABLE_TELEMETRY' env var with 'ODO_TRACKING_CONSENT' in integration tests

* Log environment of process launched with 'helper_run' in integration tests

`odo` behavior might be altered based on certain environment variables.
So this is to help debug future issues that might happen.

Because the process environment also contains the
current OS environment, we purposely limit the content
to variables prefixed with 'ODO_' or particular ones
(like 'TELEMETRY_CALLER').

* Test conflicting situations when using both 'ODO_DISABLE_TELEMETRY' and 'ODO_TRACKING_CONSENT'

* Disable golangci-lint 'staticcheck' check about using the deprecated 'segment.DisableTelemetryEnv'

However, due to [1], line-based directives do not seem to be working.

* Make ODO_TRACKING_CONSENT env var take precedence over the ConsentTelemetry preference

See [1] for more context.

[1] https://github.com/redhat-developer/odo/pull/6258\#issuecomment-1293736398

* Add new 'segment#isTrackingConsentEnabled' function, as suggested in review

This would make it easier to rename the values if needed or add aliases later.

* Add more unit test cases, especially when any of the telemetry var is not there in the env

* Document ODO_TRACKING_CONSENT

* fixup! Add new 'segment#isTrackingConsentEnabled' function, as suggested in review

* fixup! fixup! Add new 'segment#isTrackingConsentEnabled' function, as suggested in review

Co-authored-by: Tomas Kral <tkral@redhat.com>
2022-10-31 09:57:35 -04:00
Parthvi Vala
f76cca9727 Update USAGE_DATA.md (#6182)
* Update USAGE_DATA.md

* Update USAGE_DATA.md

Co-authored-by: Armel Soro <armel@rm3l.org>

* Move enable/disable section to last

* Fix table format

Co-authored-by: Armel Soro <armel@rm3l.org>
2022-10-03 16:40:22 +02:00
Charlie Drage
9fc77eeeb6 Move registry to preference (#5428)
<!--
Thank you for opening a PR! Here are some things you need to know before submitting:

1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines
2. Label this PR accordingly with the '/kind' line
3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests
4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review

Documentation:

If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs
-->

**What type of PR is this:**

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind tests
/kind documentation

Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well.
-->
/kind feature

**What does this PR do / why we need it:**

This PR does the following:
- Moves "registry" to preference
- Gets rid of unused preference configuration options
- Reorders the parameters for preference for the usage in --help

**Which issue(s) this PR fixes:**
<!--
Specifying the issue will automatically close it when this PR is merged
-->

https://github.com/redhat-developer/odo/issues/5402

**PR acceptance criteria:**

- [X] Unit test

- [X] Integration test

- [X] Documentation

**How to test changes / Special notes to the reviewer:**
2022-02-10 06:31:56 -05:00
Dharmit Shah
d07991e429 Update README and change from AsciiDoc to Markdown (#5183)
* Update README and change from AsciiDoc to Markdown

* Update funny sentence

Co-authored-by: Parthvi Vala <pvala@redhat.com>

* Update usage data from adoc to md

* Update link

* Remove Changelog file since we no longer use it

* Add godoc to README

* Update USAGE_DATA.md

Co-authored-by: Parthvi Vala <pvala@redhat.com>

Co-authored-by: Parthvi Vala <pvala@redhat.com>
2021-10-28 17:20:24 +00:00