Skip to content
Permalink
Branch: master
Commits on Oct 21, 2019
  1. Errors out if json machine output has not been implemented (#2160)

    cdrage authored and openshift-merge-robot committed Oct 21, 2019
    * Errors out if json machine output has not been implemented
    
    This PR:
    
     - Moves annotations to `&cobra.Command` struct creation rather than
     using the command to add it
     - Errors out if `-o json` has been passed, but json support has not
     been added
     - Hides the `-o json` command if it's not impemented
     - Solves the issue of #2031
     - Changes "Global Flags" to "Additional Flags"
    
    Closes #2031
    
    * Remove -o from global flags when doing --help
Commits on Oct 19, 2019
  1. Point all new documentation to docs.openshift.com (#2294)

    cdrage authored and openshift-merge-robot committed Oct 19, 2019
    This PR:
      - Points all new documentation to docs.openshift.com
      - Removes our old documentation
      - Revamps the README.adoc to reflect the new documentation on the
      official site
    
    Closes #2291
Commits on Oct 11, 2019
  1. Updates environment variable output (#2213)

    cdrage authored and openshift-merge-robot committed Oct 11, 2019
    * Updates environment variable output
    
    Bolds the info message for outputting the environment variables as well
    as changes the grammar.
    
    * Update message
  2. Add secrets to `odo describe` (#2233)

    cdrage authored and openshift-merge-robot committed Oct 11, 2019
    Adds the "secrets" or environment variables that have been passed into
    the component by using the `odo link` feature when connecting to a
    database.
    
    Builds upon PR: #2231
    Closes: #2232
    
    See the below example of how it now looks like:
    
    ```sh
    Component Name: nodejs-nodejs-ex-cstb
    Type: nodejs
    Source: file://./
    Environment Variables:
     · foo=bar
     · bar=foo
     · DEBUG_PORT=5858
    Storage:
     · mystorage of size 1Gi mounted to /opt/app-root/src/storage/
    URLs:
     · http://foobar-app-myproject.192.168.42.79.nip.io exposed via 8080
    Linked Components:
     · nodejs2 - Port(s): 8080
    Linked Services:
     · mongodb-persistent
       Environment Variables:
        · uri
        · username
        · admin_password
        · database_name
        · password
     · dh-mysql-apb
       Environment Variables:
        · DB_HOST
        · DB_NAME
        · DB_PASSWORD
        · DB_PORT
        · DB_TYPE
        · DB_USER
    ```
Commits on Oct 9, 2019
  1. Updates help for odo url create / delete (#2264)

    cdrage authored and openshift-merge-robot committed Oct 9, 2019
    Updates the help usage for odo url create / delete.
    
    Closes #2260
Commits on Oct 7, 2019
  1. ComponentTypeList should be List in machine output (#2230)

    cdrage authored and openshift-merge-robot committed Oct 7, 2019
    For `odo catalog list components` machine-readable output for `Kind`
    should simply be `List`
  2. Machine output for `odo app list` should be `Kind: List` (#2228)

    cdrage authored and openshift-merge-robot committed Oct 7, 2019
    Machine readable output for ApplicationList Kind should actually just be
    `Kind`.
  3. Updates `odo describe` output (#2231)

    cdrage authored and openshift-merge-robot committed Oct 7, 2019
    Updates the `odo describe` output to be a bit more intuitive / better
    looking.
Commits on Oct 5, 2019
  1. Updates the help usage of odo (#2242)

    cdrage authored and openshift-merge-robot committed Oct 5, 2019
    * Updates the help usage of odo
    
    This PR:
      - Modifies the output of running JUST `odo` similar to how `oc` does
      it.
      - There is now a difference between running `odo` and running `odo
      --help`
      - Removes "Normalize" for the long description since it was messing up
      newline formatting
      - Adds integration tests for help usage
    
    Closes #1672
    
    Example of running JUST `odo`:
    
    ```sh
    (OpenShift Do) odo is a CLI tool for running OpenShift applications in a fast and automated manner.
    Reducing the complexity of deployment, odo adds iterative development without the worry of deploying your source code.
    
    Find more information at https://github.com/openshift/odo
    
    Get started by creating a new application:
    
     git clone https://github.com/openshift/nodejs-ex && cd nodejs-ex
     odo create nodejs
     odo push
    
    Your nodejs application has now been deployed. odo has pushed the source code, built the application and deployed it on OpenShift.
    You can now edit your code in real time and watch as odo automatically deploys your application.
    
     odo watch
    
    To access your application, create a URL:
    
     odo url create myurl
     odo push
    
    More information such as logs or what components you've deployed can be accessed with these commands:
    
     odo describe
     odo list
     odo log
    
    To see a full list of commands, run 'odo --help'
    ```
    
    * Update order
Commits on Oct 4, 2019
  1. ServiceTypeList should be List in machine output (#2229)

    cdrage authored and openshift-merge-robot committed Oct 4, 2019
    For `odo catalog list services` machine-readable output for `Kind`
    should simply be `List`
Commits on Oct 2, 2019
  1. Move dev documentation to /dev (#2187)

    cdrage authored and openshift-merge-robot committed Oct 2, 2019
    Moves dev documentation into /dev
    
    This is to prepare our "upstream" and "downstream" documentation and to
    differentiate between dev documentation and upstream documentation (we
    will have different folders, `/dev` and possibly `/upstream` or
    something similar.
Commits on Sep 30, 2019
  1. Add tests for odo catalog search failing (#2149)

    cdrage authored and openshift-merge-robot committed Sep 30, 2019
    Adds tests for odo catalog search failing
    
    Closes #2147
  2. Updates machine readable output for `odo app` (#2169)

    cdrage authored and openshift-merge-robot committed Sep 30, 2019
    This PR:
      - Capitalizes the Kind to Application
      - Uses the full name of Application
      - Uses ApplicationList instead of List (which is already taken by `odo
      list`)
Commits on Sep 29, 2019
  1. Updates the README formatting and adds crc (#2188)

    cdrage authored and openshift-merge-robot committed Sep 29, 2019
    Updates the README formatting for commands. Adds instructions on CRC.
Commits on Sep 26, 2019
Commits on Sep 20, 2019
  1. Refactor and updates catalog code (#2133)

    cdrage authored and openshift-merge-robot committed Sep 20, 2019
    This PR:
    
     - Changes how we use `odo catalog list services` (using ServiceTypeList
     and ServiceType)
     - Changes how we use `odo catalog list components (using
     ComponentTypeList and ComponentType)
     - Refactors the code from occlient.go and puts it inside of
     catalog/catalog.go
     - Changes how to we output services by using `ServiceTypeList`
     - Changes the API structure of `odo catalog list services`
    
    To test:
    
    ```sh
    odo catalog list services
    odo catalog list components
    ```
    
    See below for an example of the updated json:
    
    ```json
    {
      "kind": "ServiceTypeList",
      "apiVersion": "odo.openshift.io/v1alpha1",
      "metadata": {
        "creationTimestamp": null
      },
      "items": [
        {
          "kind": "ServiceType",
          "metadata": {
            "name": "cakephp-mysql-persistent",
            "creationTimestamp": null
          },
          "spec": {
            "hidden": false,
            "planList": [
              "default"
            ]
          }
        },
        {
          "kind": "ServiceType",
          "metadata": {
            "name": "dancer-mysql-persistent",
            "creationTimestamp": null
          },
          "spec": {
            "hidden": false,
            "planList": [
              "default"
            ]
          }
        },
      }
    }
    ```
Commits on Sep 19, 2019
  1. Update the `odo catalog search component` output (#2135)

    cdrage authored and openshift-merge-robot committed Sep 19, 2019
    * Remove context check for search
    
    Removes the check for search.
    
    To test:
    
    ```sh
    odo catalog search component ruby
    ```
    
    Closes #2132
    
    * Update the `odo catalog search component` output
    
    Updates the output to match the output from `odo catalog search
    service`.
    
    See below:
    
    ```sh
    github.com/openshift/odo  update-search-table ✗                                                                                                                                                                                                                                                                                                                       6m ⚑
    ▶ ./odo catalog search service rails
    NAME                       PLANS
    rails-pgsql-persistent     default
    
    github.com/openshift/odo  update-search-table ✗                                                                                                                                                                                                                                                                                                                       6m ⚑
    ▶ ./odo catalog search component r
    NAME
    perl
    ruby
    
    github.com/openshift/odo  update-search-table ✗                                                                                                                                                                                                                                                                                                                       6m ⚑
    ▶ ./odo catalog search component ""
    NAME
    dotnet
    httpd
    nginx
    nodejs
    perl
    php
    python
    ruby
    wildfly
    ```
    
    * Add integration tests
  2. Remove context check for search (#2134)

    cdrage authored and openshift-merge-robot committed Sep 19, 2019
    Removes the check for search.
    
    To test:
    
    ```sh
    odo catalog search component ruby
    ```
    
    Closes #2132
  3. Add "pretty" library for testing (#2122)

    cdrage authored and openshift-merge-robot committed Sep 19, 2019
    * Update vendoring
    
    * Add "pretty" library for testing
    
    Adds the "pretty" library for easier debugging.
    
    See below:
    
    ```sh
    --- FAIL: TestListWithDetailedStatus (0.00s)
        service_test.go:482:  [
              {
               TypeMeta: {
                Kind: "Service",
                APIVersion: "odo.openshift.io/v1alpha1",
               },
               ObjectMeta: {
                Name: "mysql-persistent",
                GenerateName: "",
                Namespace: "",
                SelfLink: "",
                UID: "",
                ResourceVersion: "",
                Generation: 0,
                CreationTimestamp: {
                 Time: 0001-01-01 00:00:00 +0000 UTC,
                },
                DeletionTimestamp: nil,
                DeletionGracePeriodSeconds: nil,
                Labels: {
                },
                Annotations: {
                },
                OwnerReferences: [
                ],
                Initializers: nil,
                Finalizers: [
                ],
                ClusterName: "",
               },
               Spec: {
                Type: "mysql-persistent",
                Plan: "default",
               },
               Status: {
            -   Status: "ProvisionedSuccessfully",
            +   Status: "ProvisionedAndLinked",
               },
    ```
    
    Vs:
    
    ```
    --- FAIL: TestListWithDetailedStatus (0.00s)
        service_test.go:481: expected output: []service.Service{service.Service{TypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"mysql-persistent", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Locati
    on)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"mysql-persistent", Plan:"default"}, Status:service.Serv
    iceStatus{Status:"ProvisionedSuccessfully"}}, service.Service{TypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"postgresql-ephemeral", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}
    , DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"postgresql-ephemeral", Plan:"default"}, Status:service.ServiceSta
    tus{Status:"ProvisionedSuccessfully"}}, service.Service{TypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"mongodb", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp
    :(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"mongodb", Plan:"default"}, Status:service.ServiceStatus{Status:"ProvisionedSuccessfu
    lly"}}, service.Service{TypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"jenkins-persistent", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), Del
    etionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"jenkins-persistent", Plan:"default"}, Status:service.ServiceStatus{Status:"Provisioning"}}},got: []servic
    e.Service{service.Service{TypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"mysql-persistent", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), Del
    etionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"mysql-persistent", Plan:"default"}, Status:service.ServiceStatus{Status:"ProvisionedAndLinked"}}, service
    .Service{TypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"postgresql-ephemeral", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePer
    iodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"postgresql-ephemeral", Plan:"default"}, Status:service.ServiceStatus{Status:"ProvisionedAndBound"}}, service.Service{T
    ypeMeta:v1.TypeMeta{Kind:"Service", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"mongodb", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil
    ), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"mongodb", Plan:"default"}, Status:service.ServiceStatus{Status:"ProvisionedSuccessfully"}}, service.Service{TypeMeta:v1.TypeMeta{Kind:"Servic
    e", APIVersion:"odo.openshift.io/v1alpha1"}, ObjectMeta:v1.ObjectMeta{Name:"jenkins-persistent", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]
    string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:service.ServiceSpec{Type:"jenkins-persistent", Plan:"default"}, Status:service.ServiceStatus{Status:"Provisioning"}}}
    ```
    
    Closes: #2120
  4. Add tests/reports to .gitignore (#2141)

    cdrage authored and openshift-merge-robot committed Sep 19, 2019
    Ignore these files when committing. These are test reports which are
    generated when running tests locally or on CI.
Commits on Sep 18, 2019
  1. Adds `odo service list -o json` (#2098)

    cdrage authored and openshift-merge-robot committed Sep 18, 2019
    * Adds `odo service list -o json`
    
    Adds `odo service list -o json` support.
    
    To test:
    
    ```sh
    github.com/openshift/odo  add-service-listing-json ✔                                                                                                                                                                                                                         0m
    ▶ ./odo service list -o json --context ~/nodejs-ex | jq
    ```
    
    ```json
    {
      "kind": "ServiceList",
      "apiVersion": "odo.openshift.io/v1alpha1",
      "metadata": {
        "creationTimestamp": null
      },
      "items": [
        {
          "kind": "Service",
          "apiVersion": "odo.openshift.io/v1alpha1",
          "metadata": {
            "creationTimestamp": null
          },
          "spec": {
            "name": "foobar2",
            "type": "dh-postgresql-apb",
            "plan": "dev"
          },
          "status": {
            "status": "ProvisionedSuccessfully"
          }
        }
      ]
    }
    ```
    
    Closes #2054
    
    * Update based on comments
Commits on Sep 17, 2019
  1. Add development doc on machine readable output (#2123)

    cdrage authored and openshift-merge-robot committed Sep 17, 2019
    Adds a development doc on how to create correct machine readable output
    with a working example on how to implement it.
Commits on Sep 11, 2019
  1. Reduces amount of lines in release info / update (#2110)

    cdrage authored and openshift-merge-robot committed Sep 11, 2019
    Reduces the amount of output the user is given when prompting that odo
    needs to update.
    
    See below:
    ```sh
    github.com/openshift/odo  update-message ✗                                                                                                                                   0h1m ⚑
    ▶ ./odo list --context ~/nodejs-ex
    APP     NAME                      TYPE       SOURCE        STATE
    app     nodejs-nodejs-ex-wdfr     nodejs     file://./     Pushed
    
    ---
    A newer version of odo (v1.0.0-beta5) is available.
    Visit https://github.com/openshift/odo/releases to update.
    If you wish to disable this notification, run:
    odo preference set UpdateNotification false
    ---
    ```
    
    To test:
      1. Change line 20 in `cli/version/version.go` to any other version
      (beta4)
      2. `make bin`
      3. Run any command
  2. Remove creating project info (#2112)

    cdrage authored and openshift-merge-robot committed Sep 11, 2019
    There is enough info in verbose, we shouldn't always be outputting that
    a project is being created.
Commits on Sep 10, 2019
  1. Makes update information italic text (#2086)

    cdrage authored and openshift-merge-robot committed Sep 10, 2019
    Changes the update information to display at italic in order to not get
    mixed in with the other output.
    
    Also remove the quotes for `odo preference set UpdateNotification false`
    so it's easier to copy-and-paste from the terminal.
    
    To test:
    
     1. Modify pkg/odo/cli/version/version.go VERSION var to "v1.0.0-beta4"
     or any version previous
     2. Compile
     3. Run a standard create command `odo create nodejs`
Commits on Sep 9, 2019
  1. Modifies info output of url delete and url create (#2097)

    cdrage authored and openshift-merge-robot committed Sep 9, 2019
    This PR:
    
      - Modifies the info output of url delete and url
      - Removes genericclioptions printtemplate output code
      - Make the info bolded
  2. Remove newline from odo create output (#2096)

    cdrage authored and openshift-merge-robot committed Sep 9, 2019
    Removes an extra newline that was added to the output.
    
    `log.Infof` already adds a newline..
  3. Remove required --port within README and Getting Started guides (#2094)

    cdrage authored and openshift-merge-robot committed Sep 9, 2019
    Removes the required `--port` from the README and Getting Started guides
    since we now default to the port available on the container/image and if
    it's not available, odo will automatically error / prompt you for a
    port.
  4. Adds `odo catalog list services -o json` (#2066)

    cdrage authored and openshift-merge-robot committed Sep 9, 2019
    Adds the ability to list catalog services and output to json.
    
    The format is as follows:
    
    ```json
    {
      "kind": "ServiceList",
      "apiVersion": "odo.openshift.io/v1alpha1",
      "metadata": {
        "creationTimestamp": null
      },
      "items": [
        {
          "name": "cakephp-mysql-persistent",
          "hidden": false,
          "planList": [
            "default"
          ]
        },
      ]
    }
    ```
Commits on Sep 4, 2019
  1. Add cross compiling script (#2083)

    cdrage authored and openshift-merge-robot committed Sep 4, 2019
    Adds a cross-compiling script rather than having it in the Makefile.
    
    To test:
    
    ```sh
    github.com/openshift/odo  fix-cross ✔                                                                                                                                                                                                                                                                                                                                   0m
    ▶ make cross
    ./scripts/cross-compile.sh '-X github.com/openshift/odo/pkg/odo/cli/version.GITCOMMIT=91599ec5'
    Cross compiling linux-amd64 and placing binary at dist/bin/linux-amd64/
    Cross compiling darwin-amd64 and placing binary at dist/bin/darwin-amd64/
    Cross compiling windows-amd64 and placing binary at dist/bin/windows-amd64/
    ```
  2. Update build/VERSION for 1.0.0-beta5 (#2080)

    cdrage authored and openshift-merge-robot committed Sep 4, 2019
    Updates the build version for 1.0.0-beta5
Commits on Sep 3, 2019
  1. Release 1.0.0-beta5 (#2075)

    cdrage authored and openshift-merge-robot committed Sep 3, 2019
    - Lists all URLs even if they are undeployed or not
    (#2034)
    
    - Added json output for `odo project delete -o json`
    (#2037)
    
    - Fixed service integration test that was previously failing
    (#2022)
    
    - `odo push` will now only push changed files
    (#2030)
    - We now use relative paths within the file indexer
    (#2003)
    - You can now create list and edit services using --app and --project
    (#2001)
    - Deleted files will now propagate to the OpenShift container
    (#1999)
    - Added `odo service create --context` functionality
    (#1997)
    - Making cross-compile independant of gox vendor package
    (#2047)
    - `odo-supervisord-image` has been renamed to `odo-init-image`
    (#2027)
    - Releases now use .tar.gz (#2009)
    - If there is an error creating a service, it will fail quicker
    (#2008)
    
    - We now have a Google Group!
    (#2007)
    - Added documentation on how to manage environment
    variables(#2026)
    - Badges added to the README
    (#2060)
    - Updated documentation on uninstallation
    (#2053)
    - Added documentation for default parameters
    (#2038)
    - Minor update to help output
    (#2006)
    - Updated documentation regarding bootstrapper image
    (#1991)
Commits on Aug 29, 2019
  1. Adds `odo project delete -o json` (#2037)

    cdrage authored and openshift-merge-robot committed Aug 29, 2019
    Adds capability for `odo project delete -o json` output.
    
    To test
    
    ```sh
    github.com/openshift/odo  json-delete-project ✗                                                                                                                                                                                                                        1h50m ⚑  ⍉
    ▶ ./odo project create foobar -o json | jq
    {
      "kind": "Project",
      "apiVersion": "odo.openshift.io/v1alpha1",
      "metadata": {
        "name": "foobar",
        "namespace": "foobar",
        "creationTimestamp": null
      },
      "message": "Project 'foobar' is ready for use"
    }
    
    github.com/openshift/odo  json-delete-project ✗                                                                                                                                                                                                                         1h50m ⚑
    ▶ ./odo project delete foobar -o json | jq
    {
      "kind": "Project",
      "apiVersion": "odo.openshift.io/v1alpha1",
      "metadata": {
        "name": "foobar",
        "namespace": "foobar",
        "creationTimestamp": null
      },
      "message": "Deleted project foobar"
    }
    ```
Commits on Aug 22, 2019
  1. Adds `odo create project -o json` output (#1916)

    cdrage authored and openshift-merge-robot committed Aug 22, 2019
    Adds machine readable output for odo create project.
    
    To test:
    
    ```sh
    odo create project -o json
    ```
Commits on Aug 21, 2019
  1. Propagate deleted files to the container (#1999)

    cdrage authored and openshift-merge-robot committed Aug 21, 2019
    * Propagate deleted files to the container
    
    This PR propagates and makes sure that all files which were deleted
    locally in the source code is *also* deleted within the container on
    OpenShift.
    
    To test:
    
    ```sh
    touch foobar.txt foobar2.txt && odo push && echo "\nPUSHING WITH REMOVING FILE\n" && rm foobar.txt foobar2.txt && odo push -v 4
     ```
    
    Closes:
    #1354
    
    * Add tests
    
    Add some unit and integration tests.
Older
You can’t perform that action at this time.