Page MenuHomePhorge
Feed All Stories

Jul 6 2023

Sten added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

Has anyone experimented with using arcanist in a docker container? I see two people have published these on dockerhub:

Jul 6 2023, 10:00 · Discussion Needed, Arcanist
valerio.bozzolan updated valerio.bozzolan.
Jul 6 2023, 09:53
valerio.bozzolan added a comment to T15322: Footer: specify a default Libre license for Phorge contents.

It's all a matter of risks after all. Keeping everything as-is ("all rights reserved") just increases risks for every contributor, including Administrators.

Jul 6 2023, 09:52 · Discussion Needed, Governance
avivey added a comment to T15322: Footer: specify a default Libre license for Phorge contents.

yeah, well, we still can't afford legal advice. If some funded organization is willing to donate some, we'll appreciate it.

Jul 6 2023, 09:34 · Discussion Needed, Governance
valerio.bozzolan added a comment to T15322: Footer: specify a default Libre license for Phorge contents.

At the moment, if somebody makes a comment in the website with a creative snippet, that is "all rights reserved" from that author. Same on Differential, since volatile patches can be somehow considered as out of the repository.

Jul 6 2023, 09:31 · Discussion Needed, Governance
avivey added a comment to T15322: Footer: specify a default Libre license for Phorge contents.

@valerio.bozzolan I think you're confusing this task ("website content") and T15121 (contributor agreement).

Jul 6 2023, 09:28 · Discussion Needed, Governance
valerio.bozzolan raised the priority of T15322: Footer: specify a default Libre license for Phorge contents from High to Unbreak Now!.

Since I am not currently authorized to make changes on other people's code from comments or Differential and I don't want to be vulnerable to copyright trolling.

Jul 6 2023, 09:26 · Discussion Needed, Governance
Sten closed T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error as Resolved by committing rPb3ac5ceb387f: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Jul 6 2023, 08:42 · PHP 8 support
Sten closed T15527: arc diff <differential.getcommitmessage> strlen(null) PHP 8.1 error, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 6 2023, 08:42 · PHP 8 support
Sten closed D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Jul 6 2023, 08:42
Sten committed rPb3ac5ceb387f: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).
Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null)
Jul 6 2023, 08:42
valerio.bozzolan added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().
In D25323#9739, @Sten wrote:

Could we have a lint rule to catch forbidden newlines?

Jul 6 2023, 08:18
valerio.bozzolan updated the test plan for D25302: Workboard Columns: avoid page reload on Edit > Cancel.
Jul 6 2023, 07:30
valerio.bozzolan updated the test plan for D25306: Diffusion commits: add some edge phrases about Revisions.
Jul 6 2023, 07:19
avivey accepted D25307: Dashboard Tabs: fix action "Move Right".
Jul 6 2023, 07:16
avivey accepted D25306: Diffusion commits: add some edge phrases about Revisions.
Jul 6 2023, 07:15
valerio.bozzolan edited the content of Next Up.
Jul 6 2023, 07:13
avivey accepted D25308: Dashboard Tabs: render "Move" buttons grayed out more consistently.
Jul 6 2023, 07:13
avivey added a member for Trusted Contributors: TitanNano.
Jul 6 2023, 07:13
valerio.bozzolan edited the content of Next Up.
Jul 6 2023, 07:08
valerio.bozzolan accepted D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).

Tested, thanks! I was able to debug both NULL, empty string, and a populated string, just putting some stuff in the fields.

Jul 6 2023, 07:03
valerio.bozzolan updated the answer details for Q65: Bug: Unhandled Exception ("Exception") - Diff Parse Exception: Expected '\ No newline at end of file'. (Answer 84).
Jul 6 2023, 06:58
avivey added a comment to T15533: Bug: Unhandled Exception ("Exception") - Diff Parse Exception: Expected '\ No newline at end of file'..

Where exactly are you seeing this error? what page exactly?

Jul 6 2023, 06:47 · Localization, Bug Reports, Diffusion

Jul 5 2023

szotsaki closed Q65: Bug: Unhandled Exception ("Exception") - Diff Parse Exception: Expected '\ No newline at end of file'. as obsolete.
Jul 5 2023, 21:28 · Bug Reports
szotsaki added a comment to Q65: Bug: Unhandled Exception ("Exception") - Diff Parse Exception: Expected '\ No newline at end of file'. (Answer 84).

Thank you, I created T15533.

Jul 5 2023, 21:28
szotsaki created T15533: Bug: Unhandled Exception ("Exception") - Diff Parse Exception: Expected '\ No newline at end of file'..
Jul 5 2023, 21:27 · Localization, Bug Reports, Diffusion
avivey closed T15275: Project hover-card should show Description as Resolved by committing rPd5a28e12a005: Project Hovercards: Show Description.
Jul 5 2023, 20:32 · Projects
avivey closed D25331: Project Hovercards: Show Description.
Jul 5 2023, 20:32
avivey committed rPd5a28e12a005: Project Hovercards: Show Description.
Project Hovercards: Show Description
Jul 5 2023, 20:32
avivey added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

Interesting.... Herald could probably start the flow, but there's still more parts needed (update vs create revision, extract summary and test plan), and it technically can't delete the branch (it can prevent it from being created, but that shows up as an error in the user-side).
But it should be able to at least trigger the flow and provide a URL for the user to click on.

Jul 5 2023, 20:26 · Discussion Needed, Arcanist
avivey added a comment to T15524: Discussion: Technical direction of Phorge.

Ok, the discussion here got a little out of focus. Maybe some parts of this can be extracted to their own discussion.

Jul 5 2023, 20:09
Ekubischta added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

Could this be solved with a Herald action?

Jul 5 2023, 19:28 · Discussion Needed, Arcanist
Cigaryno edited projects for D25011: Remove CircleCI specific code from all over the place, added: Almanac/Drydock/Harbormaster; removed Harbormaster (archived).
Jul 5 2023, 19:05 · Almanac/Drydock/Harbormaster
aklapper added a comment to T15498: PHP 8.2 "strlen(null)" exception when viewing image details.

OK I can reproduce now. I was missing the php-gd extension for some reasons.

Jul 5 2023, 17:45 · Files, PHP 8 support
aklapper closed T15475: PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after setting maintenance mode, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 17:42 · PHP 8 support
aklapper closed T15475: PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after setting maintenance mode as Resolved by committing rP71f38a90a358: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after….
Jul 5 2023, 17:41 · Differential, PHP 8 support
aklapper closed D25295: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after setting maintenance mode.
Jul 5 2023, 17:41
aklapper committed rP71f38a90a358: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after….
Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after…
Jul 5 2023, 17:41
aklapper closed T15498: PHP 8.2 "strlen(null)" exception when viewing image details, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 17:38 · PHP 8 support
aklapper closed T15498: PHP 8.2 "strlen(null)" exception when viewing image details as Resolved by committing rPf45d6421a13c: Fix PHP 8.1 "strlen(null)" exception opening a File overlay (Lightbox comment….
Jul 5 2023, 17:38 · Files, PHP 8 support
aklapper closed D25310: Fix PHP 8.1 "strlen(null)" exception opening a File overlay (Lightbox comment frame).
Jul 5 2023, 17:38
aklapper committed rPf45d6421a13c: Fix PHP 8.1 "strlen(null)" exception opening a File overlay (Lightbox comment….
Fix PHP 8.1 "strlen(null)" exception opening a File overlay (Lightbox comment…
Jul 5 2023, 17:38
mturdus committed R5:ebe69c77364e: README.md: spelling mistakes.
README.md: spelling mistakes
Jul 5 2023, 17:16
20after4 added a comment to T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..

I suspect there's also a problem of motivation: These things are lots of work, and the people who are capable of performing them - people who are comfortable with working with these tools - will not personally benefit from this stuff. The people who would benefit the most are people who are not involved in the project at all...

Jul 5 2023, 16:23 · Discussion Needed, Arcanist
Sten added a comment to D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).

Wouldn't want to deny you your '0' comments!

Jul 5 2023, 16:22
Sten updated the diff for D25332: Fix DifferentialGetCommitMessageConduitAPIMethod execute strlen(null).

Update empty string check to === '' as per review

Jul 5 2023, 16:21
Sten added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Could we have a lint rule to catch forbidden newlines?

Jul 5 2023, 16:11
Sten updated the diff for D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Interesting point about the array return.

Jul 5 2023, 16:10
valerio.bozzolan updated valerio.bozzolan.
Jul 5 2023, 15:51
valerio.bozzolan added a comment to D25323: Fix PHP 8.1 issue in DifferentialChangeset getOldStatePathVector().

Interestingly, it seems to me that, before, the result always has been an array since it passes through explode().

Jul 5 2023, 15:48
Sten updated the diff for D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().

coalesce - I like that. It's going to see some use!

Jul 5 2023, 15:44
valerio.bozzolan accepted D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().

Soft +1 but we need some other opinions here

Jul 5 2023, 15:21
valerio.bozzolan added inline comments to D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().
Jul 5 2023, 15:20
Sten added inline comments to D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().
Jul 5 2023, 15:19
Sten closed D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 15:06
Sten closed T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error as Resolved by committing rP9d512595c0e2: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 15:06 · PHP 8 support
Sten closed T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 15:06 · PHP 8 support
Sten committed rP9d512595c0e2: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error
Jul 5 2023, 15:06
Sten added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

Tested uploading a diff via the web interface, and it's fine with and without this patch.

Jul 5 2023, 15:04
valerio.bozzolan edited the content of Next Up.
Jul 5 2023, 14:44
valerio.bozzolan accepted D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.

sgtm

Jul 5 2023, 14:40
Sten updated the diff for D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.

Pesky newline removed :-)

Jul 5 2023, 14:39
Sten closed D25327: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 5 2023, 14:38
Sten closed T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jul 5 2023, 14:38 · PHP 8 support
Sten closed T15520: git pull from PHP 8.1 Phorge using https URL fails with strlen() null error as Resolved by committing rP9bf5e1735287: PHP8.1 fix for DiffusionServeController serveRequest().
Jul 5 2023, 14:38 · PHP 8 support
Sten committed rP9bf5e1735287: PHP8.1 fix for DiffusionServeController serveRequest().
PHP8.1 fix for DiffusionServeController serveRequest()
Jul 5 2023, 14:37
Sten requested review of D25336: Fix PhabricatorRepository generateURI PHP 8.1 strlen(null) errors.
Jul 5 2023, 14:35
Sten added a revision to T15532: PhabricatorRepository generateURI generates multiple strlen(null) errors under PHP 8.1: D25336: Fix PhabricatorRepository generateURI PHP 8.1 strlen(null) errors.
Jul 5 2023, 14:35 · PHP 8 support
Sten claimed T15532: PhabricatorRepository generateURI generates multiple strlen(null) errors under PHP 8.1.
Jul 5 2023, 14:32 · PHP 8 support
Sten created T15532: PhabricatorRepository generateURI generates multiple strlen(null) errors under PHP 8.1.
Jul 5 2023, 14:32 · PHP 8 support
valerio.bozzolan accepted D25327: PHP8.1 fix for DiffusionServeController serveRequest().

I think we can save at least 1 CPU cycle in avoiding strlen() all the time and just using other things, but this is the minimal change to avoid such crash. Thanks!

Jul 5 2023, 14:23
valerio.bozzolan awarded T15237: Conpherence: allow "announcement" style channel a Like token.
Jul 5 2023, 14:18 · Feature Requests, Conpherence
valerio.bozzolan renamed T15237: Conpherence: allow "announcement" style channel from Conpherence: allow "announcment" style channel to Conpherence: allow "announcement" style channel.
Jul 5 2023, 14:18 · Feature Requests, Conpherence
valerio.bozzolan accepted D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.

Hard +1 if that extra newline disappears :)

Jul 5 2023, 14:15
valerio.bozzolan added a comment to D25296: Fix PHP 8.1 "strlen(null)" exception trying to stop maintenance mode of Diffusion repo.
In D25296#9660, @avivey wrote:

To prevent --start and --stop from being used together, you should be able to add conflicts to one of the argument definitions. Could be named something else, I don't remember exactly. Search for it in other flows (including arcanist flows).

Jul 5 2023, 14:07
avivey added a comment to T15275: Project hover-card should show Description.

Currently, only Commits show anything like "description" (commit hovercard shows the commit message.

Jul 5 2023, 14:06 · Projects
valerio.bozzolan added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

Yep thanks but can you please also try uploading a Diff from the web interface (without and with this patch)? think your patch fixes 2 bugs in one shot.

Jul 5 2023, 14:05
valerio.bozzolan added a comment to T15275: Project hover-card should show Description.

Just as clarification do you have any other Hovercard in mind that has a description?

Jul 5 2023, 14:00 · Projects
valerio.bozzolan accepted D25331: Project Hovercards: Show Description.

It is possible to encounter a couple of problems but that plague any other Hovercard. Thanks! This is useful.

Jul 5 2023, 13:57
valerio.bozzolan added inline comments to D25331: Project Hovercards: Show Description.
Jul 5 2023, 13:55
valerio.bozzolan added inline comments to D25331: Project Hovercards: Show Description.
Jul 5 2023, 13:54
avivey added inline comments to D25331: Project Hovercards: Show Description.
Jul 5 2023, 13:50
Sten added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

I triggered the exceptions just by running 'arc diff'. Visiting a diff on the web interface was fine. Please see T15530 for the exception stack trace.

Jul 5 2023, 13:50
valerio.bozzolan added a comment to D25334: Fix DifferentialCommitMessageField renderFieldValue PHP 8.1 strlen(null) error.

What do you think about the test plan here? Is this relevant also to the online web interface (Diff paste) or just to running arc diff? or visiting a Diff is enough (visiting stuff I think it's not relevant)?

Jul 5 2023, 13:45
Sten updated the diff for D25324: Fix PHP 8.1 PhabricatorEditorURIEngine::newForViewer() trim(NULL) error.

Nice - complete removal of that strlen as suggested.

Jul 5 2023, 13:44
valerio.bozzolan added inline comments to D25331: Project Hovercards: Show Description.
Jul 5 2023, 13:40
valerio.bozzolan added a comment to D25331: Project Hovercards: Show Description.

A person enters in a bar and

Jul 5 2023, 13:38
Sten requested review of D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:32
Sten added a revision to T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error: D25335: Fix PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:32 · PHP 8 support
avivey added inline comments to D25296: Fix PHP 8.1 "strlen(null)" exception trying to stop maintenance mode of Diffusion repo.
Jul 5 2023, 13:28
valerio.bozzolan updated the name of F319161: Cowsay descriptioned.png from "image.png" to "Cowsay descriptioned.png".
Jul 5 2023, 13:27
avivey added a comment to D25296: Fix PHP 8.1 "strlen(null)" exception trying to stop maintenance mode of Diffusion repo.

Hi @avivey what do you think about this legacy possible situation?

$ ./bin/repository maintenance --stop --start "" R9
Took repository "R9" out of maintenance mode.

Maybe this Diff is a good moment to introduce a fix also to that, with a dedicated message

Jul 5 2023, 13:24
Sten claimed T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:24 · PHP 8 support
Sten created T15531: PHP 8.1 DifferentialBranchField getBranchDescription strlen(null) error.
Jul 5 2023, 13:24 · PHP 8 support
valerio.bozzolan updated subscribers of D25296: Fix PHP 8.1 "strlen(null)" exception trying to stop maintenance mode of Diffusion repo.

Hi @avivey what do you think about this legacy possible situation?

Jul 5 2023, 13:18
valerio.bozzolan added inline comments to D25329: Fix passing null to trim() error in DiffusionBrowseTableView render().
Jul 5 2023, 13:11
valerio.bozzolan updated the diff for D25295: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after setting maintenance mode.

a bit more readable

Jul 5 2023, 13:08
valerio.bozzolan accepted D25295: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after setting maintenance mode.

I tested all the cases locally, seems good to me. I will just amend the small proposed thing for better readability.

Jul 5 2023, 13:07
valerio.bozzolan updated the test plan for D25295: Fix PHP 8.1 "strlen(null)" exception on History page of Diffusion repo after setting maintenance mode.
Jul 5 2023, 13:07
valerio.bozzolan added a comment to D25011: Remove CircleCI specific code from all over the place.

Please also rebase with master branch

Jul 5 2023, 12:59 · Almanac/Drydock/Harbormaster