Skip to content

Conversation

sleshchenko
Copy link
Member

@sleshchenko sleshchenko commented Jul 21, 2021

What does this PR do?:

generate typescript model basing on schemas instead of CRDs

Which issue(s) this PR fixes:

it should fix #494 and #493

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.

  • Open new test/doc issues under the devfile/api repo
  • Check each criteria if:
  • There is a separate tracking issue. Add the issue link under the criteria
    or
  • test/doc updates are made as part of this PR
  • If unchecked, explain why it's not needed

How to test changes / Special notes to the reviewer:

  1. Do steps from github flow to get typescript types generates.
  2. Check them:
    Metadata type appears:
    Screenshot_20210721_122349
    Devfile type appears:
    Screenshot_20210721_122320

@sleshchenko sleshchenko requested review from JPinkney and amisevsk July 21, 2021 08:53
@sleshchenko sleshchenko requested a review from davidfestal as a code owner July 21, 2021 08:53
@sleshchenko sleshchenko force-pushed the typescriptBasedOnSchemas branch from b9f5cb8 to 9dc6099 Compare July 21, 2021 09:22
@@ -1,2 +0,0 @@
requests==2.24.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we no longer have dependencies we can probably remove this file along with https://github.com/devfile/api/blob/main/.github/workflows/release-typescript-models.yaml#L30

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@sleshchenko sleshchenko force-pushed the typescriptBasedOnSchemas branch from a3dbe0c to 9448ff1 Compare July 21, 2021 13:42
Copy link
Contributor

@JPinkney JPinkney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci
Copy link

openshift-ci bot commented Jul 21, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: JPinkney, sleshchenko

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

metadata of typescript DevWorkspace types is just object
2 participants