-
Notifications
You must be signed in to change notification settings - Fork 1
Macports #72
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
Macports #72
Conversation
… PR creation - Changed the update step to create a branch for the Portfile update and push changes to the fork. - Added logic to check for existing pull requests and update them if necessary, or create a new PR against the upstream repository. - Improved handling of version updates and commit messages to follow MacPorts conventions.
- Included a new section for MacPorts with installation command for MiddleDrag. - Enhanced visibility of installation options for users on different package managers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request automates MacPorts port updates and improves documentation by adding a GitHub Actions workflow that creates pull requests to the upstream MacPorts repository and updating the README with MacPorts installation instructions.
Changes:
- Added automated workflow to update MacPorts Portfile with new releases and create/update PRs to upstream MacPorts repository
- Added MacPorts installation instructions and version badge to README
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Added MacPorts version badge and installation instructions |
| .github/workflows/update-macports.yml | Enhanced workflow to create branches from upstream, push to fork, and automatically create/update PRs to MacPorts repository |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com>
- Updated the logic to check for existing pull requests to handle cases where no PR exists, improving robustness of the workflow. - Ensured that the workflow correctly identifies and updates existing PRs or creates new ones as needed.
- Included installation steps for MiddleDrag via MacPorts in the documentation. - Enhanced user guidance by providing a direct command for installation and a link to the MacPorts page.
…ling - Modified the version check logic in the update-macports.yml workflow to utilize the client payload from repository dispatch events. - This change enhances the workflow's flexibility by allowing version specification through both manual triggers and dispatch events.
This pull request automates and improves the process for updating the MiddleDrag port in MacPorts, and enhances the README to better document MacPorts support. The workflow now creates or updates pull requests to the upstream MacPorts repository automatically, ensuring the port stays current with new releases. The README is updated with MacPorts installation instructions and a dynamic badge.
Workflow automation for MacPorts updates:
.github/workflows/update-macports.ymlis enhanced to:Documentation improvements: