home.social

#submodules — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #submodules, aggregated by home.social.

fetched live
  1. Настолько давно не пользовался сабмодулями в Git, что вчера добавив сабмодуль на одной машине уже сегодня на другой сидел и не мог сразу понять а чего проект не собирается-то.

    А вы когда последний раз использовали submodules?

    #dev #Git #submodules #log #vote #survey

  2. Current state Intelligence Core:

    #ETLpipeline : Validated. 5,458 rows ingested in 49s.

    #submodules : scraper-base-kit & market-intelligence-connector fully integrated.

    #Data Logic: live Z-Score / IQR outlier detection for analysis.

    modular architecture self-hosted on #ArchLinux

    #BruteForceEngineering #DevAgainstTheMachine #DataScience #Python #Grit #gritlab #AnarchyInTheShell

  3. I use #Git. A feature of Git I leverage heavily is #Worktree. I usually have at least four around at a time. For small tasks, sure, a simple branch and then switch back, but bigger things: a worktree.

    Making a worktree is actually annoying for me: not just the upfront decisions about branches and start points and where to put the new directory (and also immediately `cd`ing there: but getting all the #submodules (submodules suck by the way), hooking up `.envrc` if you use #Direnv (and you should be), which should then set up your virtual environment and path and stuff. Clone isn’t quite as bad but has some of the same problems.

    I do this so often, I wrote a script. It might be useful to others with this workflow. It’s opinionated, and therefore I could really use some feedback! What did I do right? What did I do that’s only right for me? What is totally missing?

    The script is stand-alone, though you do need #UV. (You don’t even need Python! `uv` will transparently get you everything!) Just download this one Python file, and get it on your `$PATH`. If you want the additional `cd` behavior, then add the shell function, too as described in the `README`. Everything is tested. The tests are right there, too.

    github.com/wolf/dotfiles/blob/

    The `README.md` is right next to it.

    I **do** see one thing I’m missing: I need to provide a way to automatically copy in your custom stuff. I’ll add that today.

  4. @justine You should definitively look into #git #submodules.
    I did what you're doing a while back. And having a repo of repos instead of a directory of repos is a blessing.
    Need to update : `git submodule update`.
    No loop, no bash, no "involved" logic, just use what's already there instead of reinventing the wheel.
    @mms

  5. My new article on Hugo modules vs. Git submodules is LIVE! 🚀 Learn how to streamline your website management. Read now: drmo.site/fnJbML

  6. Your main #quarto website repo shouldn't be a storage unit for every plot you've ever made 📦

    #git #submodules: Give your figures their own space, keep your repo fast

    blog.thecoatlessprofessor.com/

  7. People please learn to use #git #submodules for your dependencies. This is the only way that allows you to vendor the exact commit/version into your app while also allowing you to easily update them regardless of where it is checked out. Especially for CI/CD this allows e.g. access token to just magically work. Regardless of how deeply nested they are.

    (also don't split a monolith across multiple repositories using it, submodules *only* excel for managing standalone dependencies)

  8. A new post on my blog:

    Nested repos

    I've once again been thinking about git submodules and how I might be able to use them when making games. My requirement is to have my open source game, but potentially use commercial assets inside without exposing those assets in a public git repo.

    I also took a side quest to look at Mercurial, since the "best" source control systems for game development are stupidly expensive. Mercur

    taffer.ca/nested-repos/

    #GameDev #git #submodules

  9. I wrote a blog post on why I use #git #submodules despite the fact that they're awful :)

    As I say in the article I welcome ideas on how to do this differently. My implentation isn't perfect but it does what I need for now!

    feoh.org/posts/git-submodules-

  10. CW: https://www.toucaan.com/blog/using-git-submodule-as-package-distribution-manager

    Some of you reached out to see how I was using the git submodules tooling as a package manager for my project. Well, here it is →

    toucaan.com/blog/using-git-sub

    #git #submodules

  11. #nix flakes and #submodules—a new source of pain. ffs.

  12. All my OSS tutorials on GitHub now have a central page that will get updated as soon I add more:

    tutorials.kodegeek.com/

    With a little help of git submodules, looks pretty good.

    #github #git #submodules #tutorials #python #grafana #influxdb #ansible #opensource #linux #bash

  13. Somewhere in the world @jacobsee has probably felt a disturbance in the force and is probably laughing due to numerous occasions of me having a meltdown over projects that have used #submodules.

Share on Mastodon

Enter the server where you have an account.