In D25234#7306, @valerio.bozzolan wrote:Just to clarify: I think we both agree on these four things:
- 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)
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
May 26 2023
May 26 2023
valerio.bozzolan added inline comments to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
avivey added a comment to D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
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:
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).
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" ?
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" ?
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:
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?
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 25 2023
May 25 2023
Can you please set this image as Public? thanks :)
valerio.bozzolan updated the name of F296592: Phorge confirmation dialog.png from "Screenshot_2023_05_25_175108.png" to "Phorge confirmation dialog.png".
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.
valerio.bozzolan updated the diff for D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
rebase and add minor comment
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:
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".
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".
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
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/8.4, as Resolved.
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
I prefer if ($thing !== null && strlen($thing)), but whatever.
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
valerio.bozzolan added a reviewer for D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports: speck.
valerio.bozzolan updated the test plan for D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex.
valerio.bozzolan updated the test plan for D25236: Diviner: mention how to flag Arcanist and Phorge as "safe" git repos.
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).
valerio.bozzolan updated the diff for D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
avoid unuseful tables
valerio.bozzolan updated the summary of D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
valerio.bozzolan updated the diff for D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
mention the cast thing
valerio.bozzolan updated the diff for D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1.
mention the cast thing
Thanks again for this patch!
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
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?
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
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
valerio.bozzolan updated the summary of D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports.
Thaanks! Tested locally. No implosions obviously ihih
lint
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.
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
OK just to have a stub somewhere to start with, please feel free to edit this page:
May 24 2023
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
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.
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.
Restricted Repository Identity closed D25237: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
jkim <jkim@thoughtmachine.net> committed rARC0e32dbc1ac8f: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
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/8.4, as Resolved.
valerio.bozzolan accepted D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
Thaanks again
valerio.bozzolan updated the test plan for D25243: Fix PHP 8.1 "strlen(null)" exception which blocks deleting Phriction document.
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.
valerio.bozzolan updated the test plan for D25242: Cleanup unused cowsay files (related to legacy Perl binary version).
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.
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".
valerio.bozzolan added a comment to D25237: Correct a PHP8 compatibility issue when running "arc diff" with no active branch.
In D25237#7155, @valerio.bozzolan wrote:To land this patch, you can download Arcanist and:
arc patch D25237 arc landIf you can't for some reasons, don't worry: I will land this in 8 days, hoping to be useful
Thanks again :)
valerio.bozzolan added inline comments to D25142: Update Figlet implementation to be PHP8 compatible.
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0