radio-aktywne / dev

development 💻
1 stars 0 forks source link

Restructured repo and added submodules #4

Closed spietras closed 3 years ago

spietras commented 3 years ago

Examples:

All services should be added as submodules so their sources are available to build them locally. The caveat is that we need to update the submodule reference after each change in the submodule repo if we want to stay up to date. We can think of it as version pinning and bumping.

So the workflow is kinda like this:

  1. Develop something locally, you can change all the code at once (although the ideal situation is that you focus on only one service at a time and keep the development independent)
  2. Commit and push everything in submodules
  3. Run git submodule update --remote --merge to update submodule references to latest commits and push the reference updates, so other people are up to date too

This should go in the README.md someday, but not now