| 09:00 | * | hra38192639[m] has quit (Quit: You have been kicked for being idle) |
| 09:00 | * | AllanMacGregor[m has quit (Quit: You have been kicked for being idle) |
| 09:00 | * | steinfarm[m] has quit (Quit: You have been kicked for being idle) |
| 09:00 | * | kunigunde[m] has quit (Quit: You have been kicked for being idle) |
| 09:00 | * | harry[m]12 has quit (Quit: You have been kicked for being idle) |
| 09:00 | * | gunter[m] has quit (Quit: You have been kicked for being idle) |
| 09:00 | * | JanSonntag[m] has quit (Quit: You have been kicked for being idle) |
| 10:05 | skipper_is[m] | Nothing seems like it needs elevated privilege |
| 10:05 | skipper_is[m] | On farmOS 1.x, is there a way of checking what permissions affect a page? I've got a quick form that is only showing up for user 0, and cannot figure out why... |
| 11:46 | mstenta[m] | skipper_is: in Drupal 7 the access rules are defined in hook_menu |
| 11:48 | mstenta[m] | Oh but just remembering, for quick forms the permission was defined in hook_farm_quick_forms() |
| 11:49 | mstenta[m] | Eg: github.com/farmOS/farmOS/blob/c257226504 |
| 11:50 | mstenta[m] | Oh is it possible you don't have any permissions declared in that hook? |
| 15:59 | symbioquine[m] | Is there interest in the [Dev call](farmos.discourse.group/t/interest-in-an-) today? I don't have specific topics, but I'm thinking of calling in and seeing if other folks do... |
| 15:59 | mstenta[m] | i'll be there :-) |
| 15:59 | paul121[m] | I have a few things on my mind if no one else brings anything :D |
| 16:00 | * | SpencerOnazi[m] has quit (Quit: You have been kicked for being idle) |
| 16:00 | * | davd[m] has quit (Quit: You have been kicked for being idle) |
| 16:00 | * | and712[m] has quit (Quit: You have been kicked for being idle) |
| 16:00 | * | gretel[m] has quit (Quit: You have been kicked for being idle) |
| 16:00 | * | mindcls[m] has quit (Quit: You have been kicked for being idle) |
| 16:00 | mstenta[m] | paul121: maybe i'll see if @SirSundays wants to join :-) |
| 16:01 | mstenta[m] | (debugging some l10n stuff right now in github.com/farmOS/farmOS/issues/472) |
| 16:01 | paul121[m] | yes! they joined the dev call once before! haha ping Jan Sonntag |
| 16:39 | mstenta[m] | <mstenta[m]> "symbioquine paul121 : I wonder..." <- symbioquine paul121 I opened a PR for this: github.com/farmOS/farmOS/pull/473 |
| 16:39 | mstenta[m] | Although, I just found this option for `matrix` strategy workflows: docs.github.com/en/actions/learn-github- |
| 16:39 | mstenta[m] | maybe we should just keep them in the same workflow and temporarily set that to `false` instead? |
| 16:40 | mstenta[m] | it sounds like that would allow the postgres and mariadb tests to continue even if sqlite3 fails |
| 16:40 | mstenta[m] | which is really the pressing issue... |
| 16:41 | paul121[m] | interesting. but also important to know if postgres passes but mysql fails! |
| 16:42 | mstenta[m] | yea, that would still be visible |
| 16:42 | mstenta[m] | the issue i'm constantly frustrated by is that sqlite3 fails pretty early (when this happens), and i have to keep rerunning the job to see if the other two work |
| 16:44 | paul121[m] | ah yeah |
| 16:46 | symbioquine[m] | What about `jobs.<job_id>.continue-on-error`? |
| 16:47 | mstenta[m] | saw that too... |
| 16:47 | mstenta[m] | but i think we still do want to see red when sqlite fails |
| 16:47 | mstenta[m] | otherwise we'll miss actual sqlite test failures |
| 16:50 | symbioquine[m] | It seems like that would depend how well those "failed, but continued" jobs are represented in the UI... |
| 16:51 | symbioquine[m] | If they're just shown as "passed" then I agree. |
| 16:51 | mstenta[m] | mm yea |
| 16:51 | mstenta[m] | that's my assumption |
| 16:52 | mstenta[m] | i'm opening another PR with the `fail-fast` approach... |
| 16:57 | mstenta[m] | github.com/farmOS/farmOS/pull/474 |
| 16:57 | mstenta[m] | it is cleaner than the first PR, which I like |
| 16:57 | mstenta[m] | and keeps everything in the same file |
| 17:03 | skipper_is[m] | <mstenta[m]> "Eg: github.com/farmOS/..." <- I do indeed have it declared `'permission' => 'create farm_maintenance log entities',` |
| 18:07 | skipper_is[m] | Also, does anyone use Github Copilot? I just had a go and wow, it is very impressive! |
| 18:55 | paul121[m] | I have not! how do you try it out? |
| 18:55 | paul121[m] | also symbioquine I was thinking of the Cloud optimized geotiffs - just remembered: www.cogeo.org/ |
| 18:55 | paul121[m] | s/symbioquine/skipper_is/ |
| 18:56 | paul121[m] | sorry your internet wasn't working at symbioquine ! |
| 18:56 | skipper_is[m] | copilot.github.com/ |
| 18:56 | symbioquine[m] | Yeah, it's still dropping in and out :( |
| 18:56 | symbioquine[m] | I'm connected through my phone right now. |
| 18:56 | skipper_is[m] | Essentially, you start typing, and it makes suggestions - like any other IDE so far, but the suggestions are like entire functions in some cases... |
| 18:57 | * | uploaded an image: (24KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 18:58 | skipper_is[m] | So because my previous form element was a battery checkbox, it has suggested that my next option should be a textfield to record the battery level |
| 18:58 | mstenta[m] | oh yea i heard about this! |
| 18:58 | skipper_is[m] | Like... the entire element has been suggested! |
| 18:59 | mstenta[m] | man... what is programming going to look like when my kids are grown up 🤯 |
| 18:59 | skipper_is[m] | Just write a brief description of what you want and it'll do the code... |
| 18:59 | paul121[m] | omg...... |
| 18:59 | skipper_is[m] | "Program that records information from the farm" and it'll write the whole of FarmOS 10.x |
| 19:00 | paul121[m] | but really, "create a {blank} asset type" would really be useful! |
| 19:01 | skipper_is[m] | The next suggestion after the battery level option was prestart brake test, followed by oil and fuel levels... |
| 19:01 | skipper_is[m] | How does it know what a prestart check is! |
| 19:04 | skipper_is[m] | It's also just suggested all the related prestart $form_state[xx] for the submit function as well... |
| 19:04 | skipper_is[m] | It is terrifying, and will make me a lazy programmmer. |
| 19:04 | paul121[m] | crazy |
| 20:19 | * | natewrench123456 has joined |
| 20:19 | * | natewrench123456 has quit (Max SendQ exceeded) |
| 21:04 | paul121[m] | mstenta: what would you think about moving the codesniffer test out to another workflow? for the same reason to same time, unit testing can continue despite codesniffer errors |
| 22:09 | mstenta[m] | Hmm I don't think it will make much difference - codesniffer takes less than 10 seconds to run, compared to ~8 mins for tests (using this one as an example: github.com/mstenta/farmOS/runs/473141796) |
| 22:10 | paul121[m] | s/same/save/ |
| 22:10 | mstenta[m] | but perhaps we could split it out to a separate job within the same workflow? |
| 22:10 | mstenta[m] | kinda like we did with the sqlite stuff? |
| 22:11 | paul121[m] | ah but I mean when the codesniffer fails. it prevents the unit tests from running |
| 22:11 | mstenta[m] | or i mean: set it up so that it won't stop other stuff |
| 22:11 | mstenta[m] | ah yea |
| 22:11 | mstenta[m] | remember the commit i showed on the dev call today? that split the docker build and test matrix into two separate "jobs"? |
| 22:12 | mstenta[m] | maybe we could move the codesniffer to it's own job too, which runs in parallel with the tests, but tests don't depend on it |
| 22:13 | paul121[m] | right, because that needs the dev image |
| 22:13 | mstenta[m] | ah yea |
| 22:13 | mstenta[m] | i can try that out in my `2.x-docker` branch |
| 22:13 | mstenta[m] | probably pretty simple |
| 22:23 | mstenta[m] | github.com/mstenta/farmOS/commit/a1770c4 |
| 22:23 | mstenta[m] | testing now (the `docker run` command might need some adjustment, we'll see...) github.com/mstenta/farmOS/actions |
| 22:25 | mstenta[m] | * see...) github.com/mstenta/farmOS/actions/runs/1 |
| 22:25 | mstenta[m] | s/a1770c44edb8c9cba7470a415b7c96b605a29925/137d967f92a441a1df7ec3315e78ecb472d5843c/ |
| 22:26 | mstenta[m] | pretty neat how GitHub visualizes it: |
| 22:26 | * | uploaded an image: (19KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 22:34 | mstenta[m] | Hmm one drawback to this approach: I'm finding that the uploading/downloading of the artifacts between jobs is a non-trivial step... it took 2 min 5 s to upload(!!) and ~1.5 min to download and load it in the next job |
| 22:36 | mstenta[m] | i wonder if that will be like that consistently |
| 22:41 | mstenta[m] | seems like the upload took a long time just to get started (kept showing 0% for a long time) |
| 22:42 | paul121[m] | oh interesting |
| 22:42 | mstenta[m] | oof yea it's pretty painful how slow this is |
| 22:45 | mstenta[m] | it works though! github.com/mstenta/farmOS/runs/473298277 |
| 22:46 | mstenta[m] | oof but it adds almost 4 minutes to the run! 😳 |
| 22:46 | mstenta[m] | that's crazy |
| 22:49 | mstenta[m] | that might be a dealbreaker for this strategy |
| 22:51 | mstenta[m] | well... ok... so i just realized that we aren't compressing the docker image tarballs... 🤦 |
| 22:51 | mstenta[m] | i'll give that a try and see if it makes a difference... might help, but probably not that much |
| 22:52 | paul121[m] | yeah, reading into it a little bit too, and it seems like they compress everything already |
| 22:52 | mstenta[m] | oh |
| 22:53 | mstenta[m] | (pushed a commit to test anyway) |
| 23:30 | paul121[m] | that's a bummer tho :-( |
| 23:30 | paul121[m] | looked great |