Skip to content
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

Log usages of the deprecated app.php file #21632

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

ChristophWurst
Copy link
Member

This is a follow-up to #20865.

This will hopefully get more dev's attention on the deprecation if they don't read the upgrade docs.

I suggest to only add this for 21 so 20 can still handle the old apps and the warning starts later. We can even raise the log level to warn in 22.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added this to the Nextcloud 21 milestone Jun 30, 2020
@ChristophWurst ChristophWurst self-assigned this Jun 30, 2020
Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind to also log the app path? Makes it easier for setups with multiple apps directories.

@ChristophWurst
Copy link
Member Author

Mind to also log the app path? Makes it easier for setups with multiple apps directories.

But the app may only exist once, right? So it's unambiguous as you know the app's ID.

@kesselb
Copy link
Contributor

kesselb commented Jun 30, 2020

#21613 to add a recent one. Mostly it's a combination of a non writeable apps directory and shipped apps leading to such weird states.

@kesselb kesselb added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 30, 2020
@rullzer rullzer merged commit 0e42d05 into master Jun 30, 2020
@rullzer rullzer deleted the techdebt/app-php-deprecation-log branch June 30, 2020 17:38
@ChristophWurst
Copy link
Member Author

Erm …

  1. There were some pending changes
  2. I wanted to wait until 21 with this :D

@ChristophWurst
Copy link
Member Author

so … revert it is, I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants