< 302019-12-01⋎02 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
07:33*JustTB has quit (Ping timeout: 246 seconds)
07:48*JustTB has joined
10:46*f2tmg[m] has joined
11:25skipper_is[m]I guess it is because they all have different formats, so you wouldn't need a manufacturer column for animals
11:32*JustTB has quit (Quit: Leaving.)
12:23*JustTB has joined
15:46*ludwa6 has quit (Quit: ludwa6)
15:47*ludwa6 has joined
16:06ludwa6g’day room: trying to get a current dump of all my Asset records -absent the Search and CSV features requested yesterday in this room, and since they in Github Issues tracker (github.com/farmOS/farmOS/issues/216 and …217), is this something i could pull by running a get request on the API, i wonder?
16:08ludwa6I am currently able to pull Sensor data, using API key that @donblair set up for me...
16:08ludwa6… but i don’t know how to hack that URL to pull all Asset data (and i don’t have a clue about CURL scripting :-)
16:17mstenta[m]Yes! Go to /farm_asset.json
16:17mstenta[m]That is the asset API endpoint
16:18mstenta[m]See the API docs on farmOS.org for filtering options
16:18mstenta[m]farmos.org/development/api/#requesting-r
16:19mstenta[m]That is the most complete way to get records. The CSV exports do not include everything
16:19ludwa6mstenta: got it, thanks. wow: that is a fine mess of ascii to parse!
16:19mstenta[m]If you're familiar with Python there is a library that makes it easier to work with
16:19mstenta[m]github.com/farmOS/farmOS.py
16:22ludwa6i have messed around with Python some in a former life, but it’s been awhile. may give it a try. meanwhile: why are the uri’s in this .json dump so weird? e.g. after http: , instead of // , there’s a \/\/ preceeding the domain address. is that normal in .json?
16:24ludwa6also: the fact i didn’t pass any primary key would seem to mean that anybody can access this API endpoint unauthorized -yes?
16:24ludwa6i mean private key.
16:24mstenta[m]Yea I think that's normal. Just escaping the slashes so they don't cause issues when being parsed by a script
16:24mstenta[m]No. It uses the same authentication as the rest of farmOS
16:25mstenta[m]You have a cookie stored in your browser which is used for both
16:25mstenta[m]So yes, if you use the script you'll be to auth
16:25ludwa6ah, so… OK, cool.
16:26ludwa6in fact i don’t care about having read-only access wide-open (we’re all about transparency on my farm :-)…
16:26mstenta[m]So yea... The record API works a bit differently than the sensor data API in that regard
16:27mstenta[m]The sensor API uses a public and private jet
16:27ludwa6oh? how is it different?
16:27mstenta[m]Key*
16:27mstenta[m]Haha private jet ✈️
16:27mstenta[m](autocorrect on my phone)
16:28ludwa6i hope you don’t use that phone to code farmOS :-)
16:29ludwa6Speaking of enabling read-only access to the world… I’ve asked about this recently, and you suggested setting up a gateway page with the login and password on it, which strikes me as a good idea.
16:31ludwa6And to do that in the best way, i’d like to be transparent to the user… Which would mean that the gateway page should look exactly like the login page at vdl.farmos.net. Any problem with setting up a copy of that page as gateway on my web server, from your perspective?
16:31mstenta[m]<ludwa6 "i hope you don’t use that phone "> Haha no. I tried that and it wasn't fun
16:32ludwa6i can well imagine!
16:32mstenta[m]You could probably embed it in an IFRAME on your side
16:32mstenta[m]Site*
16:33ludwa6sounds good to me. will propose it to our webmaster.
16:39mstenta[m]I think I mentioned already but: in the future I'd like to add the option to make things "public", which wouldn't require a login at all
16:42ludwa6yes -clearly preferable, for me. And i should think that would be drop-dead simple in Drupal, since that is the default config for many such sites, i believe. Is this more of a policy issue than a tech one? i.e. how to avoid the political problem (such as what plagues Facebook) of people “opening the kimono” out of ignorance, when they never really intended to?
16:51cloazhi guys, i want to leave the city and live in the country any advice
17:10mstenta[m]@ludwa6:matrix.org: yea it won't be too difficult because it's Drupal. The main thing is we need to make a unified setting to make it easy to automatically configure all the necessary permissions for unauthenticated visitors
17:10mstenta[m]And there may be more details to figure out
17:10mstenta[m]Like selectively publishing
17:10mstenta[m]But all very doable
17:10mstenta[m]Just needs some dedicated thought
17:11*ayushj_[m] has quit (*.net *.split)
17:11*munjoma[m] has quit (*.net *.split)
17:11ludwa6@mstenta: no biggie, but a nice-to-have, next time you are working in that code neighborhood
17:12*ayushj_[m] has joined
17:12*munjoma[m] has joined
17:12ludwa6is there a development RoadMap somewhere published, i wonder?
17:42mstenta[m]Not really a unified one, no. But @jgaehring:matrix.org and @paul121:matrix.org and I were talking about the need for one
18:00paul121[m]I'm curious ludwa6 what development roadmaps you have seen that might be a good example?
18:01paul121[m]I this this Vuejs github roadmap is nice: github.com/vuejs/vue/projects/6
18:01paul121[m]But probably isn't best for non-developers
18:01mstenta[m]One of the challenges with a roadmap for farmOS is often individual features are prioritized via sponsorship
18:02mstenta[m]But it would still be useful to have a broad strokes overview
18:02mstenta[m]It would help to show dependencies and order of operations too
18:03ludwa6Yes. Not to get too detailed -tho that kanban board you point to, @paul121, is nice…
18:03paul121[m]Yeah good things to keep in mind
18:04ludwa6… But when you are doing release planning, i think you need a map.
18:04mstenta[m]As it stands now, we don't have a "roadmap" but we do have a "big pool of potential next steps" ;-)
18:05paul121[m]In GH you could prepend projects/tasks with [Sponsorship] or [Core] or [etc]. Just an idea
18:05ludwa6For example: isn’t the upgrade to Drupal 8 going to be a major release for farmOS?
18:05paul121[m]Hahah yea. We gotta prioritize the pool of ideas
18:06mstenta[m]Yes yes we do have a roadmap coming together specifically for that
18:07mstenta[m]I hope to publish that this month
18:08mstenta[m]That will include some new feature development (just because some things will be easier to do during the transition) but for the most part it will just be aiming at feature parity with an automated migration
18:08paul121[m]🥳
18:08mstenta[m]A more general project roadmap will probably focus more on features
18:10ludwa6paul121: to answer earlier question; I used to participate (as a user & sponsor) in development of the Plone CMS… And, as that software was part of a stack (built on Zope and Python) , it was important to try and syncronise development RoadMaps of all 3 code bases.
18:11ludwa6I’ve been out of that world for many moons now, but it looks like they still do it that way, per plone.org/roadmap/2019-plone-roadmap
18:12mstenta[m]Talk to you all later... Headed out with the kids. Might get a Christmas tree :-)
18:12paul121[m]Good luck mstenta !
18:12ludwa6have fun, mate. try not to pick a loser (like Charlie Brown :-)
18:13paul121[m]haha
18:14paul121[m]Thats neat ludwa6 ! The 3 code bases definitely make that a bit more challenging to coordinate
18:15paul121[m]jgaehring had mentioned generating a visual "timeline" of the roadmap that is generated from Markdown
18:16paul121[m]So maybe the raw detailed roadmap is a nicely formatted Markdown, but the headers with dates could be pulled out into a timeline
18:16paul121[m]Maybe define dependencies in there
18:16paul121[m]That would be a fun project to hack on :-)
18:17ludwa6dependencies are key. otherwise: KISS, i guess; simplest thing that could possibly work.
18:18paul121[m]What's KISS?
18:18ludwa6oh, sorry; Keep It Simple and Straighforward
18:19ludwa6easy as possible for devs to maintain, in this case.
18:19paul121[m]Ahh. Cool. Yes
18:20ludwa6dunno what tools you guys use; Trello is probalby the most popbular tool for Kanban-style project management these days.
18:20ludwa6more popular in business than software probably. but here’s a SW example: martinknapic.com/types-roadmaps-within-s
18:22jgaehring[m]> oh, sorry; Keep It Simple and Straighforward
18:22jgaehring[m]oh I thought it was Keep It Simple, Stupid
18:22jgaehring[m]😛
18:23ludwa6that too :-)
18:23ludwa6Trello can be as simple or complex as you like.
18:24paul121[m]I like the Google long term roadmap that's listed there. Communicates to users pretty clearly what the plan is. For farmOS it would demonstrate to someone who lands on the website and knows nothing, that the project has a plant & path
18:24jgaehring[m]> ...generating a visual "timeline" of the roadmap that is generated from Markdown
18:24jgaehring[m]yea, that would be fun to hack on... I think part of that would be contingent on migrating farmos.org from mkdocs to Gatsby though
18:25paul121[m]Yea thats right. Another project!! haha
18:26paul121[m]I think the GH project board could work well for dev side of stuff. It's less overhead than learning and committing to Trello
18:26jgaehring[m]yea, I've been itching to start a Gatsby version of the web page... think I would make that my project if we ever did a volunteer day like we talked about
18:27jgaehring[m]> I think the GH project board could work well for dev side of stuff. It's less overhead than learning and committing to Trello
18:27jgaehring[m]+1
18:27ludwa6sure -too much overlap between Trello and Github; you’d wind up w/ redundancy problems
18:27paul121[m]> if we ever did a volunteer day like we talked about
18:27paul121[m]Yea! Wish we could be in person more often to hack :D
18:28jgaehring[m]oh yea, totally!
18:28ludwa6well: nigh on suppertime here in GMT; guess i’ll be off to the feed trough :-)
18:29*eats
18:29paul121[m]Hahah I gtg too. Talk later

< 302019-12-01⋏02 >