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

feat(bundler): added provides, conflicts and replaces for deb and rpm #9331

Conversation

mariotaku
Copy link
Contributor

This PR added support for provides, conflicts and replaces (obsoletes for RPM) options for bundler > deb and bundler > rpm configs.

{
  "bundler": {
    "deb": {
      "provides": ["my-package"],
      "conflicts": ["my-package"],
      "replaces": ["my-package"]
    },
    "rpm": {
      "provides": ["my-package"],
      "conflicts": ["my-package"],
      "obsoletes": ["my-package"]
    }
  }
}

When the package needs to completely replace another one, these kind of options will come in handy.

@mariotaku mariotaku requested a review from a team as a code owner April 1, 2024 15:16
tooling/cli/src/interface/rust.rs Outdated Show resolved Hide resolved
.changes/deb-rpm-provides-conflicts-replaces.md Outdated Show resolved Hide resolved
@amrbashir
Copy link
Member

Thanks for your contributions.

@mariotaku
Copy link
Contributor Author

Hi, I have updated the code according to the suggestions :)

@mariotaku mariotaku requested a review from amrbashir April 3, 2024 04:57
amrbashir
amrbashir previously approved these changes Apr 3, 2024
Copy link
Member

@amrbashir amrbashir 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

@amrbashir amrbashir merged commit 36b4c12 into tauri-apps:dev Apr 3, 2024
33 checks passed
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

2 participants