-
-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added google assistant to external ressources. #721
Added google assistant to external ressources. #721
Conversation
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Even if approved:I would wait for #700 to be finished and merge directly in the new master branch then. Wdyt @ThomDietrich and @ghys ? |
Not the master branch, but "final" (or whatever we'll call it) :) |
I thought we manage |
I wasn't sure, now I'm sure it's not necessary to be kept in master ;) |
Ok, then i would say we cherry pick it to the final branch and leave gh pages for now. :) Which means: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not too familiar with these but LGTM.
Wait for the PR in the google-assistant repo to be merged before merging this one obviously ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 As you can see, it's not that difficult :)
One question though. What about openhab_google_app.png? https://github.com/openhab/openhab-google-assistant/blob/master/USAGE.md#setup--usage-on-google-assistant-app
I think i have missed the picture. |
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
An hint on this @ThomDietrich or @kaikreuzer ? I am not a maven expert, to be honest. |
Could you update the PR with what you have? You've added something to the middle of the file and now a step at the end of the file doesn't work anymore. Sure you did not brake the xml structure by accident? |
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Vscode would have shown that. I have uploaded the corresponding commits. |
I copied it 1 on 1 from the android equivalent, but maybe i have inserted a silly mistake while trying to fix it. |
I have played around with the pom again and changed orders. I give up. Order of execution: Then there happens osmethign i cant fugure out while coming from extfolder to the final location and afterwards the readme is missing. |
I'll have a look tomorrow :) |
Any news @ThomDietrich? |
Hey, The main problem was the destination of your png copy process. It's not supposed to go into the temporary folder. Turns out the groovy script didn't like that. I've added tests to catch that problem next time. The script copies a full folder at this point and thanks to your png copy the folder is already available. Boom. Maybe we could discuss further simplifications in the process now possible thanks to the divide with the new website. I did not yet look into the details of all of this. One more thing: I don't like the structure over in https://github.com/openhab/openhab-google-assistant yet. Now that we are at it, how about we move Anyhow, the commit linked above contains all needed changes. Please feel free to adopt them and delete the branch ;) Best! |
Yeah i thought we already agreed to a general structure and to move it in the google repo also. About the scripts: Maybe those scripts are simple for one who know what he is doing already. |
Yes you are sure but the actual goal should be a better solution. Both the pom and the groovy file are ridiculous... I can replace the pom file by a few bash lines when time is right. The groovy file would benefit from the issue I've linked above. Anyhow, yes next time I'm touching the groovy script, I'll add comments. Back to the task at hand. Will you create the PR? Also do you think the image will now be picked up by the new webpage? |
There are 13 commits to compare in your branch.
@ghys do you have to adjust the ruby script for an additional image? |
Ok i have added the changes from #721 (comment) into this pr and opened up another one (#788) for the process addons change. I have also directly prepared the pom-xml for the "new" docs structure. process addons can be merged already imho. This one should wait for the corresponding PR in google assistant integration. |
Okay, but I'm not yet sure I'll have time next week.
Yes, you're right. The initial goal was to avoid breaking the current flow and the old docs site, but now nothing prevents altering the structure now that we don't have to worry about Jekyll anymore. |
No need to hurry. This PR exists since june and has stilla dependency with the google assistant repo. About the folders and prepare script: |
Closed by mistake 🤦♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really no expert in this, and don't have the environment to test it today, but have some doubts :)
@Confectrician LGTM now! Looks like we'll able to merge this at last ;) |
Not completely I would like to have:
since this is the orga the relative image urls in readme are expecting. Anyway you can merge #788 already please. |
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
|
🎉 |
Add hot rewrite for wrong image relative path. Related to openhab/openhab-docs#721. Related to openhab/openhab-docs#690. Signed-off-by: Yannick Schaus <github@schaus.net>
* Copy Google Assistant page + images from openhab-docs repo Add hot rewrite for wrong image relative path. Related to openhab/openhab-docs#721. Related to openhab/openhab-docs#690. Signed-off-by: Yannick Schaus <github@schaus.net>
"Add hot rewrite for wrong image relative path." |
Yes please - as a general rule. Or better, you can do a PR to remove the offending line yourself ;) |
Makes totally sense. |
Closes #690
Tested local and the maven build succeeded.
Assistant page was pulled and added.
Font matter is introduced in openhab/openhab-google-assistant#40
Signed-off-by: Jerome Luckenbach github@luckenba.ch