Page MenuHomePhabricator

Raise a setup warning for an unparseable VCS binary version
ClosedPublic

Authored by epriestley on Jan 29 2015, 2:33 PM.
Tags
None
Referenced Files
F19715534: D11558.id.diff
Thu, Feb 12, 6:11 AM
F19708455: D11558.diff
Wed, Feb 11, 12:57 PM
F19649232: D11558.id.diff
Feb 6 2026, 8:20 AM
F19637142: D11558.id.diff
Feb 5 2026, 1:50 PM
F19559832: D11558.id27812.diff
Jan 31 2026, 4:21 AM
F19511416: D11558.diff
Jan 12 2026, 2:06 AM
F18857965: D11558.id.diff
Nov 1 2025, 7:10 PM
F18842641: D11558.id27838.diff
Oct 28 2025, 5:13 PM
Subscribers
Tokens
"Piece of Eight" token, awarded by btrahan.

Details

Summary

Hit this locally, with an error like:

Version <empty string> is older than 1.9, the minimum supported version.

(Where <empty string> was just the empty string, not literally the text <empty string>.)

Be more careful about parsing versions, and parse the newer string.

Test Plan

Got "unknown version" with intentionally-broken test data, then clean readout.

Diff Detail

Repository
rP Phabricator
Branch
version1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4170
Build 4183: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Raise a setup warning for an unparseable VCS binary version.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
btrahan added inline comments.
src/applications/config/check/PhabricatorBinariesSetupCheck.php
208–209

maybe link "report the issue" to the reporting issues doc

This revision is now accepted and ready to land.Jan 29 2015, 5:02 PM

I'm just going to leave it unlinked because adding inline links here interacts badly with translations, and turning this into Remarkup is involved and questionable.

Well, maybe there should be an ->addLink() thing. I could just do that.

epriestley edited edge metadata.
  • Add an addLink() method for setup issues.
  • Use it to link to the bug reporting guide.
This revision was automatically updated to reflect the committed changes.