Wekan / General

Wekan and Yunohost

Wekan and Yunohost

Wekan / General · October 2, 2019 at 8:30am (Edited 9 months ago)

There has been a great effort going on to get Wekan on the Yunohost platform. But a recent discussion has shown that there are some hurdles that prevent the package maintainers to keep the app up-to-date.

I hope that by posting those hurdles here can help to align both teams efforts and create mutual understanding so that in the end Wekan can be used by more people in an easy way.

What would really help us to have wekan_ynh up to date:

Is this useful feedback that helps you? Are there tips you have for the yunohost community to mitigate some of these hurdles?

Thank you!


October 2, 2019 at 10:15am

Wekan releases are here: https://github.com/wekan/wekan/blob/master/CHANGELOG.md previous one is 2 weeks ago, I don't think it's too often.

    • reply
    • like

    There is details what each release contains.

      • reply
      • like

      Yes I could provide builds for arm64

        • reply
        • like

        There is also link to that ChangeLog at Wekan webpage https://wekan.github.io

          • reply
          • like

          Adding all from ChangeLog to https://github.com/wekan/wekan/releases would take too much time, there is 344 releases total

            • reply
            • like

            Depends when I have time to look at builds for arm64 etc...

              • reply
              • like

              And what kind of builds you mean, like bundle.zip, or some deb package, or Snap, or Docker. I have tried to add additional architectures sometime but it's not automated or not working yet.

                • reply
                • like

                October 2, 2019 at 8:19pm

                Hi @xet7,

                I'm one of the app packager of Wekan for YunoHost. And the link to the original post I made : https://github.com/YunoHost-Apps/wekan_ynh/issues/54#issuecomment-537271009

                First I have to say a big thank you for the hard work you have already done to the awesome Wekan. It was just the app I was looking for to manage my work on YunoHost. And thank to having took the time to respond.

                My bad for the changelog, I didn't seen it exists. I used to go on the releases page (https://github.com/wekan/wekan/releases ) of the repository to find the information. But now I know ^^

                Regarding the number of releases, sometimes there are 9 releases a day (V3.27 to V3.35 on 2019-08-29).

                As I'm not a developer, I'm not a good juge..

                I don't know if it's because Wekan is still developing but from YunoHost perspective we use to package apps with longer release cycle (Mastodon: v3.0.0rc2 / 137 releases; Peertube: v1.4.1 / 76 releases; pixelfed 0.10.6 beta / 19 releases)

                Or maybe it's the way we package Wekan for YunoHost.

                YunoHost plans to provide apps for selfhosting. Hosting from a RaspberryPi (arm and arm64) to servers or virtual servers (amd64). Having YunoHost users installing apps with one clic...

                We don't package using .deb package or snap or docker. We do it like a manual installation.

                At the beginning we packaged directly from the sources and since you provided builds at https://releases.wekan.team/, we use them to improve installation reproductibility and reduce installation time.

                When I discovered https://releases.wekan.team/raspi3/, it was just perfect for us to be able to install wekan on raspberry Pi arm64 from an already built version.

                So for packaging wekan, we use a link to the builded .zip files (amd64 and arm64), having a sha256sum of each release file to be sure they are not altered.

                A first point is: as each built is not kept at https://releases.wekan.team/, we have to download them and upload them on our own website to keep them available.

                A second point is: as there is no new raspberryPi since 2.94, it difficult to upgrade the whole package for YunoHost

                A third point is: for each Wekan release we have to make changes in our own package.

                So the effort for maintaining the wekan package up to date is high for us.

                I don't know how other applications do and if it can be automated but some are able to provide builds with the release sources:

                Or maybe we should go back to package from the source file.

                  like-fill
                  1
                  • reply
                  • like

                  October 3, 2019 at 2:11am

                  I can provide arm64 .zip file https://releases.wekan.team/raspi3/ sometime in near future

                    like-fill
                    2
                    • reply
                    • like

                    Wekan has been developed since 2015, and there is very rapid release / feedback / fix cycle in Wekan development. I don't mean everyone should upgrade for every release. For example with Snap it's possible to set updating to happen at night. Some update bash scripts use cron to update at some time at night.

                      like-fill
                      1
                      • reply
                      • like

                      Sometimes I receive many pull requests per day. I do check and merge them soon, making new releases.

                        • reply
                        • like

                        For some platforms like Univention, I release less often. Sometime new version can be for example 30 releases newer.

                          • reply
                          • like

                          With cron, it's possible to setup update for example at weekend or once a month

                            • reply
                            • like

                            October 3, 2019 at 1:58pm

                            Please test

                              • reply
                              • like

                              It did take quite a lot of steps, for those I added there my in-progress version of maintainer-make-bundle.sh

                                • reply
                                • like

                                Would you need also RasPi3 disk image?

                                  • reply
                                  • like

                                  I will look later when I could have time for that

                                    • reply
                                    • like

                                    October 3, 2019 at 6:22pm

                                    Thanks a lot @xet7. I know it could took a lot of time. I will update Wekan for YunoHost right now. Maybe a good way to reduce the time needed for you would be to use something like GitHub CI. There are some CI that are able to build the release from sources on different architectures and push them to http://releases.wekan.team/

                                      • reply
                                      • like

                                      If we can do something to help you on that point, let us know.

                                        • reply
                                        • like