| 15:59 | paul121[m] | www.lullabot.com/articles/drupals-bundle |
| 17:30 | ludwa6[m] | can anyone tell me how one can discover the version of a farmOS 2.x instance via the UI? |
| 17:30 | paul121[m] | good question, I'm not sure we have that displayed anywhere for non-admin users |
| 17:30 | jgaehring[m] | I use the version number directly from package.json in the UI for Field Kit, makes this kind of update automatic w/o any automation. Can something similar be done with farmOS? |
| 17:30 | paul121[m] | in the API it should be available at `/api` in the `meta.farm.version` |
| 17:30 | paul121[m] | but until we have a stable release this will likely show `2.x-dev` |
| 17:30 | paul121[m] | (good reminder to make sure we update this value when tagging releases) |
| 17:30 | ludwa6[m] | <paul121[m]> "but until we have a stable..." <- yep - meta.farm version just sez "2.x" |
| 17:30 | jgaehring[m] | github.com/farmOS/farmOS-client/blob/dev |
| 17:35 | paul121[m] | <jgaehring[m]> "I use the version number..." <- yep! we're doing the same, but we haven't been updating the version number with the alpha tagged releases.. |
| 17:35 | paul121[m] | comes from here: github.com/farmOS/farmOS/blob/522dbbd29f |
| 17:37 | paul121[m] | I'm curious if this should be changed to match each tag, like `2.0-beta`, and then go back to `2.x` when back in development |
| 17:37 | paul121[m] | I think the 1.x releases had something like that.. not sure if there is a better way around that. I imagine there's a name for this |
| 18:23 | jgaehring[m] | Yea, I've been tagging with 2.0.0-alpha.1 etc |
| 18:39 | ludwa6[m] | <jgaehring[m]> "Yea, I've been tagging with 2.0...." <- Would love to see version ID coded just like that, accessible via UI |
| 18:47 | paul121[m] | <ludwa6[m]> "Would love to see version ID..." <- is there any particular place you would like to see this? |
| 18:47 | paul121[m] | my first idea is at `/farm/settings` |
| 18:48 | paul121[m] | we display configurable "farm info" options (change the site name, timezone, etc). |
| 18:48 | paul121[m] | the version could be displayed here |
| 18:48 | paul121[m] | but not ideal since the version isn't a "setting" itself :-) |
| 18:56 | ludwa6[m] | <paul121[m]> "is there any particular place..." <- First place i went to look for it was the gear icon in main menu, i.e. vdl.farmos.dev/admin |
| 18:58 | paul121[m] | looks like the profile version is already visible the admin "status report" - but the thing is non-admin users can't see this |
| 18:58 | * | uploaded an image: (26KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 19:01 | ludwa6[m] | paul121[m]: Hm... Guess this means i'm not an admin, tho i have both "Manager" and "Farmier Account Admin" roles in my instance. |
| 19:02 | ludwa6[m] | Anyway: i think anyone who clicks on that gear icon in main menu can be shown the version number right on top of that ../admin page |