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 apache compress dependency #245

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

DavyLandman
Copy link
Member

@DavyLandman DavyLandman commented Feb 21, 2024

We had this full dependency that we only used for 2 classes, that are in reality not used, and could be replaced by existing dependencies.

Copy link

github-actions bot commented Feb 21, 2024

Test Results

     99 files  ±0       99 suites  ±0   7m 6s ⏱️ -33s
242 300 tests ±0  242 299 ✅ ±0  1 💤 ±0  0 ❌ ±0 
726 987 runs  ±0  726 984 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit 4ae6a40. ± Comparison against base commit b45cd79.

♻️ This comment has been updated with latest results.

Copy link
Member

@jurgenvinju jurgenvinju left a comment

Choose a reason for hiding this comment

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

I assume we have tests for this code.

@jurgenvinju
Copy link
Member

pls merge at will

@DavyLandman
Copy link
Member Author

I'm not sure this is ever tested, let me check.

@jurgenvinju
Copy link
Member

It's of particular importance that files written with the previous version can be read with the new one.

@DavyLandman
Copy link
Member Author

The underlying library used are the exact same, I just removed the apache-compress abstraction layer. So this is not an issue of not being able to read the files anymore. I just realized that the different compression modes weren't even tested. I've added a new PR (#247) that introduces them with regards to main first.

@DavyLandman DavyLandman force-pushed the drop-apache-compress-dependency branch from 6cf6069 to 4ae6a40 Compare February 29, 2024 15:48
@DavyLandman
Copy link
Member Author

DavyLandman commented Feb 29, 2024

Ok, I've updated the branch to be rebased on-top of main. so it should now run the new compression tests. The new test also work. So I think this branch is ready to merge.

@DavyLandman DavyLandman merged commit c4b57e0 into main Feb 29, 2024
9 checks passed
@jurgenvinju
Copy link
Member

jurgenvinju commented Feb 29, 2024 via email

@DavyLandman
Copy link
Member Author

DavyLandman commented Feb 29, 2024 via email

@jurgenvinju
Copy link
Member

jurgenvinju commented Feb 29, 2024 via email

@DavyLandman
Copy link
Member Author

Just to be clear, these two compressors are never used in rascal, as we always use normal mode.

So this was unused code (and to be honest, it crashed when you would trigger it, the other pr fixed that).

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.

2 participants