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

Add wrapper on creator.addAlias. #175

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Add wrapper on creator.addAlias. #175

merged 5 commits into from
Dec 8, 2023

Conversation

mgautierfr
Copy link
Collaborator

@mgautierfr mgautierfr commented Oct 30, 2023

@kelson42 kelson42 added this to the 3.4.0 milestone Nov 7, 2023
Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

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

Thanks!

@mgautierfr you says this needs openzim/libzim#833 but that libzim branch uses addAlias and not addClone anymore.

I guess you want the pylibzim wrapper to switch to add_alias as well.

libzim/libzim.pyx Outdated Show resolved Hide resolved
libzim/zim.pxd Outdated Show resolved Hide resolved
tests/test_libzim_creator.py Outdated Show resolved Hide resolved
@mgautierfr
Copy link
Collaborator Author

Adapted to add_alias.

Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

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

👍 Turning this into a WIP so we don't merged until there's at least a nightly we can validate all targets against

Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (7c62b0c) 93.52% compared to head (4842bc7) 93.44%.

Files Patch % Lines
libzim/libzim.pyx 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
- Coverage   93.52%   93.44%   -0.09%     
==========================================
  Files           1        1              
  Lines         510      519       +9     
==========================================
+ Hits          477      485       +8     
- Misses         33       34       +1     

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

@mgautierfr mgautierfr marked this pull request as ready for review December 8, 2023 15:22
@mgautierfr mgautierfr changed the title Add wrapper on creator.addClone. Add wrapper on creator.addAlias. Dec 8, 2023
@mgautierfr
Copy link
Collaborator Author

Should be ok to merge now ?

@rgaudin rgaudin merged commit 88ddf31 into main Dec 8, 2023
15 of 17 checks passed
@rgaudin rgaudin deleted the clone_entry branch December 8, 2023 15:26
@kelson42
Copy link
Contributor

kelson42 commented Dec 8, 2023

This PR is blocked by openzim/libzim#837 (written in description)

@rgaudin
Copy link
Member

rgaudin commented Dec 8, 2023

I merged with the nightly (that's usual for this repo) but we need a release of libzim to release pylibzim to release scraperlib… to integrate in warc2zim

This was referenced Dec 10, 2023
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.

None yet

3 participants