Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend: open source shared components package #1618

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

DeltaMichael
Copy link
Contributor

@DeltaMichael DeltaMichael commented Feb 10, 2023

https://jira.eng.vmware.com/browse/TAUR-5878

What

Open source shared components library

  • replace references to taurus, supercollider, vmw, vmware and tms with vdk
  • change license to Apache-2.0
  • upade copyright headers to reflect license change
  • regenerate package-lock.json
  • remove e2e tests
  • change package versions to 0.0.1
  • update zone.js version to fix broken async test
  • remove author tag from docs

How has this been tested

Followed instructions to build and test here https://github.com/vmware/versatile-data-kit/blob/person/mdilyan/os-shared-components/projects/frontend/shared-components/gui/README.md

Screen.Recording.2023-02-08.at.19.10.02.mov

What type of change are you making

New feature, non-breaking

Follow-up issues

#1623
#1641
#1643
#1644

Signed-off-by: Dilyan Marinov mdilyan@vmware.com

@DeltaMichael
Copy link
Contributor Author

DeltaMichael commented Feb 10, 2023

Should we be re-generating package-lock.json? I did it because there were lots of packages pointing to http://build-artifactory.eng.vmware.com.

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/os-shared-components branch 3 times, most recently from f220955 to 195b4c3 Compare February 11, 2023 16:53
Copy link
Contributor

@ivakoleva ivakoleva left a comment

Choose a reason for hiding this comment

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

LVGTM,
need to complete the review of all files, it's a massive PR,
posting what I have so far

Copy link
Contributor

@ivakoleva ivakoleva left a comment

Choose a reason for hiding this comment

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

LGTM,
lets address the source file headers , and have another round of review

@ivakoleva
Copy link
Contributor

ivakoleva commented Feb 13, 2023

Should we be re-generating package-lock.json? I did it because there were lots of packages pointing to

yes, it's re-generated via build from scratch right

@DeltaMichael
Copy link
Contributor Author

DeltaMichael commented Feb 13, 2023

Should we be re-generating package-lock.json? I did it because there were lots of packages pointing to
yes, it's re-generated via build from scratch right

Yeah, it's generated on first build if it doesn't exist. However, we're committing it to the repo. Instructions in the README.md also state that we have to run npm ci --omit=optional, which tells npm not to try and update dependencies, but use whatever versions are in package-lock.json. I had to delete and regenerate it, because it was pointing to internal repos.

Not adding package-lock.json to version control and using the latest dependencies on every build is a little bit controversial, so most projects add it.

I was afraid there would be some version conflict when I regenerated it, but everything seems to work fine.

@DeltaMichael DeltaMichael changed the title Open Source Shared Components Package frontend: open source shared components package Feb 13, 2023
@DeltaMichael DeltaMichael changed the title frontend: open source shared components package vdk-frontend: open source shared components package Feb 13, 2023
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/os-shared-components branch from 9f972ae to 2497ede Compare February 13, 2023 14:14
@ivakoleva
Copy link
Contributor

.pre-commit-config.yaml
perfect; please use separate lean PRs for atomic autonomous changes

Copy link
Contributor

@ivakoleva ivakoleva left a comment

Choose a reason for hiding this comment

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

I am considering setting the @vdk artifacts version to 1, in the scope of the CI/CD prep 😊

I've fetched this PR changes locally, then tested with a (yet local) branch of frontend/data-pipelines/* I am now wrapping up for code review.
(I can confirm the shared library is operational.)

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/os-shared-components branch from 2497ede to 5130d1c Compare February 14, 2023 07:57
@ivakoleva ivakoleva changed the title vdk-frontend: open source shared components package frontend: open source shared components package Feb 14, 2023
@vmware vmware deleted a comment from VDK Feb 14, 2023
@DeltaMichael
Copy link
Contributor Author

I'll wait for #1625 and #1634 before merging. It seems like it will complicate things if the headers are added and then have to be changed again.

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/os-shared-components branch 3 times, most recently from 1d86a83 to 599017b Compare February 16, 2023 11:49
@ivakoleva
Copy link
Contributor

Please link the tickets created to this PR

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/os-shared-components branch from d7cb9d6 to c977c18 Compare February 16, 2023 12:34
@DeltaMichael DeltaMichael removed the request for review from antoniivanov February 16, 2023 12:35
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/os-shared-components branch from c977c18 to 95c4800 Compare February 16, 2023 12:36
https://jira.eng.vmware.com/browse/TAUR-5878

What

- replace references to taurus, supercollider, vmw, vmware and tms with vdk
- change license to Apache-2.0
- upade copyright headers to reflect license change
- regenerate package-lock.json
- remove e2e tests
- change package versions to 0.0.1
- update zone.js version to fix broken async test
- remove author tag from docs

How has this been tested

Followed instructions to build and test here https://github.com/vmware/versatile-data-kit/blob/person/mdilyan/os-shared-components/projects/frontend/shared-components/gui/README.md

https://user-images.githubusercontent.com/91800778/218074170-89ea2cca-1676-47b7-9df2-bad81d2b1ff9.mov

What type of change are you making

New feature, non-breaking

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael
Copy link
Contributor Author

Linking the issues will just close them once we merge. I've put them in the description instead.

@DeltaMichael DeltaMichael merged commit b877e5e into main Feb 16, 2023
@DeltaMichael DeltaMichael deleted the person/mdilyan/os-shared-components branch February 16, 2023 13:46
ivakoleva pushed a commit that referenced this pull request Feb 17, 2023
https://jira.eng.vmware.com/browse/TAUR-5878

### What

Open source shared components library
    
- replace references to taurus, supercollider, vmw, vmware and tms with
vdk
- change license to Apache-2.0
- upade copyright headers to reflect license change
- regenerate package-lock.json
- remove e2e tests
- change package versions to 0.0.1
- update zone.js version to fix broken async test
- remove author tag from docs

### How has this been tested

Followed instructions to build and test here
https://github.com/vmware/versatile-data-kit/blob/person/mdilyan/os-shared-components/projects/frontend/shared-components/gui/README.md


https://user-images.githubusercontent.com/91800778/218074170-89ea2cca-1676-47b7-9df2-bad81d2b1ff9.mov

### What type of change are you making

New feature, non-breaking

### Follow-up issues

#1623
#1641
#1643
#1644


Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
ivakoleva pushed a commit that referenced this pull request Feb 20, 2023
https://jira.eng.vmware.com/browse/TAUR-5878

### What

Open source shared components library
    
- replace references to taurus, supercollider, vmw, vmware and tms with
vdk
- change license to Apache-2.0
- upade copyright headers to reflect license change
- regenerate package-lock.json
- remove e2e tests
- change package versions to 0.0.1
- update zone.js version to fix broken async test
- remove author tag from docs

### How has this been tested

Followed instructions to build and test here
https://github.com/vmware/versatile-data-kit/blob/person/mdilyan/os-shared-components/projects/frontend/shared-components/gui/README.md


https://user-images.githubusercontent.com/91800778/218074170-89ea2cca-1676-47b7-9df2-bad81d2b1ff9.mov

### What type of change are you making

New feature, non-breaking

### Follow-up issues

#1623
#1641
#1643
#1644


Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants