@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow bin/config to create config file

Summary:
See D20779, https://discourse.phabricator-community.org/t/3089. `bin/config set` complains about
missing config file as if it's un-writable.

Test Plan: run `bin/config set` with missing, writable, unwritable conf.json and parent dir.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D20788

authored by

Aviv Eyal and committed by
avivey
318e8ebd 7e2bec92

+1 -3
+1 -3
src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
··· 145 145 $local_path = $config_source->getReadablePath(); 146 146 147 147 try { 148 - Filesystem::assertWritable($local_path); 148 + $config_source->setKeys(array($key => $value)); 149 149 } catch (FilesystemException $ex) { 150 150 throw new PhutilArgumentUsageException( 151 151 pht( ··· 153 153 'so that "bin/config" can store configuration.', 154 154 Filesystem::readablePath($local_path))); 155 155 } 156 - 157 - $config_source->setKeys(array($key => $value)); 158 156 159 157 $write_message = pht( 160 158 'Wrote configuration key "%s" to local storage (in file "%s").',