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

versatile-data-kit: git pre-commit hooks config #1625

Merged
merged 17 commits into from
Feb 15, 2023

Conversation

ivakoleva
Copy link
Contributor

@ivakoleva ivakoleva commented Feb 13, 2023

Frontend config files were failing git pre-coming hooks due:

  • too large
  • JSON format inspection
  • PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS,
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs
were committed and auto-modified correctly
with the code header expected.

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Need to be able to prefix commit messages titles with
`frontend` component

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
@ivakoleva ivakoleva force-pushed the person/ikoleva/frontend-data-pipelines-precommit branch from 0c2daca to 1f6d3a2 Compare February 14, 2023 10:15
@ivakoleva ivakoleva removed the request for review from sabadzhiev February 15, 2023 09:26
ivakoleva and others added 7 commits February 15, 2023 13:53
Frontend config files were failing git pre-coming hooks due:
* too large
* JSON format inspection
* PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS,
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs
were committed and auto-modified correctly
with the code header expected.

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Frontend config files were failing git pre-coming hooks due:
* too large
* JSON format inspection
* PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS,
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs
were committed and auto-modified correctly
with the code header expected.

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Frontend config files were failing git pre-coming hooks due:
* too large
* JSON format inspection
* PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS,
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs
were committed and auto-modified correctly
with the code header expected.

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
@ivakoleva ivakoleva enabled auto-merge (squash) February 15, 2023 12:22
@ivakoleva ivakoleva merged commit 1a0dcff into main Feb 15, 2023
@ivakoleva ivakoleva deleted the person/ikoleva/frontend-data-pipelines-precommit branch February 15, 2023 14:00
ivakoleva added a commit that referenced this pull request Feb 15, 2023
Frontend config files were failing git pre-coming hooks due:
* too large
* JSON format inspection
* PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS,
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs
were committed and auto-modified correctly
with the code header expected.

---------

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ivakoleva added a commit that referenced this pull request Feb 16, 2023
This is a stacked PR #1 (follows
#1625):
data-pipelines bundle ceremonies.

`data-pipelines/README.md` file path fix in accordance to VEP 1507.
Project and artifact bundle configurations added.
Version of the cicd-expected ``@vdk/data-pipelines` release is 0.0.1.
Proxy configuration set to the cicd-expected control-service instance 
http://cicd-control-service-svc:8092.

Testing done: fetched the `frontend/shared-components` changes 
(from person/mdilyan/os-shared-components feature branch in review),
and verified `frontend/data-pipelines` manual start + unit + e2e tests.

---------

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ivakoleva added a commit that referenced this pull request Feb 17, 2023
Frontend config files were failing git pre-coming hooks due:
* too large
* JSON format inspection
* PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS,
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs
were committed and auto-modified correctly
with the code header expected.

---------

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ivakoleva added a commit that referenced this pull request Feb 17, 2023
This is a stacked PR #1 (follows
#1625):
data-pipelines bundle ceremonies.

`data-pipelines/README.md` file path fix in accordance to VEP 1507.
Project and artifact bundle configurations added.
Version of the cicd-expected ``@vdk/data-pipelines` release is 0.0.1.
Proxy configuration set to the cicd-expected control-service instance
http://cicd-control-service-svc:8092.

Testing done: fetched the `frontend/shared-components` changes
(from person/mdilyan/os-shared-components feature branch in review),
and verified `frontend/data-pipelines` manual start + unit + e2e tests.

---------

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ivakoleva added a commit that referenced this pull request Feb 20, 2023
Frontend config files were failing git pre-coming hooks due:
* too large 
* JSON format inspection
* PR title prefix

License insertion now covers TypeScript, JavaScript, (S)CSS, 
HTML, Y(A)ML file types in addition.
PR titles can be now associated with "frontend" component.
Modified the pre-commit and gitlint configurations accordingly.

Testing done: installed the hook locally, and verified all
frontend/data-pipelines changes from multiple stacked PRs 
were committed and auto-modified correctly
with the code header expected.

---------

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ivakoleva added a commit that referenced this pull request Feb 20, 2023
This is a stacked PR #1 (follows
#1625):
data-pipelines bundle ceremonies.

`data-pipelines/README.md` file path fix in accordance to VEP 1507.
Project and artifact bundle configurations added.
Version of the cicd-expected ``@vdk/data-pipelines` release is 0.0.1.
Proxy configuration set to the cicd-expected control-service instance 
http://cicd-control-service-svc:8092.

Testing done: fetched the `frontend/shared-components` changes 
(from person/mdilyan/os-shared-components feature branch in review),
and verified `frontend/data-pipelines` manual start + unit + e2e tests.

---------

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.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

5 participants