< 132016-10-14⋎15 >

farmOS (farmos.org) is a free open source, web-based farm management system, built on Drupal.Set by mstenta on 2016-07-29 at 15:37
00:14*JustTB has quit (Quit: Leaving.)
00:23*kadaan is now known as kadaan
02:03*kadaan_ is now known as kadaan_
02:50*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:37*kadaan has joined
08:10*JustTB has joined
08:29*mstenta has quit (Ping timeout: 250 seconds)
09:04kadaan@mstenta Another one to consider a comparison against is: farmbrite.com
09:07JustTBbtw. I would like to help, but at the moment I'm pretty full with the project here .. hopefully the next two weeks are more free.
09:08JustTBwe still have farmos in mind ... and want to try that here ..
09:09JustTBto many people are coming and going at the moment
09:10svennanything .com is freaking me out.
09:10svennanything not self-hostable is freaking me out
09:24*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:38*Kadaan has joined
15:48*Kadaan has quit (Quit: Connection closed for inactivity)
16:04*kadaan has joined
16:09kadaan@svenn: No worries here about that. Just as long as I can get my data in and out in a generic way.
16:11kadaan@JustTB: If your Drupal experience is better than mine, you might be more help in the short term. I've been able to make a number of changes for the 7.x version, but the 8.x version is just not quite there enough for me to help. Maybe when @mstenta gets more time we can really get the move the 8.x focussed.
16:13*kadaan has quit (Quit: Textual IRC Client: www.textualapp.com)
17:23*mstenta has joined
19:55*kadaan has joined
20:38mstentakadaan: hi!
20:38kadaanHey
20:38farmBOThello
20:38kadaanHow's the farm hand doing?
20:39mstentahe's doing well! :-)
20:39mstentaeating now
20:39mstentaregarding COG Pro - I can't really speak to it - I haven't used that
20:39mstentai've heard it tho - and FarmBrite
20:40kadaanThey all look like drupal apps now...
20:40mstentai guess the obvious difference is that farmOS is open source, you can host locally, and modify it yourself
20:40kadaanCan't tell for sure.
20:40mstentahmm could be
20:40kadaanI really like that. As it means there is no data lock in.
20:41mstentai remember looking at one that was using the same theme (Bootstrap)
20:41mstentaso it looked a lot like farmOS :-)
20:41kadaanCOG Pro is in a lot of the farm magazines.
20:41mstentare: farmOS 7.x-1.x vs 8.x-2.x - yea i understand that it's a tough time, especially since you're jumping in with a lot of interest in helping out
20:41kadaanFor instance: Growing for Market.
20:42mstentathe way i see it - we should continue developing 7.x-1.x as long as we need to
20:42mstentaso i would love to keep you involved in those efforts if you're interested
20:42mstentasure we'll need to redo for 8.x-2.x, but that's the same for everything
20:43mstentaand i would like to have some time for 8.x-2.x - i don't want to rush it
20:43kadaanSure. I'd love to. Just want to be sure that we don't unnecessarily delay 8.x.
20:43mstentabecause it is also an opportunity to rethink some things
20:43kadaanMake sense.
20:43mstentayea definitely - it won't delay 8.x
20:43kadaanYou should peak at COG Pro as it slates itself as tracking the info needed for Organic Certification.
20:44mstentait would be great to talk through some of my ideas for 8.x with you also
20:44mstentaWHILE we continue working on 7.x
20:44mstentato help validate some of the things i've been thinking
20:44kadaanThat would be fine.
20:44kadaanI'm available most evenings or mornings.
20:44mstentayea, do you have an account on COG? love to hear your thoughts
20:44kadaanThey have a "free" trial account.
20:44mstentacool - we should find a good pattern and keep the balls rolling
20:45mstentaone thing i've been thinking about...
20:45kadaanI don't really like the way COG Pro is styled like a notebook.
20:45kadaancog-pro.com
20:45kadaanYou can just login with the guest account that is pre-populated.
20:46mstentaoh yea - i remember looking at this a while back
20:46mstentafor what it's worth, my friend Dorn is using farmOS for his organic certification records in New Hampshire
20:46mstentafor veggies anyway
20:47mstentai spent some time a while back pouring over the organic cert recordkeeping example forms that ATTRA provides
20:47kadaanHow is he getting the data back out for the reports?
20:47kadaanCool. From what I could tell most of the stuff needed is there.
20:47kadaanJust not the exports or reports.
20:48mstentahis certifying agent just wants PDFs, so he was able to "Print" the pages to PDF that they wanted
20:48mstentaalong with some screenshots i think
20:48kadaanThat is nice.
20:48mstentathe thing is... every certifying agency wants different things
20:49mstentabut if we can hit most of the common requirements, i think we'll be in good shape
20:49mstentaand over time, hopefully certifying agencies will start to recognize the farmOS formats, and allow them for recordkeeping more easily
20:49mstentaare you certified?
20:50mstentaone thing we should definitely talk about...
20:50mstentais process
20:51kadaanNope...
20:51kadaanWe are just setting up our farm
20:51mstentai was thinking about it in the car the other day... i think i'm going to write up a "farmOS Coding Standards" document that outlines generally HOW i go about developing, committing, etc - so that everyone can be on the same page and work similarly
20:52mstentathat will make it a lot easier for me to review and commit changes from others - if we're all following the same patterns
20:52kadaanThat would be great.
20:52mstentafor example, as a first step farmOS follows all the same coding standards as drupal
20:52mstentawww.drupal.org/docs/develop/standards
20:52mstentaso we could also document some standard practices on top of that
20:52kadaanI'd rather not spin my wheels by having to keep changing the PRs to meet requirements I don't know about.
20:52mstentait's all about project management :-)
20:53mstentayea definitely - i wouldn't want that either
20:53mstentaoh - so i made some good progress on the docker thing the other night... at like 3am :-)
20:53mstentaonce i get that finished, i'm going to get your changes pulled in to review them
20:53mstentasorry it's been taking a while
20:53mstentayou jumped into this at a VERY busy time in my life haha :-)
20:53kadaanYou are totally going to get it done because your kid won't let you sleep.
20:54mstentahaha
20:54mstentayea i might work on it a bit now before dinner - he's asleep
20:54kadaanNo problem. I looked at farmOS a while ago, but we weren't close to having our property then.
20:54mstentai also have a Farmier user who wants to import their local SQL database into Farmier, though, so I gotta get that done too
20:55mstentai'm just doing a manual SQL import for that one
20:55mstentaone-time thing to help them get up and running in Farmier
20:55kadaanNice. Is there any easy way to import the SQL, or will you do it manually.
20:55kadaan:)
20:55mstentai'll do this one manually
20:55kadaanI assume they were hosting locally.
20:55mstentayup
20:55mstentai definitely want to make an easy way to move from a local install to Farmier
20:55kadaanThat's nice. The upsell.
20:56mstentabut - a straight SQL import isn't really feasible, because there are security implications to that
20:56kadaanIn my world, I would export all as avro
20:56mstentaavro?
20:56kadaanIt is a rich, schematized data format, like thrift, protocol buffers, etc.
20:57kadaanjson compatible.
20:57mstentahuh never heard of it
20:57kadaanavro.apache.org/docs/current/
20:57kadaanPretty common in big data.
20:58kadaanBut I could imagine just exporting a ZIP with all the tables in it.
20:58kadaanAnd allowing the ZIP to be imported into Farmier.
21:00mstentaoh cool - under that Apache umbrella?
21:00kadaanYup
21:00mstentahow do you export from SQL to avro?
21:01mstentathere are some other difficulties with importing SQL directly into farmier...
21:01kadaanI don't know if ther are PHP bindings though.
21:01mstentaif any customizations were made locally, they might not match up with the "stock" farmOS that Farmier hosts
21:01kadaanTrue.
21:02mstentaso i think the easiest option is to just build the proper import/export features in farmOS itself
21:02kadaanI don't know of a built-in way to export avro from sql.
21:02kadaanBut json wold be fine.
21:02mstentatheoretically, we only really need a JSON importer... because you can already get JSON of all your farm entities via the restws module
21:02kadaanAnd the export could capture the relationshitpty easilty that way.
21:03kadaanIn 8.x there is the json importer, right?
21:05mstentayea exactly
21:05mstentathere might be
21:05mstentaso generally, in Drupal 7, Features is the best importer option
21:05mstentasorry... not Features
21:05mstentaFeeds
21:05mstenta(tired) :-)
21:06mstentait might be better for our purposes to just write a custom importer though
21:06mstentaspecific to farmOS entity types
21:06kadaanYeah. I had looked at feeds.
21:07kadaanI was hoping to get CSV export and import.
21:07kadaanJSON would be really good too.
21:08kadaanIt would be really nice if there was some way that modules would end up getting this stuff for "free".
21:08mstentahmm so you should be able to just do: [fqdn]/farm_asset.json
21:08mstentaand /log.json
21:08mstentato get json of all entities
21:08mstentabut it seems that isn't working... i'm getting an access denied
21:08mstentahmm i'll need to debug that
21:08mstentabrb
21:08kadaank
21:09kadaanThat would be another really useful piece of info.
21:09kadaanWhat dev tools do you use, how are you debugging, etc.
21:27mstentayea definitely
21:27mstentai use PHPStorm
21:27mstentaand XDebug
21:27mstentaand the Devel module
21:32kadaanI'll try the eap for phpstorm.
21:33kadaanIs XDebug something I have to install on the server?
21:33kadaanGuess I can figure it out here: www.jetbrains.com/help/phpstorm/2016.2/c
21:34kadaanMy teen daughter's homecoming dance has been changed to tomorrow at 3pm - 6pm... Lame...
21:34mstentayea xdebug goes on the server
21:35mstentawow - teenagers
21:35mstentai've got that to look forward to
21:35kadaanYup
21:35kadaanWe have horrible weather right now.
21:36kadaanAnd so they rescheduled from tomorrow night to tomorrow afternoon.
21:36kadaanKinda lame for a dance.
21:36kadaanI'll read this too if it is applicable: confluence.jetbrains.com/display/PhpStor
21:37mstentayea that is lame
21:37mstentayea probably helpful
21:37mstentathere are some Drupal plugins for PHPStorm, but i've actually never used them
21:37mstentawhen i started Drupal dev, I was just using a text editor
21:37mstentaso i got used to it there
21:37mstentaand then started using PHPStorm
21:40mstentatheres a really nifty thing called Coder drupal.org/project/coder
21:41mstentait used to be a module, but now it is a php codesniffer plugin
21:41mstentait basically scans through the PHP code and identifies places where coding standards need to be fixed
21:42mstentathat should go in the doc we make too
21:42mstentaso if you're interested, a really easy way to start making some contributions is in the documentation
21:42mstentafarmOS.org is all created using a thing called Mkdocs
21:42mstentait essentially transforms Markdown files into a static site
21:43mstentaand it's hosted on github pages
21:43mstentaso all you do is run "mkdocs gh-deploy" and it automatically compiles them into HTML and CSS, and pushed them to a "gh-pages" branch in the repo, which Github Pages uses to serve the site from
21:44mstentamaybe i'll start a quick coding standards doc, and you can add to it as we figure out things that should be in there
21:54*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:51*Kadaan has joined
23:04*kadaan_ has joined
23:22kadaan_I've used Mkdocs before
23:22kadaan_That sounds good.
23:22kadaan_We could setup code sniffer in phpstorm too: www.jetbrains.com/help/phpstorm/2016.2/u
23:24mstentakadaan_: yea exactly! you can use it directly in phpstorm!
23:24mstentaand it will point out each line that you need to review
23:24mstentadouble click and it brings you to it
23:24mstentaso convenient
23:25kadaan_Nice. If we get the right rules in there, that will really help.
23:25mstentawell yea... with drupal.org/project/coder, all the Drupal coding standards are there
23:25mstentaand that's all we really need
23:25mstentaoutside of that, i think the only stuff we should define are process oriented
23:26mstentafor example: the other day i said that i always defer to Features to write code for me whenever possible
23:26mstentaand avoid making manual changes to that Features-exported code unless absolutely necessary
23:26mstentathat ensures a level of standardization
23:26mstentathat's one example
23:27mstentain general i try to write as little code as possible
23:27mstentathe less custom stuff we have, the less we have to maintain
23:27mstentastick with the best practices as much as possible, so that everything is easier to read, as long as you are coming at it from the standard practices
23:28mstentaand comment everything! every line of custom code!
23:28mstentaeven if it's "obvious" what it does... i want to know WHY in a lot of cases
23:28mstentathe intention is a lot more important than the outcome
23:28mstentamaybe a lot of this is obvious, and the way you work, so pardon if it's redundant stuff
23:29mstentai think it will be important to summarize a lot of these as official rules for farmOS contributions
23:29mstentaso that everyone has a place to start, and we have something to point to
23:31kadaan_Those seem like really good guidelines.
23:32kadaan_That said, I would love to figure out how to bake features into the core of farmOS, so that module developers don't have to produce a ton of code to get exports, imports, time tracking, etc.
23:33kadaan_If we were in 8.x, allowing module developers to configure their modules with yml and allow the specification of a lot of this would be really powerful.
23:41mstentayea, Drupal 8 will be a whole new way of doing a lot of things
23:41mstentathat's also why i'd like to make sure we don't rush into it TOO quickly
23:41mstentaalthough I do want to get there asap
23:41mstentahaha
23:41mstentabut i need to learn some things myself too
23:41mstentai've only just started playing around with it
23:42mstentaand yea - i sort of see farmOS as a very thin connective tissue holding a bunch of other non-farmOS pieces together
23:42mstentathe thinner the layer that is farmOS, the better...
23:42mstentain other words, use existing contrib modules wherever possible
23:43mstentathe less we are maintaining ourselves, the better
23:43mstentathis is how the Drupal ecosystem works for the most part
23:43mstentalots of generalized modules that serve as building blocks
23:43mstentaand farmOS is just a specific stacking of those blocks
23:43mstentaplus a FEW custom blocks here and there... but that's what we should try to minimize
23:44mstentaeasier said than done, of course, but i think it's a good rule of thumb
23:45mstentaso remind me... did you say you do web development as your main job? aside from farming?
23:45mstentawhat languages/ecosystems do you normally work in? you said you're new to php, right? (or am i mixing up conversations with someone else? sorry if so...)

< 132016-10-14⋏15 >