karlicoss / HPI

Human Programming Interface 🧑👽🤖
https://beepb00p.xyz/hpi.html
MIT License
1.46k stars 60 forks source link

switch HPI to src/ layout #316

Open karlicoss opened 11 months ago

karlicoss commented 11 months ago

I'm thinking that would be nice to switch to src/ layout for consistency (and generally it tends to have less gotchas). Should be smooth, the only concern is that it will break existing editable installations (since egg link would be pointing to /path/to/hpi_repo rather than /path/to/hpi_repo/src), unless the user reinstalls it. I think that should be solvable just by putting a symlink from my to src/my though, and could add a warning suggesting the user to reinstall. Not sure if there are any other issues? cc @seanbreckenridge

seanbreckenridge commented 11 months ago

Yeah seems fine

One would need to git pull to update an editable install anyways, so they'd probably notice that

Will probably swap the HPI-template and my repo as well just for the consistency