You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long time Dotbot user here. Thanks for your hard work on this!
My request is fairly simple. I'm in a situation where I'm jumping between a macbook and a linux machine and I'm using both dotbot-pacuar and dotbot-brew to maintain a list of my packages for both machines.
The lists contain, for the most part, the same exact packages with a few here and there differences.
Currently, there's no way to use reference anchors in the plugin yaml file so I have to write my package lists like this:
This almost works right now, but the hangup is that dotbot doesn't first flatten the lists prior to passing them to the plugins. So what the plugins end up getting is this:
Hmm, this seems like it could be useful in the cases you specified, but I think it could break functionality elsewhere.
If we flattened lists before passing to plugins, what if there is a plugin that uses some kind of nested list structure? If we flattened lists, we'd break such plugins.
Would it be better to ask those plugin authors to implement the flattening in their plugin itself?
Would it be better to ask those plugin authors to implement the flattening in their plugin itself?
Wasn't totally sure. Figured I'd start here and fan outward if it wasn't something you could add in. Definitely good points. Wasn't sure if there was a plugin spec that mandated yaml to be a maximum of one level deep. From the few plugins I peeked at, that looked like the common theme!
I'll forward the suggestion over to dotbot-pacaur and dotbot-brew tomorrow afternoon. Thanks again!
Hello,
Long time Dotbot user here. Thanks for your hard work on this!
My request is fairly simple. I'm in a situation where I'm jumping between a macbook and a linux machine and I'm using both
dotbot-pacuar
anddotbot-brew
to maintain a list of my packages for both machines.The lists contain, for the most part, the same exact packages with a few here and there differences.
Currently, there's no way to use reference anchors in the plugin yaml file so I have to write my package lists like this:
As you can see, there's a lot of unnecesary repeats between both lists.
What I'd like to do instead is this:
This almost works right now, but the hangup is that dotbot doesn't first flatten the lists prior to passing them to the plugins. So what the plugins end up getting is this:
Hope that makes sense. Thanks for considering! 😄
The text was updated successfully, but these errors were encountered: