I’m not even trying to co-mingle tests and src rig...
# general
f
I’m not even trying to co-mingle tests and src right now, just moving src/python/my_org to ROOT/my_org and moving tests/python/my_org_test to ROOT/my_org_test
a
i don't know if i can see any blockers to just doing that -- are you finding issues when you try? you should be able to move things like you describe and have it just work
f
one issue is that you mess up any in-flight changes. which is kind of annoying but not the end of the world
n
Have you tried to use source_roots?
f
Not sure what you mean.
src/python
used to be a source root, trying to move away from that and just have the root of the repo be the source root
@aloof-angle-91616 I definitely annoyed a few people w/ merge conflicts, lol.
a
hey sorry
moving code will do that i guess
f
it’s not that bad though, the merge fix is just like, merge up to right before the change as normal, merge the move, resolve the merge by just blindly moving/renaming.
a
it might be possible to
cp -r
the previous directory to the current one
that's more developed than what i had thought, great
are the conflicts resolved now?
f
not sure, have to catch up with the folks who had the in-flight changes
they’re temporarily stopped yelling at me though, so 👍
👍 1
a
i would love to pitch in if people start yelling again
f
we work at different companies so that might be difficult 😛
appreciate the offer though
a
just in terms of pants help!
f
ah ok
a
or git maybe too, yelling is no fun
f
“yelling” was strong, people weren’t too upset, just mildly grumbling
a
lower on the yelling axis
f
I think git does have some level of rename detection that should make this easier, but I don’t think it always works too well, and seems to really have trouble with large moves
moving it piece by piece in a few changes might have helped
a
there are some options you can configure for change/rename detection, we use them in our pre-commit hook
not sure if it would help here though