FiveTwentyEight - Provide concrete details about civicrm.files #18011
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
@kcristiano I was taking another look at the upgrade messaging and wondering about an inexperienced admin would interpret phrases like "a legacy (wp-content/plugins/files/civicrm) or non-standard directory structure". I agree with these, of course - it just helps to have the longer context.
But I think it may be easier to interpret (on the first impression) if we show the values more concretely.
Before
Message describes the paths in general terms.
After
Message provides the concrete values that are detected by the old/new functions. This serves two aims:
I've run this on two local builds - one which used the recent-style
uploads/civicrm
:The other uses the older-style
plugins/files/civicrm
:The upcoming content of the doc link is at https://github.com/civicrm/civicrm-sysadmin-guide/pull/260/files. I've updated the draft a bit to provide more linking words. I also tried to follow @gah242s's point that
[civicrm.files]
seems more googleable/research-able.