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

Initial support for Macports #235

Merged
merged 5 commits into from
Aug 4, 2022
Merged

Initial support for Macports #235

merged 5 commits into from
Aug 4, 2022

Conversation

martintc
Copy link
Member

@martintc martintc commented Aug 1, 2022

I'm submitting a

  • bug fix
  • feature
  • documentation addition

What is the current behaviour?

No support for macports package manager.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

Allow installing software with macports.

What is the motivation / use case for changing the behavior?

Feature request for MacPorts support as per issue #191

Please tell us about your environment:

Version (comtrya --version): comtrya 0.7.4
Operating system: Mac Os


Other things to note for PR.

This is a feature request from @theowenyoung. Would like some input on this. Right now the implementation assume that macports is installed and it's binary is in $PATH.

Would like to provide the bootstrap functionality in a separate PR, how that is handled can be talked about in the issue.

For the reviewer

There are some clippy warnings regarding unused imports. I do intend to make use of these as I play around with the bootstrap process. I can remove them for this PR is needed.

@martintc martintc requested a review from rawkode August 1, 2022 05:20
@martintc martintc linked an issue Aug 1, 2022 that may be closed by this pull request
@martintc martintc marked this pull request as ready for review August 1, 2022 05:23
@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2022

Codecov Report

Merging #235 (8885a44) into main (1a4369f) will decrease coverage by 0.53%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   46.26%   45.72%   -0.54%     
==========================================
  Files          71       72       +1     
  Lines        2475     2504      +29     
==========================================
  Hits         1145     1145              
- Misses       1330     1359      +29     
Impacted Files Coverage Δ
lib/src/actions/package/providers/macports.rs 0.00% <0.00%> (ø)
lib/src/actions/package/providers/mod.rs 11.76% <0.00%> (-0.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a4369f...8885a44. Read the comment docs.

@icepuma
Copy link
Member

icepuma commented Aug 1, 2022

Could you run ./check.sh and see if you can solve the clippy warnings. The clippy warnings from the lib/src/actions/binary/github.rs -file are resolved on my context enum rewrite branch.

@icepuma
Copy link
Member

icepuma commented Aug 1, 2022

You can rebase your branch. I merged my PR, so a bunch of clippy warnings are gone.

@martintc martintc merged commit d15f746 into comtrya:main Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support MacPorts as macOS provider
3 participants