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

Drop MPL licensed dependency dirs-sys #141

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Conversation

pacak
Copy link
Contributor

@pacak pacak commented Jan 21, 2024

Dependabot updated dirs crate to version 5.0.0 here: #114. Between versions 4.0 and 5.0 dirs crate included a small dependency with MPL license, there's several tickets to dirs crate about this issue closed as WONTFIX, you can find some relevant links here: harryfei/which-rs#78

One possible solution is to pin dirs to some older version, but functionality used by openssh is simple enough to implement from scratch

@jonhoo
Copy link
Collaborator

jonhoo commented Jan 21, 2024

This change is Reviewable

Copy link
Member

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thank you!

src/builder.rs Show resolved Hide resolved
src/builder.rs Outdated Show resolved Hide resolved
@NobodyXu
Copy link
Member

Can you also update src/changelog.rs please?

@codecov-commenter
Copy link

codecov-commenter commented Jan 21, 2024

Codecov Report

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

Comparison is base (de229ce) 81.48% compared to head (26beda3) 81.33%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
Files Coverage Δ
src/builder.rs 76.25% <81.81%> (-0.32%) ⬇️

... and 2 files with indirect coverage changes

src/builder.rs Outdated Show resolved Hide resolved
@NobodyXu
Copy link
Member

Can you rebase against main please (not merge from main though)?

@NobodyXu
Copy link
Member

NobodyXu commented Jan 21, 2024

I can do it for u from GH ui if you are ok with it

Get state dir from env variables instead
@pacak
Copy link
Contributor Author

pacak commented Jan 21, 2024

I can do it for u from GH ui if you are ok with it

Too late, I already did :)

Copy link
Member

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thank you!

@NobodyXu NobodyXu merged commit bacc76d into openssh-rust:master Jan 21, 2024
12 checks passed
@NobodyXu
Copy link
Member

Will cut a release later today

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

Successfully merging this pull request may close these issues.

4 participants