Opened 5 years ago
Closed 5 years ago
#60234 closed update (worksforme)
stlink @1.6.0 Sync with upstream - mechanism explanation needed
Reported by: | chenguokai (Xim) | Owned by: | chenguokai (Xim) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | stlink |
Description
I checked the upstream and found new versions of stlink is available. I found no maintainers for this port and I wanted to take it if possible. However, I am quite confused with the portfile mechanism of this port.
After reading the wiki, I know that this portfile specifies a Github Repo from which the port system obtains source code. While there are two problems left for me.
- I tried editing portfile locally, changing the version number but port would only try fetching the source code from mirrors of MacPorts, rather than fetch directly from Github upstream. Is there a way for me to test my modifications locally? And how does the mirroring mechanism work? If one changed the portfile configuration and merged into port tree, would the mirrors be synced automatically?
- I cannot figure out to whom the checksums belongs. I downloaded all 1.6.0 source code from Github release page while none of them matches the checksum specified in the portfile. How can I obtain the file with the expected checksum from Github (not from mirrors because I intend to make an upgrade afterwhile so that I should provide checksums ahead)
Change History (6)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
comment:2 Changed 5 years ago by chenguokai (Xim)
Thanks for your remark, I will post on the mail list
comment:3 Changed 5 years ago by chenguokai (Xim)
Owner: | set to chenguokai |
---|---|
Status: | new → assigned |
comment:4 Changed 5 years ago by reneeotten (Renee Otten)
I am not sure I understand: version 1.6.0 is the latest available from upstream and that's the version that is currently in MacPorts.
comment:5 Changed 5 years ago by chenguokai (Xim)
Yes, I found I had made a mistake. I checked the info a few days ago and wrote this ticket without noticing the version update. Sorry for the mistake. The questions are, however, remained and I have posted it to the mail list.
comment:6 Changed 5 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Closing this then.
You should ask your questions on the Macports developer mailing list, which has a much larger audience, instead.