[20:28:16] | * farmBOT has joined #farmos |
[14:06:41] | <MarcosCarballal[> | Hey all! Hope your day is going well |
[14:06:41] | <MarcosCarballal[> | SFI has identified some issues with how we are version controlling the PODS project. We are keeping our version control separate from FarmOS's version control, but the current solution is making our approach to CI/CD messy and it is unclear how we will achieve it. |
[14:06:41] | <MarcosCarballal[> | Are there other projects that have been built on top of FarmOS that have a CI/CD pipeline? |
[14:06:41] | <MarcosCarballal[> | If we could schedule a meeting for tomorrow afternoon or Friday morning with a few SFI guys ((Peter) Drupal Lead, Laurence, Fei , and Sam (DevOps)) that would be fruitful to our development efforts. |
[14:07:14] | <MarcosCarballal[> | s/If we could schedule a meeting for tomorrow afternoon or Friday morning with a few SFI guys ((Peter) Drupal Lead, Laurence, Fei , and Sam (DevOps)) that would be fruitful to our development efforts./If we could schedule a meeting for tomorrow afternoon or Friday morning with a few SFI guys (Peter (Drupal Lead), Laurence, Fei , and Sam (DevOps)) that would be fruitful to our development efforts./ |
[14:53:19] | <mstenta[m]> | Hey Marcos Carballal: I'm on a call right now... Will check back in shortly... |
[14:53:53] | <MarcosCarballal[> | No problem 🙂 |
[15:03:24] | <mstenta[m]> | Hey back :-) |
[15:03:38] | <mstenta[m]> | > Are there other projects that have been built on top of FarmOS that have a CI/CD pipeline? |
[15:03:38] | <mstenta[m]> | It might be worth researching this for "Drupal" more generally... |
[15:03:43] | <mstenta[m]> | I know there are a lot of ways to slice it... |
[15:03:55] | <mstenta[m]> | But in general it's good to think of farmOS as a dependency of YOUR project |
[15:07:16] | <mstenta[m]> | > We are keeping our version control separate from FarmOS's version control |
[15:07:16] | <mstenta[m]> | So this actually does make some sense... |
[15:07:24] | <mstenta[m]> | But happy to talk it through! |
[15:07:29] | <mstenta[m]> | And share whatever experience/perspective I can |
[15:08:09] | <MarcosCarballal[> | In this example (https://github.com/mstenta/farm_nfa), is it structured such that FarmOS is a dependency of the project?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/64a35b3fa5...) |
[15:08:39] | <MarcosCarballal[> | * In this example (https://github.com/mstenta/farm_nfa), is it structured such that FarmOS is a dependency of the project?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/c1a2e6e0d7...) |
[15:08:57] | <mstenta[m]> | Yes, in that example farmOS is a dependency, included in the project's root `composer.json` here: https://github.com/mstenta/farm_nfa/blob/9c272b0091b487a4a233b678b86542e... |
[15:09:05] | <mstenta[m]> | And you can see there that it depends on farmOS 2.0.0-alpha5, specifically |
[15:09:44] | <mstenta[m]> | Those `merge-plugin.includes` lines ARE necessary to include in your project's `composer.json`, but you do not need to version control them yourself |
[15:10:11] | <mstenta[m]> | That might be worth explaining on a call - just to walk through what they are and why |
[15:10:21] | <mstenta[m]> | But that's the simple answer :-) |
[15:12:04] | <MarcosCarballal[> | There seems to be a `farmos/farmos` composer.jsonwhich depends on a `farmos/project` composer.json in our working version (Generated by Docker) |
[15:12:04] | <MarcosCarballal[> | In the above linked repo, it depends on `farmos/farmos`. |
[15:12:04] | <MarcosCarballal[> | Is it right to think of `farmos/farmos` as a wrapper of the `farmos/project`? |
[15:12:04] | <MarcosCarballal[> | I also noticed that `farmos/farmos` is of type `drupal-profile`. Does that mean we need to install it differently than other dependencies? |
[15:12:27] | <MarcosCarballal[> | I think I may be over-complicating it, I am trying to read the composer.json at face value to understand how the project is structured |
[15:12:54] | <mstenta[m]> | > Is it right to think of `farmos/farmos` as a wrapper of the `farmos/project`? |
[15:12:54] | <mstenta[m]> | Actually the opposite! |
[15:13:02] | <mstenta[m]> | Think of `farmos/project` as a "template project" |
[15:13:22] | <mstenta[m]> | You can use it as a base to start your own project from, basically |
[15:14:00] | <mstenta[m]> | https://packagist.org/packages/farmos/project |
[15:14:01] | <MarcosCarballal[> | Gotcha, if we could do a quick call that would probably be faster than typing. |
[15:14:12] | <mstenta[m]> | Sure! Do you want to right now? Or tomorrow/Friday? |
[15:14:50] | <MarcosCarballal[> | Well if I can steal 10 minutes of your time to try and explain where we are and then, if needed, we will schedule something to pull other people in on a different day |
[15:14:56] | <mstenta[m]> | Sure! |
[15:15:03] | <MarcosCarballal[> | I'll make a Google Meet |
[15:15:28] | <MarcosCarballal[> | https://meet.google.com/eit-mach-vvf |
[15:54:32] | <mstenta[m]> | Marcos Carballal: FYI here is the resource I mentioned on the call... and specifically the "configuration management" series - might be useful! |
[15:54:33] | <mstenta[m]> | https://drupalize.me/series/configuration-management |