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

Lingo 3.2.3 improvements #78

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Conversation

YOUR1
Copy link
Contributor

@YOUR1 YOUR1 commented Nov 8, 2024

This PR addresses or contains:

  • Improved glossary searching by using the given 'search terms' passed by Lingo
  • New minumum required versions: Lingo: 3.2.3

This PR includes:

  • Update of RELEASE-NOTES.md
  • Tests (unit/integration)
  • CI build passed

@@ -45,6 +45,8 @@ public function testCanConstruct() {

public function testGetTermsForSingleTermWithDefinitionOnNonCachedResult() {

$this->markTestSkipped( 'Needs to be fixed with the new version of SG' );
Copy link
Member

Choose a reason for hiding this comment

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

Why do we have to wait for the next release before the tests can be fixed? If there are specific dependencies we should name them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, but refactoring the tests is a whole other process. I resolved the merge conflicts anyways, the test cases should be revised at one point anyways.

@gesinn-it-gea
Copy link
Member

@YOUR1 many thanks for your PR! Is this still work in progress? If yes, please set it to draft so that others know that it is not yet ready to review. At the moment, Git reports "This branch has conflicts that must be resolved"

@gesinn-it-gea
Copy link
Member

@YOUR1 ... bump :-) @paladox would you like to help with SG too? ❤️

@YOUR1
Copy link
Contributor Author

YOUR1 commented Jan 24, 2025

@YOUR1 ... bump :-) @paladox would you like to help with SG too? ❤️

Ah thanks for the reminder, will check it asap!

@krabina
Copy link
Contributor

krabina commented Feb 5, 2025

ping @YOUR1

@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 6, 2025

ping @YOUR1

Thanks again for the headsup. I will take a look at this today!

@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 6, 2025

The failed tests are not part of my change, it seems something is wrong within the build pipeline itself.

@gesinn-it-gea
Copy link
Member

@paladox do you have a moment to look into the CI issue with "Composer\Plugin\PluginBlockedException"?

@paladox
Copy link
Contributor

paladox commented Feb 6, 2025

@paladox do you have a moment to look into the CI issue with "Composer\Plugin\PluginBlockedException"?

#79 Should fix it

@paladox
Copy link
Contributor

paladox commented Feb 6, 2025

That change has been merged. This pull should be rebased and tests should pass.

YOUR1 and others added 5 commits February 6, 2025 12:38
# Conflicts:
#	src/Cache/CacheInvalidator.php
#	src/Cache/GlossaryCache.php
#	src/LingoBackendAdapter.php
#	src/Maintenance/GlossaryCacheRebuilder.php
#	src/PropertyRegistrationHelper.php
#	src/SemanticDataComparator.php
#	tests/phpunit/Integration/MwDBSQLStoreIntegrationTest.php
#	tests/phpunit/Unit/Cache/CacheInvalidatorTest.php
#	tests/phpunit/Unit/Cache/ElementsCacheBuilderTest.php
#	tests/phpunit/Unit/ConfigurationIntegrityTest.php
#	tests/phpunit/Unit/LingoBackendAdapterTest.php
#	tests/phpunit/Unit/PropertyRegistrationHelperTest.php
#	tests/phpunit/Unit/SemanticDataComparatorTest.php
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 89.61039% with 8 lines in your changes missing coverage. Please review.

Project coverage is 75.86%. Comparing base (345ba69) to head (b5bb68e).

Files with missing lines Patch % Lines
src/Maintenance/GlossaryCacheRebuilder.php 0.00% 6 Missing ⚠️
src/SemanticDataComparator.php 86.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #78      +/-   ##
============================================
+ Coverage     73.04%   75.86%   +2.81%     
- Complexity       93       97       +4     
============================================
  Files             8        8              
  Lines           371      377       +6     
============================================
+ Hits            271      286      +15     
+ Misses          100       91       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 6, 2025

So, the CI pipelines working again (including codestyle). What a mess. I don't agree with the codecov tho.

@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 7, 2025

@gesinn-it-gea what do you think about this?

Removing SMW req
@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 12, 2025

Seems a little bit that we're going in circles here. I'll see if I can fix the tests, but it feels a bit strange that we are removing the SMW dependency

@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 12, 2025

Btw; @paladox, in the Makefile it declares the SMW 4.x version, shouldn't that automatically be loaded when running 'make'?

@krabina
Copy link
Contributor

krabina commented Feb 12, 2025

There has been a discussion regarding SMW dependencies in SMW extensions here: SemanticMediaWiki/SemanticResultFormats#787

@YOUR1
Copy link
Contributor Author

YOUR1 commented Feb 12, 2025

There you go @gesinn-it-gea :]

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

Successfully merging this pull request may close these issues.

4 participants