stackmuncher / stm_app

This software engineer profile builder turns your code into a detailed list of skills for an online directory of software developers.
https://stackmuncher.com
GNU Affero General Public License v3.0
22 stars 1 forks source link

Process git submodules #31

Open rimutaka opened 2 years ago

rimutaka commented 2 years ago

git submodule lists all the modules. No idea how to access them or when.

Submodules are listed in .submodules files and all the repos are centralized in one .git directory. The actual directories of the submodule projects have a .git file pointing at where the master dir is, e.g. gitdir: ../../.git/modules/some_project

rimutaka commented 2 years ago

Testing this on citi project.

rimutaka commented 2 years ago

It doesn't seem to invoke stackmuncher or maybe it invokes it in a wrong working dir. I could not even make the hook to work on Win.

rimutaka commented 2 years ago

Git needs to see shebang in the hook file on windows to execute it.

Fixed in https://github.com/stackmuncher/stm_app/commit/e2144fcc72c66c0e61218ffe5af2000f1f05e671