On 18.11.2020 at 18:19, Jesse Gorzinski wrote: > Greetings, > I am now team lead for the ibm_db2 module on pecl and have been given karma > to the repos. I am brand new to PECL ownership and this ecosystem in > general, so thanks in advance for your patience for what's going to be a > very novice request. > > I would like to perform the following tasks: > - Merge code from a PR (maybe 2 or 3) on GitHub > - Publish a new release to PECL with those code changes > > However, in my quest to figure this out, I've gotten more questions than > answers. For instance: > - How does one get write authority to the GitHub repos? > - Why does the summary page at > http://git.php.net/?p=pecl/database/ibm_db2.git have three URLs for the git > repo?
The first is for accessing the repo via the git protocol; the other two are for access via https (one for reading, the other for pushing). Choose either (I prefer the git protocol). > - I can clone the git.php.net repo, but how/when is this bridged to/from > GitHub? Are there tools for dealing with PRs? Do I need to manually merge > the PRs from GitHub and then push them into the php.net repo? Yes, you need to manually push to git.php.net. > - Is the GitHub repo an automatically-updated mirror? Yes. > In a nutshell, I'm looking for any answers to the above questions and some > simple guidance on what the "proper" steps are for merging in these PRs and > pushing out an update. I suspect there's documentation somewhere that > explains all of this, but I'm having trouble finding it. My workflow is: * download a formatted patch of the PR (e.g. <https://patch-diff.githubusercontent.com/raw/php/pecl-database-ibm_db2/pull/9.patch>) * `git am` that patch * push to the git.php.net repo To publish a new release, first build the package with `pecl package` (it will remind you tag), and then upload it via <https://pecl.php.net/release-upload.php>. > Any guidance or RTFM (with links) is appreciated. Thanks! If you have further questions, just ask. :) Regards, Christoph -- PECL development discussion Mailing List (https://pecl.php.net/) To unsubscribe, visit: https://www.php.net/unsub.php