nextcloud_ynh icon indicating copy to clipboard operation
nextcloud_ynh copied to clipboard

Add notify push option

Open kay0u opened this issue 3 years ago • 18 comments

Solution

PR Status

It's ready to be tested, but I still need to modify the service with the correct architecture.

To make it works on my side, I had to add in the /etc/hosts file (not tested on non root install of nextcloud):

127.0.0.1       my.nextcloud.domain.tld
::1                  my.nextcloud.domain.tld
  • [ ] Code finished and ready to be reviewed/tested
  • [ ] The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

kay0u avatar Jun 08 '21 18:06 kay0u

The more I implement it, the more I don't want it to see that PR merged.

There are so many ways to make this notify_push app not work.

kay0u avatar Jun 09 '21 16:06 kay0u

!testme

kay0u avatar Jun 09 '21 16:06 kay0u

:stuck_out_tongue_winking_eye: Test Badge

yunohost-bot avatar Jun 09 '21 16:06 yunohost-bot

!testme

kay0u avatar Jun 10 '21 08:06 kay0u

:v: Test Badge

yunohost-bot avatar Jun 10 '21 08:06 yunohost-bot

!testme

kay0u avatar Jun 10 '21 10:06 kay0u

:rocket: Test Badge

yunohost-bot avatar Jun 10 '21 10:06 yunohost-bot

Hello @kay0u Thanks a lot for what you are doing here !!

The more I implement it, the more I don't want it to see that PR merged.

There are so many ways to make this notify_push app not work.

Do you think this PR will once be merged or is it better to setup notify-push by myself ? Thanks 😇

Thovi98 avatar Nov 02 '21 10:11 Thovi98

Hello!

If you are comfortable with the command line, I think you can make the changes by hand.

I'd like the opinion of others app's group on it, because Nextcloud is one of the most used apps in YNH, it's already horrible to maintain, and there are errors with each new version, so any new features added to this package will be yet another part that can be an issue when upgrading.

kay0u avatar Nov 05 '21 11:11 kay0u

Thanks for your answer !

I'd like the opinion of others app's group on it, because Nextcloud is one of the most used apps in YNH, it's already horrible to maintain, and there are errors with each new version, so any new features added to this package will be yet another part that can be an issue when upgrading.

I am probably not the right person to answer this given my lack of knowledge, but my two cents :

  • notify_push is more a "nice to have" than a "must have" : Nextcloud already perfectly works without this app.
  • It becomes more useful when there are a lot of Nextcloud users : generally, maintainers of big instances can use the command line.

So, altough it’s not ideal for a Yunohost package, I would rather go to a documentation which explains how to install notify_push with the command line. I think it’s better to have a robust initial package that has faster updates than something complex...

But to help users as much as possible, we can pave the way by already prepare notify_push with the corresponding lines, but commented, in nginx, /etc/hosts, config.php, …

Thovi98 avatar Nov 09 '21 12:11 Thovi98

FYI, about documenting an install process compatible with YNH (in french) : https://hackriculture.fr/nextcloud-synchronisation-de-fichiers-plus-performante-avec-notify_push-hpb.html

JocelynDelalande avatar Mar 03 '22 00:03 JocelynDelalande

!testme

ericgaspar avatar Jul 03 '22 09:07 ericgaspar

:sunflower: Test Badge

yunohost-bot avatar Jul 03 '22 09:07 yunohost-bot

!testme

ericgaspar avatar Nov 11 '22 20:11 ericgaspar

:sunflower: Test Badge

yunohost-bot avatar Nov 11 '22 20:11 yunohost-bot

!testme

ericgaspar avatar Feb 13 '23 22:02 ericgaspar

:carousel_horse: Test Badge

yunohost-bot avatar Feb 13 '23 22:02 yunohost-bot

Hi, what's the status of this PR ? It seems that it's quite ready to merge, does it mean that you finally decided to integrate it to the package ?

tomdereub avatar Jul 24 '23 10:07 tomdereub