atomic-studio-org / Atomic-Studio

Operating system based on Fedora Atomic meant for content creators and artists
Apache License 2.0
12 stars 2 forks source link

chore: move over to Other Templating Engine (pkl ideally) #68

Closed tulilirockz closed 2 months ago

tulilirockz commented 3 months ago

Containerfiles are better for this project because it would be easier to contribute to, and having less abstrations makes it so knowing what the hell is in the image a lot easier, and we wouldnt need the jsonnet -> yaml/bluebuild -> containerfile dynamic.

fiftydinar commented 3 months ago

:(

fiftydinar commented 3 months ago

I'm interested to know how would Containerfile look at the end, to see what is the difference in implementation & structure.

I thought about doing this for Bluefin in a opposite way, which is possible imo, but Bluefin is not something I use daily, so I scratched that.

xynydev commented 3 months ago

I assume the structure would look more like ubluemain or bluefin. IMO this is refactor: though.

Also keep in mind that you can keep using BlueBuild modules for stuff like Flatpaks if you decide to refactor, I can walk you through that if that's desireable.

We're of course also interested in specific frustrations you've had with BB (even if you believe that they can't be fixed) and what you hope to gain from a refactor.

I find this project pretty interesting as a creative myself, so I have taken a good look at the source code and config, and do have some thoughts on how I'd refactor it within the system.

tulilirockz commented 3 months ago

Honestly using bluebuild has been amazing! The only thing is that there are multiple layers of abstraction and that makes it so that refactoring stuff is a tiny bit confusing Im thinking about just moving everything over to apple pkl (including the modules) so that it might have a bit less layers that we need to work with (jsonnet + yaml -> containerfile vs pkl -> yml -> containerfile)

xynydev commented 3 months ago

If you get pkl working, let me know. I've been trying a bunch of stuff here, but haven't tried pkl yet due to finding the docs kind of hard to read, not finding the info I'm looking for, etc.

tulilirockz commented 2 months ago

Pkl is pretty nice! Implemented stuff with b67f8c6. :+1:

xynydev commented 2 months ago

Isn't this "not planned", and not "completed"?

tulilirockz commented 2 months ago

Well, true! I guess this issue was just for moving to something other that raw yaml files