-
Notifications
You must be signed in to change notification settings - Fork 693
install-deps.sh has hardcoded project path in conflict with instructions in HACKING.md #211
Comments
Remove the assumed /home/pi/AIY-projects-python project path. This is easily done because of the previous cd call change the CWD to the project path. This changed is needed because of conflicting instructions in HACKING.md This resolves google#211
There are two active branches of this GitHub repo right now, aiyprojects and voicekit. One uses a hardcoded path If you're using the aiyprojects branch, the version of HACKING.md you want to use is this one which has already been updated with the correct path: https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/HACKING.md As long as the files that you're using are all from the same branch, there shouldn't be any path conflicts. |
@t1m0thyj I just added a commit that would work in either branch. You are correct though, I didn't realize that there were different branches at play here. I got twisted because HACKING.md in the voicekit branch clones this project and ignores branches. Therefore, it gets aiyprojects by default. I guess that is the bigger issue. So, how should we proceed? I see that the creation of that
And for that matter, should we also honor "Explicit is better than implicit" and change HACKING.md in the aiyprojects branch also?
|
Also, I have thus far ignored not knowing why |
@RichardBronosky Good thinking, I totally agree. IMO changing it for both branches also makes sense.
I'm not sure, my guess is that the libraries for the AIY vision kit require that, since AFAIK the aiyprojects branch was created to be used with both the AIY voice and vision kits. |
This is interesting -- I don't see anything in the documentation that talks about why one would use one branch over the other. I have the AIY (Voice) Kit, and have followed the HACKING.md doc that is part of the aiyprojects branch -- this is because Should I have been using the
I want to be sure I'm using the proper branch so that issues I comment on or open are based on the properly recommended branch. |
@ScriptAutomate I'm glad it's not just me that is struggling with this. Is there a location/community for discussion? It doesn't feel like github issues are the place to have conversations. (not complaining, accusing you of hijacking, etc. just observing) There is https://www.reddit.com/r/aiyprojects but that is hardly official. I see there is nothing on https://gitter.im |
@RichardBronosky There is an AIY Projects subforum on the Raspberry Pi forum, which is the closest to an official community for discussion that I'm aware of. |
@t1m0thyj Thanks for your guidance on using a the systemd service (that you got re-added to the repo) to start google Assistant on boot. In trying to implement that, I noticed another branch-induced path mismatch (the root of this issue I created) in I think I need to either change my branch, or change the path I'm checked out to. Would you mind giving me your opinion on which branch we should be using? https://www.reddit.com/r/aiyprojects/comments/7mhqld/which_branch_should_we_be_using/ |
@RichardBronosky This post indicates that the aiyprojects branch is the long term strategy #215 |
@sheridat That is extremely helpful. I'll clone/checkout the aiyprojects branch to the instructed location (one of the nice things about the instruction discrepancy) start working off of that. I hope they get this straightened out soon. |
I hope they get this straightened out soon. I don't know if my observations are consistent with the greater community, but I am seeing a lot of very young Makers building these things. That might just be because I am very active in my local Maker Space which is very much committed to community outreach and a family oriented environment (no alcohol, #grumble). I expect the stepper drivers or relay boards I get off of aliexpress to be hard to use and have terrible or zero documentation. I expect to have to suffer for my art. But, when I see that beautiful glossy instruction book in the MagPi kit and I see Middle School children assembling them, I cringe to think of them getting discouraged and deciding STEM is not for them. In my case, my gift to my 9 & 10 year old daughters was a pair of RPi3s, Voice Hat kits, replacement arcade buttons in their favorite colors, stepper motors and drivers, NeoPixel Rings (to go around the arcade buttons). And of course, access to my entire stockpile of spare components. |
@RichardBronosky and others, thanks for the feedback and sorry about the confusion! I've made #232 to improve the README. Let us know if you encounter any more problems (especially with the instructions on the website - like you, we want to make sure these are easy for newbies to follow). |
Both |
Compare:
https://github.com/google/aiyprojects-raspbian/blame/voicekit/HACKING.md#L16
To:
https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/scripts/install-deps.sh#L35-L36
HACKING.md says to clone into
~/voice-recognizer-raspi
, but install-deps.sh has a hardcoded path of~/AIY-projects-python
Wouldn't it make more sense to construct that path based on the
scripts_dir
variable defined on line 18?The text was updated successfully, but these errors were encountered: