Page MenuHomePhorge
Feed All Stories

May 26 2023

valerio.bozzolan edited the content of Next Up (since Week 18).
May 26 2023, 12:13
valerio.bozzolan added inline comments to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
May 26 2023, 09:35
avivey added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

Just to clarify: I think we both agree on these four things:

  1. showing a "No interpreter error" to the frontend could be weird, at minimum this is true for MediaWiki users (not just Wikimedia users) and showing the original raw text could be more useful (green light)
May 26 2023, 09:26
valerio.bozzolan set Timezone to UTC+2 on valerio.bozzolan.
May 26 2023, 09:11
valerio.bozzolan added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

Just to clarify: I think we both agree on these four things:

May 26 2023, 09:08
avivey added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

That sounds very sketchy - getMatchingLineCount should either refer to raw text, or to post-processed text - and the 2nd option isn't possible (There might not be any text in the result, like in macro).

May 26 2023, 08:03
valerio.bozzolan added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
In D25234#7303, @avivey wrote:

Where was it "returning an error message with potentially a different number of line" ?

May 26 2023, 07:56
avivey set Timezone to UTC+2 on avivey.
May 26 2023, 07:12
avivey added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

Where was it "returning an error message with potentially a different number of line" ?

May 26 2023, 06:48
valerio.bozzolan added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

Ah yeah indeed now I understand the issue:

May 26 2023, 06:45
valerio.bozzolan added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
In D25234#7296, @avivey wrote:

I don't see how this stops the exception discussed in T15372 - nothing in this change looks like it might stop an "Undefined array key" exception?

May 26 2023, 06:37
avivey requested changes to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

I don't see how this stops the exception discussed in T15372 - nothing in this change looks like it might stop an "Undefined array key" exception?

May 26 2023, 06:34
valerio.bozzolan changed the image for Image Macro "sgtm".
May 26 2023, 06:34

May 25 2023

valerio.bozzolan edited the content of 2023 Week 17.
May 25 2023, 16:54
valerio.bozzolan edited the content of Next Up (since Week 18).
May 25 2023, 16:43
valerio.bozzolan attached a referenced file: F274834: Comments deleted Before D25096.png.
May 25 2023, 16:32
valerio.bozzolan attached a referenced file: F274835: Comments deleted After D25096.png.
May 25 2023, 16:32
valerio.bozzolan edited the content of 2023 Week 17.
May 25 2023, 16:32
valerio.bozzolan added a comment to F255239: image.png.

Can you please set this image as Public? thanks :)

May 25 2023, 16:07
valerio.bozzolan updated the name of F296592: Phorge confirmation dialog.png from "Screenshot_2023_05_25_175108.png" to "Phorge confirmation dialog.png".
May 25 2023, 15:52
valerio.bozzolan accepted D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

I absolutely don't know what is happening here, but now it works again after a rebase.

May 25 2023, 14:54
valerio.bozzolan updated the diff for D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

rebase and add minor comment

May 25 2023, 14:51
valerio.bozzolan requested changes to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.

Uhm. We are breaking something here. I'm testing with:

May 25 2023, 14:37
valerio.bozzolan updated the name of F296564: Cowsay figlet in Phorge after D25234.png from "Screenshot_2023_05_25_163619.png" to "Cowsay figlet in Phorge after D25234.png".
May 25 2023, 14:36
valerio.bozzolan updated the name of F296561: Cowsay figlet in Phorge before D25234.png from "Screenshot_2023_05_25_163504.png" to "Cowsay figlet in Phorge before D25234.png".
May 25 2023, 14:35
valerio.bozzolan edited the content of Wikimedia Hackaton 2023 Athens Code Sprint.
May 25 2023, 14:18
valerio.bozzolan added a comment to D25034: support language highlighting for GFM-style code blocks.

Hi @roguelazer are you still interested in this feature? In 3 days, hoping to be useful, I will try to do something similar, following the tips from kind user speck

May 25 2023, 14:16
valerio.bozzolan closed T15370: PHP 8.1 "strlen(null)" exceptions block repository import, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
May 25 2023, 14:15 · PHP 8 support
valerio.bozzolan closed T15370: PHP 8.1 "strlen(null)" exceptions block repository import as Resolved by committing rP5405134fa5db: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
May 25 2023, 14:15 · Bug Reports, Diffusion, PHP 8 support
valerio.bozzolan closed D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
May 25 2023, 14:15
valerio.bozzolan committed rP5405134fa5db: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
Fix PHP 8.1 "strlen(null)" exception which can block repository imports
May 25 2023, 14:14
valerio.bozzolan added a comment to D25206: Fix PHP 8.1 "strlen(null)" exception from ArcanistRefView which blocks "arc look remotes".

@Matthew feel free to "sgtm" <3

May 25 2023, 14:13
avivey closed D25245: Update the supported PHP versions in the docs.
May 25 2023, 13:55
avivey committed rP82e7f30a825d: Update the supported PHP versions in the docs.
Update the supported PHP versions in the docs
May 25 2023, 13:55
avivey accepted D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.

I prefer if ($thing !== null && strlen($thing)), but whatever.

May 25 2023, 13:53
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
May 25 2023, 13:36
valerio.bozzolan added a reviewer for D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports: speck.
May 25 2023, 13:35
valerio.bozzolan updated the test plan for D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
May 25 2023, 12:13
valerio.bozzolan updated the test plan for D25236: Diviner: mention how to flag Arcanist and Phorge as "safe" git repos.
May 25 2023, 12:03
valerio.bozzolan closed D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
May 25 2023, 11:43 · Documentation
valerio.bozzolan committed rP55596bfad523: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
PHP Pitfalls: mention strlen() deprecation since PHP 8.1
May 25 2023, 11:43
avivey accepted D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
May 25 2023, 10:58 · Documentation
valerio.bozzolan added a comment to D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.

Note that I like to do NOT mention the stuff phutil_nonempty_stringlike() since it causes extra headaches with incoming objects to many friends. Same for its friend phutil_nonempty_scalar() since it's broken with known scalars (T15239).

May 25 2023, 10:34 · Documentation
valerio.bozzolan updated the diff for D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.

avoid unuseful tables

May 25 2023, 10:28 · Documentation
valerio.bozzolan updated the summary of D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
May 25 2023, 10:22 · Documentation
valerio.bozzolan updated the diff for D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.

mention the cast thing

May 25 2023, 10:21 · Documentation
valerio.bozzolan updated the diff for D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.

mention the cast thing

May 25 2023, 10:19 · Documentation
valerio.bozzolan added a comment to D25238: Correct spelling mistakes.

Thanks again for this patch!

May 25 2023, 10:08
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
May 25 2023, 10:03
valerio.bozzolan added a comment to T15370: PHP 8.1 "strlen(null)" exceptions block repository import.

Again @amit I know you have other things to do :) Can you just try to manually apply this patch?

May 25 2023, 10:02 · Bug Reports, Diffusion, PHP 8 support
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
May 25 2023, 09:57
valerio.bozzolan updated the diff for D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.

avoid phutil_nonempty_string() since upstream is not using that

May 25 2023, 09:54
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
May 25 2023, 09:43
valerio.bozzolan accepted D25245: Update the supported PHP versions in the docs.

Thaanks! Tested locally. No implosions obviously ihih

May 25 2023, 09:36
avivey updated the diff for D25245: Update the supported PHP versions in the docs.

lint

May 25 2023, 09:30
avivey requested review of D25245: Update the supported PHP versions in the docs.
May 25 2023, 09:29
avivey added a revision to T15064: Make Phorge compatible with PHP 8.1/8.2/8.3: D25245: Update the supported PHP versions in the docs.
May 25 2023, 09:29 · PHP 8 support
valerio.bozzolan edited the content of Code Differences between Phabricator and Phorge.
May 25 2023, 09:25
valerio.bozzolan edited the content of Code Differences between Phabricator and Phorge.
May 25 2023, 09:22
valerio.bozzolan updated the task description for T15190: PHP 8.1: strlen() and other scalar-only functions do not accept NULL anymore - understand fix strategies.
May 25 2023, 09:20 · Documentation, PHP 8 support, Arcanist, User-valerio.bozzolan
valerio.bozzolan added a comment to D25237: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
In D25237#7223, @jkimbo wrote:

Awesome, revision landed. Thanks for the help @valerio.bozzolan

May 25 2023, 09:08
valerio.bozzolan edited the content of Next Up (since Week 18).
May 25 2023, 09:07
valerio.bozzolan added a comment to T15121: Contributor Agreement.

OK just to have a stub somewhere to start with, please feel free to edit this page:

May 25 2023, 08:45 · Phorge

May 24 2023

jkimbo added a comment to D25237: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.

Awesome, revision landed. Thanks for the help @valerio.bozzolan

May 24 2023, 19:07
Restricted Repository Identity closed T15412: PHP 8.1 "strlen(null)" exception when running "arc diff" with no active branch, a subtask of T15187: Fix Arcanist in PHP 8.1+ (testing the Phorge repo), as Resolved.
May 24 2023, 19:06 · PHP 8 support, Arcanist, User-valerio.bozzolan
Restricted Repository Identity closed T15412: PHP 8.1 "strlen(null)" exception when running "arc diff" with no active branch as Resolved by committing rARC0e32dbc1ac8f: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
May 24 2023, 19:06 · PHP 8 support
Restricted Repository Identity closed D25237: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
May 24 2023, 19:06
jkim <jkim@thoughtmachine.net> committed rARC0e32dbc1ac8f: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
Correct a PHP8 compatibility issue when running "arc diff" with no active branch
May 24 2023, 19:06
aklapper closed T15420: PHP 8.1 "strlen(null)" exceptions block rendering Browse Repositories overlay dialog, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
May 24 2023, 16:10 · PHP 8 support
aklapper closed T15420: PHP 8.1 "strlen(null)" exceptions block rendering Browse Repositories overlay dialog as Resolved by committing rP6d57904330bc: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories….
May 24 2023, 16:10 · PHP 8 support
aklapper closed D25244: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories overlay dialog.
May 24 2023, 16:10
aklapper committed rP6d57904330bc: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories….
Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories…
May 24 2023, 16:10
aklapper closed T15419: PHP 8.1 "strlen(null)" exception blocks deleting Phriction document, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
May 24 2023, 16:09 · PHP 8 support
aklapper closed T15419: PHP 8.1 "strlen(null)" exception blocks deleting Phriction document as Resolved by committing rP26d74ccc7c26: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
May 24 2023, 16:09 · PHP 8 support
aklapper closed D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
May 24 2023, 16:09
aklapper committed rP26d74ccc7c26: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document
May 24 2023, 16:09
valerio.bozzolan accepted D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.

Thaanks again

May 24 2023, 15:58
valerio.bozzolan updated the test plan for D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
May 24 2023, 15:57
valerio.bozzolan accepted D25244: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories overlay dialog.

Indeed the Slug and the Callsign should be null or strings and nothing else.

May 24 2023, 15:50
aklapper requested review of D25244: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories overlay dialog.
May 24 2023, 15:42
aklapper added a revision to T15420: PHP 8.1 "strlen(null)" exceptions block rendering Browse Repositories overlay dialog: D25244: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories overlay dialog.
May 24 2023, 15:42 · PHP 8 support
valerio.bozzolan edited the content of Next Up (since Week 18).
May 24 2023, 15:42
aklapper created T15420: PHP 8.1 "strlen(null)" exceptions block rendering Browse Repositories overlay dialog.
May 24 2023, 15:41 · PHP 8 support
aklapper requested review of D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
May 24 2023, 15:33
aklapper added a revision to T15419: PHP 8.1 "strlen(null)" exception blocks deleting Phriction document: D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
May 24 2023, 15:33 · PHP 8 support
aklapper created T15419: PHP 8.1 "strlen(null)" exception blocks deleting Phriction document.
May 24 2023, 15:32 · PHP 8 support
valerio.bozzolan updated the task description for T15401: Make the Remarkup Help Page Extensible.
May 24 2023, 15:29 · Documentation, Remarkup
valerio.bozzolan updated the task description for T15418: There are some unused "cowsay" binaries.
May 24 2023, 15:27
valerio.bozzolan updated the test plan for D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
May 24 2023, 15:18
valerio.bozzolan updated the task description for T15418: There are some unused "cowsay" binaries.
May 24 2023, 15:18
valerio.bozzolan updated the task description for T15418: There are some unused "cowsay" binaries.
May 24 2023, 15:17
valerio.bozzolan requested review of D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
May 24 2023, 15:13
valerio.bozzolan added a revision to T15418: There are some unused "cowsay" binaries: D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
May 24 2023, 15:13
valerio.bozzolan created T15418: There are some unused "cowsay" binaries.
May 24 2023, 15:09
valerio.bozzolan updated the task description for T15401: Make the Remarkup Help Page Extensible.
May 24 2023, 14:55 · Documentation, Remarkup
valerio.bozzolan added a comment to D25240: Fix PHP 8.1 "strlen(null)" exception which blocks rendering errors on Create Blueprint page.

This is that kind of scary thing that deserves our phutil_string_cast() trick, since the incoming value from PhabricatorStandardCustomField is probably too much wild, probably an integer, probably a boolean, probably an object.

May 24 2023, 13:57
valerio.bozzolan triaged T15417: Allow to import Public SSH Keys from GitHub as Wishlist priority.
May 24 2023, 08:29 · User-valerio.bozzolan, GitHub
valerio.bozzolan updated the name of F295618: Mockup SSH keys importer.png from "Screenshot_2023_05_24_102921.png" to "Mockup SSH keys importer.png".
May 24 2023, 08:29
valerio.bozzolan added a comment to D25237: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.

To land this patch, you can download Arcanist and:

arc patch D25237
arc land

If you can't for some reasons, don't worry: I will land this in 8 days, hoping to be useful

Thanks again :)

May 24 2023, 08:15
valerio.bozzolan added inline comments to D25142: Update Figlet implementation to be PHP8 compatible.
May 24 2023, 08:10