Page MenuHomePhorge
Feed All Stories

May 8 2023

aklapper closed D25197: Fix PHP 8.1 "strlen(null)" exception which blocks rendering most applications' Configure pages.
May 8 2023, 11:23
aklapper committed rPd74e9d825a2c: Fix PHP 8.1 "strlen(null)" exception which blocks rendering most applications'….
May 8 2023, 11:23
aklapper closed T15357: PHP 8.1 "strlen(null)" exception blocks creating a blog post, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 8 2023, 11:20 · PHP 8 support
aklapper closed D25196: Fix PHP 8.1 "strlen(null)" exception which blocks creating a blog post.
May 8 2023, 11:20
aklapper closed T15357: PHP 8.1 "strlen(null)" exception blocks creating a blog post as Resolved by committing rPe5caf4333e5e: Fix PHP 8.1 "strlen(null)" exception which blocks creating a blog post.
May 8 2023, 11:20 · PHP 8 support
aklapper committed rPe5caf4333e5e: Fix PHP 8.1 "strlen(null)" exception which blocks creating a blog post.
May 8 2023, 11:20
aklapper closed T15356: PHP 8.1 "strlen(null)" exception blocks rendering a blog, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 8 2023, 11:19 · PHP 8 support
aklapper closed D25195: Fix PHP 8.1 "strlen(null)" exception which blocks blog rendering.
May 8 2023, 11:19
aklapper closed T15356: PHP 8.1 "strlen(null)" exception blocks rendering a blog as Resolved by committing rPeba8012d3e80: Fix PHP 8.1 "strlen(null)" exception which blocks blog rendering.
May 8 2023, 11:19 · PHP 8 support
aklapper committed rPeba8012d3e80: Fix PHP 8.1 "strlen(null)" exception which blocks blog rendering.
May 8 2023, 11:19
valerio.bozzolan updated the summary of D25197: Fix PHP 8.1 "strlen(null)" exception which blocks rendering most applications' Configure pages.
May 8 2023, 11:19
aklapper closed T15355: PHP 8.1 "strlen(null)" exception blocks blog creation, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 8 2023, 11:18 · PHP 8 support
aklapper closed T15355: PHP 8.1 "strlen(null)" exception blocks blog creation as Resolved by committing rP8495060f8240: Fix PHP 8.1 "strlen(null)" exception which blocks blog creation.
May 8 2023, 11:18 · PHP 8 support
aklapper closed D25194: Fix PHP 8.1 "strlen(null)" exception which blocks blog creation.
May 8 2023, 11:18
aklapper committed rP8495060f8240: Fix PHP 8.1 "strlen(null)" exception which blocks blog creation.
May 8 2023, 11:18
valerio.bozzolan updated the diff for D25197: Fix PHP 8.1 "strlen(null)" exception which blocks rendering most applications' Configure pages.

add small PHPDoc related documentation to clarify further reviews

May 8 2023, 11:13
valerio.bozzolan accepted D25197: Fix PHP 8.1 "strlen(null)" exception which blocks rendering most applications' Configure pages.

Thanks for this patch (again)

May 8 2023, 11:11
valerio.bozzolan accepted D25196: Fix PHP 8.1 "strlen(null)" exception which blocks creating a blog post.

Tested also this one, thanks

May 8 2023, 10:15
valerio.bozzolan accepted D25194: Fix PHP 8.1 "strlen(null)" exception which blocks blog creation.

Tested locally, verified that the domain is never a PhutilURI. No implosions.

May 8 2023, 10:13
valerio.bozzolan accepted D25195: Fix PHP 8.1 "strlen(null)" exception which blocks blog rendering.

Thanks for this patch

May 8 2023, 10:03
valerio.bozzolan accepted D25201: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Phortune account page.

Thanks again

May 8 2023, 10:00
valerio.bozzolan added a comment to D25203: Remove PHP version suffixes on "Missing Required Extensions"; Mention dnf.

Premising I 100% agree in the removal of version suffix and I would +1 just that.

May 8 2023, 09:53
valerio.bozzolan updated the task description for T15121: Contributor Agreement.
May 8 2023, 09:36 · Phorge
avivey raised the priority of T15121: Contributor Agreement from High to Unbreak Now!.

This discussion (and disagreement) is exactly the reason why we need a CLA ASAP.
While consulting with a relevant legal counsel.

May 8 2023, 09:27 · Phorge
valerio.bozzolan added a comment to T15121: Contributor Agreement.

Just some probably interesting notes :D

May 8 2023, 09:23 · Phorge
aklapper requested review of D25203: Remove PHP version suffixes on "Missing Required Extensions"; Mention dnf.
May 8 2023, 08:52
aklapper added a revision to T15352: Remove outdated PHP version suffixes in package names on "Missing Required Extensions" and replace yum with dnf: D25203: Remove PHP version suffixes on "Missing Required Extensions"; Mention dnf.
May 8 2023, 08:52 · Good Starter Task, Config
valerio.bozzolan added a comment to T15281: $HOME missing from commands issued by ExecFuture.

Thank you speck, very interesting.

May 8 2023, 08:03 · User-valerio.bozzolan, Arcanist
valerio.bozzolan added a comment to T15368: PHP 8.1 fix PhutilUTF8StringTruncator::truncateString(NULL) called at [<arcanist>/src/ref/ArcanistRefView.php:103].

Hi @aklapper. Are you affected by this as well?

May 8 2023, 07:10 · PHP 8 support, Arcanist, User-valerio.bozzolan
valerio.bozzolan added a comment to T15367: PHP 8.1 fix strpos(NULL, string) called at [<arcanist>/src/xsprintf/PhutilCommandString.php:98].

@ton yep thanks, really! that will be handled here:

May 8 2023, 07:09 · PHP 8 support, Arcanist, User-valerio.bozzolan
valerio.bozzolan triaged T15368: PHP 8.1 fix PhutilUTF8StringTruncator::truncateString(NULL) called at [<arcanist>/src/ref/ArcanistRefView.php:103] as Normal priority.
May 8 2023, 07:08 · PHP 8 support, Arcanist, User-valerio.bozzolan
avivey awarded Q54: Conpherence notification settings are in inconsistent location a Cup of Joe token.
May 8 2023, 07:06 · Conpherence
valerio.bozzolan closed T15298: Get the HOME of the user running the PHP webserver, a subtask of T15281: $HOME missing from commands issued by ExecFuture, as Resolved.
May 8 2023, 07:01 · User-valerio.bozzolan, Arcanist
valerio.bozzolan closed T15298: Get the HOME of the user running the PHP webserver as Resolved.

Feel free to reopen to share any doubt about this method

May 8 2023, 07:01 · User-valerio.bozzolan
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

What are the reasons for doing commit message rendering on the server side?

May 8 2023, 06:57 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

In an ideal world the solution should be as simple as having a template somewhere in {{repo_root}}/.arcanist/commit_template.j2 that arcanist injects values in and renders.

May 8 2023, 01:55 · Arcanist, Differential, Affects-FreeBSD
speck added a comment to T15351: Create repository for Conduit API client in Rust.

I was similarly looking at lua for the same reason as it's used by neovim 😆 . There are a few libraries for lua in rust but the one that seems recently active is mlua, which doesn't implement lua execution in rust but binds to lua binary/library. If we go the route of binding to another library/binary then our build/package would have to include the lua library file too (though it may be possible to embed it?). Something like Rhai (or there's also Rune and a few others), are implemented fully in Rust so there's less to worry about during the build/package process. I wasn't sold one way or the other but wanted to check out Lua along with some of the others to see how well they turn out.

May 8 2023, 01:52 · Phactory: Community Projects
ton added a comment to T15367: PHP 8.1 fix strpos(NULL, string) called at [<arcanist>/src/xsprintf/PhutilCommandString.php:98].

arc patch problem is likely fixed. But I encountered similar problem here
https://we.phorge.it/T15351#8287

May 8 2023, 00:49 · PHP 8 support, Arcanist, User-valerio.bozzolan
ton added a comment to T15367: PHP 8.1 fix strpos(NULL, string) called at [<arcanist>/src/xsprintf/PhutilCommandString.php:98].

This seems to have fixed the problem. But let me try a bit more Diffs to be extra sure

May 8 2023, 00:38 · PHP 8 support, Arcanist, User-valerio.bozzolan
ton added a comment to T15351: Create repository for Conduit API client in Rust.

I see what you are saying. I quite like Lua and how neovim uses it to achieve this extensibility...

May 8 2023, 00:28 · Phactory: Community Projects

May 7 2023

speck added a comment to T15351: Create repository for Conduit API client in Rust.

I’m fully aware of the friction that comes up trying to get developers using arcanist, the difficulties with PHP, the complexity in not understanding what’s going on, etc. and also familiar with the benefits of a compiled binary solution.

May 7 2023, 23:29 · Phactory: Community Projects
ton added a comment to T15351: Create repository for Conduit API client in Rust.

@speck the whole point of an alternative phab client implementation is remove friction that comes with arcanist. Namely:

May 7 2023, 21:36 · Phactory: Community Projects
speck added a comment to T15351: Create repository for Conduit API client in Rust.

Hah this has been something spinning in the back of my mind for a while. One thing that will be difficult to support in something like Rust (not sure about Go) is that the PHP arcanist allows for very easily extending by dropping in your own PHP files to the extensions folder.

May 7 2023, 20:16 · Phactory: Community Projects
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

We can probably come up with a way to allow an extension to customize the "render template" implementation without forking (e.g., just add a hook in differential.getcommitmessage), but it would have to be very carful about the whole form-thing.
Maybe just adding an "for landing" flag in differential.getcommitmessage (or adding a different method) would solve this problem...

May 7 2023, 20:12 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.
In T15364#8281, @ton wrote:

The template is actually generated server side, not in arcanist, so it just a matter of getting the BSD Phorge server to have the right opinions.
Some of the sections can be configured already

Please point me in the right place in the code where I can find the template

May 7 2023, 20:06 · Arcanist, Differential, Affects-FreeBSD
speck added a comment to T15281: $HOME missing from commands issued by ExecFuture.

In upstream phabricator I worked with Evan to update the Mercurial API in a way that all mercurial commands/futures are executed through a common path and allow making modifications to only those executions. For this we should look at something similar so that we're only passing $HOME to git commands and not to others.

May 7 2023, 19:31 · User-valerio.bozzolan, Arcanist
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

The template is actually generated server side, not in arcanist, so it just a matter of getting the BSD Phorge server to have the right opinions.
Some of the sections can be configured already

May 7 2023, 18:56 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

re @avivey : arc land --hold sort of works but look at the ergonomics:

May 7 2023, 16:42 · Arcanist, Differential, Affects-FreeBSD
speck added a comment to T15121: Contributor Agreement.

Many people, myself included, contribute to open source projects under the assumption that my contributions will help serve a project which continues to be open source in perpetuity, and a CLA provides a means for the project maintainers to circumvent that.

Assumption here is key. The entire purpose of a CLA is to remove this assumption and clarify how contributions are managed. This post and disposition is based entirely around the organization receiving contributions will behave in an adversarial manner in the future. If the organization doesn't earn your trust then why trust them with your contributions?

May 7 2023, 16:37 · Phorge
aklapper updated the diff for D25182: Fix PHP 8.1 "strlen(null)" and "preg_match()" exceptions which block repository creation.

Set default empty strings for $content_type and $user_agent, as requested by valerio.bozzolan

May 7 2023, 11:14
aklapper closed T15353: PHP 8.1 "strlen(null)" exception blocks rendering Pholio mock preview, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
May 7 2023, 10:37 · PHP 8 support
aklapper closed T15353: PHP 8.1 "strlen(null)" exception blocks rendering Pholio mock preview as Resolved by committing rP1b4015d2c1ff: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Pholio mock preview.
May 7 2023, 10:37 · PHP 8 support
aklapper closed D25193: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Pholio mock preview.
May 7 2023, 10:37
aklapper committed rP1b4015d2c1ff: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Pholio mock preview.
May 7 2023, 10:37
valerio.bozzolan accepted D25193: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Pholio mock preview.

I tested this patch locally with some fuzzy tests. Obviously without issues since this is an easy-peasy case.

May 7 2023, 09:51
valerio.bozzolan awarded T15364: arc land complaints summary by FreeBSD community a Like token.
May 7 2023, 09:30 · Arcanist, Differential, Affects-FreeBSD
valerio.bozzolan renamed T15364: arc land complaints summary by FreeBSD community from arc land complaints summary to arc land complaints summary by FreeBSD community.
May 7 2023, 09:27 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

Alternatively - there's also arc land --hold, which does almost everything except for the git push, which would allow the user to update the commit message. Have anyone tried that?

May 7 2023, 09:27 · Arcanist, Differential, Affects-FreeBSD
valerio.bozzolan added a subtask for T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues.: T15364: arc land complaints summary by FreeBSD community.
May 7 2023, 09:26 · Discussion Needed, Arcanist
valerio.bozzolan added a parent task for T15364: arc land complaints summary by FreeBSD community: T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..
May 7 2023, 09:26 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

thanks @ton - these look very actionable:

May 7 2023, 09:25 · Arcanist, Differential, Affects-FreeBSD
valerio.bozzolan added a comment to T15236: Editing an Archived Project changes its color to Red.

By the way it happened again here :D

May 7 2023, 09:25 · Projects, Bug Reports
valerio.bozzolan triaged T15236: Editing an Archived Project changes its color to Red as Low priority.
May 7 2023, 09:24 · Projects, Bug Reports
valerio.bozzolan edited Description on Pholio.
May 7 2023, 09:17
avivey added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
In T15249#8232, @ton wrote:

@avivey today I tried arc patch to download a bunch of Diffs.

Some diffs check out OK. Lots of Diffs fail to be fetched, I get a very useless error message:

Exception
strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
(Run with `--trace` for a full exception trace.)
May 7 2023, 09:16 · Affects-FreeBSD, Differential
valerio.bozzolan updated the task description for T15187: Fix Arcanist in PHP 8.1+ (testing the Phorge repo).
May 7 2023, 09:12 · PHP 8 support, Arcanist, User-valerio.bozzolan
valerio.bozzolan added a comment to T15367: PHP 8.1 fix strpos(NULL, string) called at [<arcanist>/src/xsprintf/PhutilCommandString.php:98].

Hi @ton can I ask you if, manually patching Arcanist with the indicated diff in the Task description, fixes for you?

May 7 2023, 09:11 · PHP 8 support, Arcanist, User-valerio.bozzolan
valerio.bozzolan triaged T15367: PHP 8.1 fix strpos(NULL, string) called at [<arcanist>/src/xsprintf/PhutilCommandString.php:98] as Normal priority.
May 7 2023, 09:10 · PHP 8 support, Arcanist, User-valerio.bozzolan
valerio.bozzolan triaged T15366: Archived Panels: are still visible from Dashboard as Wishlist priority.
May 7 2023, 08:26 · Dashboards, User-valerio.bozzolan
valerio.bozzolan created T15366: Archived Panels: are still visible from Dashboard.
May 7 2023, 08:25 · Dashboards, User-valerio.bozzolan
valerio.bozzolan edited the content of Next Up (since Week 18).
May 7 2023, 08:01
ton updated the task description for T15364: arc land complaints summary by FreeBSD community.
May 7 2023, 06:35 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
May 7 2023, 03:03 · Affects-FreeBSD, Differential

May 6 2023

aklapper requested review of D25202: Fix PHP 8.1 "strlen(null)" exception which blocks rendering error pages for Packages' Create Package and Fund's Create Initiative.
May 6 2023, 23:13
aklapper added a revision to T15365: PHP 8.1 "strlen(null)" exception blocks rendering error pages for Packages' Create Package and Fund's Create Initiative: D25202: Fix PHP 8.1 "strlen(null)" exception which blocks rendering error pages for Packages' Create Package and Fund's Create Initiative.
May 6 2023, 23:13 · PHP 8 support
aklapper created T15365: PHP 8.1 "strlen(null)" exception blocks rendering error pages for Packages' Create Package and Fund's Create Initiative.
May 6 2023, 23:12 · PHP 8 support
ton added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

more details about arc land - https://we.phorge.it/T15364

May 6 2023, 23:11 · Discussion Needed, Arcanist
ton created T15364: arc land complaints summary by FreeBSD community.
May 6 2023, 23:08 · Arcanist, Differential, Affects-FreeBSD
aklapper requested review of D25201: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Phortune account page.
May 6 2023, 22:59
aklapper added a revision to T15363: PHP 8.1 "strlen(null)" exception blocks rendering Phortune account page: D25201: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Phortune account page.
May 6 2023, 22:59 · PHP 8 support
aklapper created T15363: PHP 8.1 "strlen(null)" exception blocks rendering Phortune account page.
May 6 2023, 22:58 · PHP 8 support
aklapper requested review of D25200: Fix PHP 8.1 "strlen(null)" exceptions which block rendering page to import ICS calendar file.
May 6 2023, 22:52
aklapper added a revision to T15362: PHP 8.1 "strlen(null)" exceptions block rendering page to import ICS calendar file: D25200: Fix PHP 8.1 "strlen(null)" exceptions which block rendering page to import ICS calendar file.
May 6 2023, 22:52 · PHP 8 support
aklapper created T15362: PHP 8.1 "strlen(null)" exceptions block rendering page to import ICS calendar file.
May 6 2023, 22:50 · PHP 8 support
aklapper updated the task description for T15361: PHP 8.1 "explode(null)" exception blocks rendering the Multimeter page.
May 6 2023, 22:38 · PHP 8 support
aklapper created T15361: PHP 8.1 "explode(null)" exception blocks rendering the Multimeter page.
May 6 2023, 22:36 · PHP 8 support
bfs added a comment to T15121: Contributor Agreement.
In T15121#8063, @avivey wrote:

Any contribution to Phorge is implicitly covered by Apache 2.0, which allows re-licensing by anyone.
The CLA is only making this explicit.

May 6 2023, 19:43 · Phorge
ton added a comment to T15351: Create repository for Conduit API client in Rust.

Thanks @avivey !

May 6 2023, 16:56 · Phactory: Community Projects
valerio.bozzolan edited the content of Next Up (since Week 18).
May 6 2023, 13:59
valerio.bozzolan closed T15306: Fix Call to phutil_nonempty_string() expected null or a string, got: PhutilURI from PHUIObjectItemView.php:662, a subtask of T15264: Numerous PHP 8.1 "strlen(null)" exceptions preventing homepage to display after installation, as Resolved.
May 6 2023, 13:57 · PHP 8 support
valerio.bozzolan closed T15306: Fix Call to phutil_nonempty_string() expected null or a string, got: PhutilURI from PHUIObjectItemView.php:662 as Resolved by committing rPe9e2c954132c: Fix regression in PHUIObjectItemView.php:662: allow PhutilURI and other….
May 6 2023, 13:57 · Bug Reports, PHP 8 support
valerio.bozzolan closed D25157: Fix regression in PHUIObjectItemView.php:662: allow PhutilURI and other stringlike.
May 6 2023, 13:57
valerio.bozzolan committed rPe9e2c954132c: Fix regression in PHUIObjectItemView.php:662: allow PhutilURI and other….
May 6 2023, 13:57
aklapper retitled D25199: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a project's page when Reports prototype enabled from Fix PHP 8.1 "strlen(null)" exception[s] which block rendering the XXXX page
May 6 2023, 13:34
aklapper requested review of D25199: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a project's page when Reports prototype enabled.
May 6 2023, 13:33
aklapper added a revision to T15360: PHP 8.1 "strlen(null)" exception blocks rendering a project's page when Reports prototype enabled: D25199: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a project's page when Reports prototype enabled.
May 6 2023, 13:33 · Projects, PHP 8 support
aklapper created T15360: PHP 8.1 "strlen(null)" exception blocks rendering a project's page when Reports prototype enabled.
May 6 2023, 13:32 · Projects, PHP 8 support
aklapper requested review of D25198: Fix PHP 8.1 "ltrim(null)" exception which blocks rendering five applications' Configure pages.
May 6 2023, 13:22
aklapper added a revision to T15359: PHP 8.1 "ltrim(null)" exception blocks rendering five applications' Configure pages: D25198: Fix PHP 8.1 "ltrim(null)" exception which blocks rendering five applications' Configure pages.
May 6 2023, 13:22 · PHP 8 support
aklapper created T15359: PHP 8.1 "ltrim(null)" exception blocks rendering five applications' Configure pages.
May 6 2023, 13:21 · PHP 8 support