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

Remove openhab-transport-http feature dependencies #16202

Merged
merged 1 commit into from Jan 4, 2024

Conversation

wborn
Copy link
Member

@wborn wborn commented Jan 4, 2024

The openhab-transport-http feature dependency is redundant since OH 2.3 when it was added to the openhab-runtime-base feature dependencies.

See:

The openhab-transport-http feature dependency is redundant since OH 2.3 when it was added to the openhab-runtime-base feature dependencies.

See:

* openhab/openhab-core#344
* openhab#16181 (comment)

Signed-off-by: Wouter Born <github@maindrain.net>
@wborn
Copy link
Member Author

wborn commented Jan 4, 2024

I just noticed openhab-transport-mdns was also added to openhab-runtime-base in OH 2 (openhab/openhab-core#81) so those feature dependencies could also be removed. WDYT? It probably got added because the MDNSAnnouncer is also used so OH can be discovered.

See: /features/karaf/openhab-core/src/main/feature/feature.xml

There may already be many add-ons that depend on these features without having these feature deps in their feature.xml file.

@J-N-K J-N-K added the enhancement An enhancement or new feature for an existing add-on label Jan 4, 2024
@J-N-K J-N-K added this to the 4.2 milestone Jan 4, 2024
@J-N-K J-N-K merged commit 099dc69 into openhab:main Jan 4, 2024
3 checks passed
@J-N-K
Copy link
Member

J-N-K commented Jan 4, 2024

Yes, the mdns feature should also be removed.

@wborn wborn deleted the remove-openhab-transport-http-deps branch January 4, 2024 12:09
wborn added a commit to wborn/openhab-addons that referenced this pull request Jan 4, 2024
The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: openhab#16202 (comment)

Signed-off-by: Wouter Born <github@maindrain.net>
Cybso pushed a commit to Cybso/openhab-addons that referenced this pull request Jan 5, 2024
The openhab-transport-http feature dependency is redundant since OH 2.3 when it was added to the openhab-runtime-base feature dependencies.

See:

* openhab/openhab-core#344
* openhab#16181 (comment)

Signed-off-by: Wouter Born <github@maindrain.net>
J-N-K pushed a commit that referenced this pull request Jan 5, 2024
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: #16202 (comment)

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
The openhab-transport-http feature dependency is redundant since OH 2.3 when it was added to the openhab-runtime-base feature dependencies.

See:

* openhab/openhab-core#344
* openhab#16181 (comment)

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: openhab#16202 (comment)

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants