-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: adjust env vars so that check-env-var-annotations passes #8469
Conversation
065aeef
to
c64bbbd
Compare
0a8f445
to
5e9613e
Compare
@kulmann ready for review. I can add the check to CI once we get these changes merged. It passes locally. |
ToDo: I put (Then I can adjust the |
done - actually most of the env vars are added in 5.0. Hopefully that is correct. |
95471a1
to
d28c3d3
Compare
Now I just need some suggestions for the env vars that needed descriptions added. |
Added patch suggestions above. |
dd964f4
to
633be41
Compare
I rebased, resolved the conflicts with recent changes in master, and added
Please review. Then maybe we merge this now (to reduce the ongoing conflicts happening). And I can work on a separate PR to add |
@phil-davis Thanks so far! This is hard to review. I need to check, but a lot of env variables got a |
I used the list in https://github.com/owncloud/ocis/blob/cc18f5c372b7d3795167addb3c50574a95717941/docs/services/general-info/env-var-deltas/4.0.0-5.0.0-added.md That list is "long", and claims that a lot of env vars have been added in 5.0. If that list is not correct, then where is the next place to look to try and find out what was added in 5.0? |
Oh there might be some confusion here, sorry I forgot to mention that. The List always states the full List of variables if one of them has been added. e.g. there is a global variable starting with |
For lines that have both variables, what is required. For example:
If And the same question if it happened the other way around? (this is just an example to get the principle of this, I haven't looked in detail to see exactly when these were introduced) |
@phil-davis I think this is an agreement thing. Introduction version is only valid for the non-global part OR the global it is the only var in the line. |
An example might help me:
easy - only one env var, it was added in 5.0 but:
and
and lots of the "log level" env vars. I need to know what was introduced in 5.0 - was it Apart from manually digging through git history, is there a way for me to find out exactly what was "really" introduced in 5.0? |
You are right... We might have to rethink the annotation.... maybe structured text like |
@phil-davis I just have talked to @kobergj, in the foreseeable future we will only have one variable per line (see #8259). So for now it is fine to just use the version of the latest introduced variable. We do NOT need to mess around with structured text 😌 |
c40db9b
to
a60f008
Compare
Rebased, resolved conflict, added |
a60f008
to
ae07007
Compare
I have done what I think is "correct" according to the documented list of env vars changed/added in 5.0 Please try to review. I think that "review" is going to mean just seeing that "something reasonable" has happened to all the modified lines. To check each env var against the documented list will take you just as long as it took me to do it! |
ae07007
to
5e7fa55
Compare
Rebased again. Please let me know if/what you want me to do with this. |
I will adjust this tomorrow. There are less "introduced in 5.0" env vars than I thought! |
Co-authored-by: Christian Richter <[email protected]>
5e7fa55
to
bdeaa79
Compare
Quality Gate passedIssues Measures |
See #8574 |
Description
I added some "vacuous" description text in the cases where I didn't really know what to write. Suggestions welcome.
Related Issue
introductionVersion
field to all existing environment variables #8434How Has This Been Tested?
Local run of:
make check-env-var-annotations
gives:Types of changes
Checklist: