Wednesday, May 21, 2025
dev@conference.yunohost.org
May
Mon Tue Wed Thu Fri Sat Sun
      1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 18
19
20
21
22
23
24
25
26 27
28
29
30 31
 
             

[05:17:33] <Yunohost Git/Infra notifications> [yunohost] g​ithub-actions[bot] opened [pull request #2113](https://github.com/YunoHost/yunohost/pull/2113): Upgrade n to 10.2.0
[06:28:37] <Yunohost Git/Infra notifications> [synapse_python_build] J​osue-T created new tag v1.130.0
[15:28:50] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin pushed 1 commit to dev: helpers: fix POST arg syntax in ynh_local_curl ([f629078d](https://github.com/YunoHost/yunohost/commit/f629078d13f3bf76d6aaa98d686fc1b2fda3c86e))
[20:16:01] <m606> hello, is there a way to test a change in yunohost-admin on a live system (or it necessarily goes through rebuilding) ?
[20:26:21] <Augier> It is possible but it's tricky as far as I know.
[20:26:38] <Augier> You'd need to setup everything by hand.
[20:36:32] <m606> > <@augierle42e:matrix.org> You'd need to setup everything by hand.

what do you mean by "everything" ? I am wondering whether it is possible to edit live file (or even replace one file with one rebuilt one)?
[20:43:43] <Augier> Well, in the simplest scenario, you can install the admin in a virtualenv, spawn it on a different port than the prod admin, copy the Nginx configuration so it is exposed on a different path, then edit the files using nano or vi and restart by hand upon modification
[20:45:57] <Augier> If you're fancy, you can use [PyCharm remote debugging features](https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html) to execute the code from your machine on your server using SSH live upload, which is what I do.
[20:46:17] <Augier> I probably should write a blog post about the process, actually…
[20:47:19] <Augier> I perfected my own setup after several cycles of try and error
[20:47:23] <Aleks (he/him/il/lui)> Uuh the webadmin is minified JS/CSS/HTML tho
[20:47:51] <Augier> > <@Alekswag:matrix.org> Uuh the webadmin is minified JS/CSS/HTML tho

Yup. It should be executed locally. Luckily, a PR of mine was merged recently to allow that.
[20:48:08] <Augier> O should definitely write that damn post…
[20:48:44] <Augier> Maybe some of the process can even be a YNH package, IDK ? 🤔
[23:52:29] <Yunohost Git/Infra notifications> [yunohost] e​mmanuel-ferdman opened [pull request #2114](https://github.com/YunoHost/yunohost/pull/2114): Resolve logger warnings
[23:58:39] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin [commented](https://github.com/YunoHost/yunohost/pull/2114#issuecomment-2899531502) on [issue #2114](https://github.com/YunoHost/yunohost/pull/2114) Resolve logger warnings: Ah cheers
[23:58:42] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin merged [pull request #2114](https://github.com/YunoHost/yunohost/pull/2114): Resolve logger warnings
[23:58:43] <Yunohost Git/Infra notifications> [yunohost] a​lexAubin pushed 1 commit to dev: Resolve logger warnings (#2114) Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com> ([b6537263](https://github.com/YunoHost/yunohost/commit/b6537263ec3833e091a1818c1baa6b389b6e2150))