YunoHost-Apps / piwigo_ynh

Piwigo package for YunoHost
http://piwigo.org/
GNU General Public License v2.0
6 stars 4 forks source link

Corrections and enhancements #11

Closed maniackcrudelis closed 6 years ago

maniackcrudelis commented 7 years ago

Because is about to become an official app, there are some things we have to discuss about some parts of the code. Let's go :)

JimboJoe commented 7 years ago

Processed points

Just settled to 1h and 100Mo max, set on both nginx and PHP-FPM sides. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/15e1300f64b51c1918959e2af4c7eeac768666bf

Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/81247871f786213f8542f35706a95d4d7c3cecd4

Added. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/8d061f1651ad36baaea955f3e2ef36e55fc79a22

Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/6780bd4a758f69a1339d4aceb41e8515a4d04f68

Not really :wink: Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/6780bd4a758f69a1339d4aceb41e8515a4d04f68

Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/6780bd4a758f69a1339d4aceb41e8515a4d04f68

I can maybe compact lines with ";"...? Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/89eddb9e13c04236b965583bc3f98869965538ca

Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/90d3303b28466641a4cc2b668b4fbaf318a5e58f

You need it for this syntax cp -a $TMPDIR/!(upload|galleries) $final_path

Tested without any sleep on x86_64 and ARM, seems to be fine now. Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/90d3303b28466641a4cc2b668b4fbaf318a5e58f https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/2c824f4be81c0d1c307f2f62f920cff5dca1bab6

No, used later on: https://github.com/YunoHost-Apps/piwigo_ynh/blob/master/scripts/upgrade#L170

  • And same things than the install script for the upgrade script.

install and upgrade script are now on par.

Remaining points

It's the latest proposal in example_ynh... To be further discussed.

Images are stored in upload and _data directories, and images/thumbnails and intermediate sizes are mixed together... so I think it won't fit well with yunohost.multimedia.

Corresponding PR

JimboJoe commented 7 years ago

Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/90d3303b28466641a4cc2b668b4fbaf318a5e58f

Images are stored in upload and _data directories, and images/thumbnails and intermediate sizes are mixed together... so I think it won't fit well with yunohost.multimedia.

Tested without any sleep on x86_64 and ARM, seems to be fine now. Fixed. https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/90d3303b28466641a4cc2b668b4fbaf318a5e58f https://github.com/YunoHost-Apps/piwigo_ynh/pull/12/commits/2c824f4be81c0d1c307f2f62f920cff5dca1bab6

  • And same things than the install script for the upgrade script.

install and upgrade script are now on par.

Except the two remaining points for which I'm waiting for your answer/approval, there's no actions on my side any more.

maniackcrudelis commented 6 years ago

Oh ok the 2 remaining points. So, for the change_url script, as you said, we have to discuss about that. So for now, let's say it's ok. And, for yunohost.multimedia, if you think it's not relevant, let's skip that. Maybe adding a comment to explain that can be nice. Just to not ask you again about that later.

Though I not recheck your code.

JimboJoe commented 6 years ago

PR merged in master.

maniackcrudelis commented 6 years ago

Because you forced me ;)

(22:38:12) Maniack C: @JimboJoe, je suis en train de revoir ton app piwigo (22:38:24) JimboJoe a quitté le salon (Disconnected: closed) (22:38:34) Maniack C: Je réouvre l'issue ou je te fais mes remarques ici ?

I have to write down here my remarks about piwigo ;)

But there nothing really bad.

So for me, this app is "almost" ready to become official \o/

maniackcrudelis commented 6 years ago

JimboJoe, you've forgot to say us my last remarks have been fixed just the day after ! https://github.com/YunoHost-Apps/piwigo_ynh/commit/f7a6d6ca2dbbd39f20d299478c28f92e83f6f53c

So now for me your code is all good. Just you have to say if we're ready to go forward. Regarding the 2 other current issues.

JimboJoe commented 6 years ago

The two issues had been fixed previously; I guess we're ready to move forward...