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

Code cleanup #399

Merged
merged 6 commits into from
Jan 16, 2024
Merged

Code cleanup #399

merged 6 commits into from
Jan 16, 2024

Conversation

friedrichwilken
Copy link
Contributor

@friedrichwilken friedrichwilken commented Jan 16, 2024

Description

For the sake of code quality, this PR cleans up some areas of the code base.

Changes proposed in this pull request:

  • give appropriate variable names in test
  • clean up of obsolete make targets due to the removal of module-templates in releases.
  • clean up of obsolete sections in the readme addressing module-template handling (again, due to the removal of module-templates in releases). (cc: @kyma-project/technical-writers )

Tests
Any issues that would have been created by this PR would be caught by the existing tests.

Related issue(s)

None

@friedrichwilken friedrichwilken requested review from the1bit and a team as code owners January 16, 2024 11:20
@kyma-bot kyma-bot added the area/ci Issues or PRs related to CI related topics label Jan 16, 2024
@friedrichwilken friedrichwilken added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 16, 2024
@kyma-bot kyma-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cla: yes Indicates the PR's author has signed the CLA. labels Jan 16, 2024
The name `install-nats-module` is a little misleading, since this target does not work with modules, but with the CR and CRD of the NATS-manager.
A lot of make targets have become obsolete since a release of eventing-manager or nats-manger does no longer generate a module-template. For that reason, all targets that work with modules can be removed.
@friedrichwilken friedrichwilken requested a review from a team as a code owner January 16, 2024 11:49
@kyma-bot kyma-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 16, 2024
@friedrichwilken friedrichwilken removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 16, 2024
hack/ci/Makefile Outdated Show resolved Hide resolved
mmitoraj
mmitoraj previously approved these changes Jan 16, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 16, 2024
@kyma-bot kyma-bot removed the lgtm Looks good to me! label Jan 16, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 16, 2024
@kyma-bot kyma-bot merged commit fe8baf4 into kyma-project:main Jan 16, 2024
11 checks passed
@friedrichwilken friedrichwilken deleted the code-cleanup branch January 16, 2024 15:33
friedrichwilken added a commit to friedrichwilken/eventing-manager that referenced this pull request Jan 16, 2024
* rename variables

* rename make target

The name `install-nats-module` is a little misleading, since this target does not work with modules, but with the CR and CRD of the NATS-manager.

* remove unused make targets

A lot of make targets have become obsolete since a release of eventing-manager or nats-manger does no longer generate a module-template. For that reason, all targets that work with modules can be removed.

* remove module specific secitons in the readme

* revert changes for make target name

* make  variables to consts
@grischperl grischperl modified the milestones: 1.0.3, 1.1.0 Jan 17, 2024
@friedrichwilken friedrichwilken self-assigned this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Issues or PRs related to CI related topics cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants