chirimen-oh / any-issues

CHIRIMEN Open HardwareのISSUESを検討するために用意されています。 従って、issuesの議論の目的のみで利用されます。Messaging board (Forum) to discuss several CHIRIMEN issues.
3 stars 3 forks source link

WebGPIO/WebI2C Polyfillの chirimen-ohへのforkについて #165

Open tadfmac opened 7 years ago

tadfmac commented 7 years ago

現在、CHIRIMENの各種examplesではWeb GPIO API、Web I2C APIを利用するために、Polyfill (club-wot/WebGPIO)の利用を前提としています。

現在、mozI2Cのパラメータ変更を伴う修正のため、#164 への対応のためpolyfillgecko側へ同時にPull Requestを申請中ですが、今後も同様の修正が発生する場合に、chirimen-oh側に移行した方が同期が取れて良いように思います。

(近い将来、#156 の対応を実施しようと考えていますが、同様の修正が見込まれます)

本件の是非について、ご意見を頂きたく、宜しくお願いいたします。

MSakamaki commented 7 years ago

@tadfmac 私個人としては Polyfill (club-wot/WebGPIOをchirimen-oh側に移行)の引っ越し問題ないです。 (もともと正規のPolyfillができるまでのつなぎ・・・と考えていたので)

gurezo commented 7 years ago

@gurezo 個人としても引越しをして問題なければ、良いと考えています。 今後のメンテ管理が分かり易い場所になるので。

gurezo commented 7 years ago

fork したので、close

tadfmac commented 7 years ago

AI全部終わってないのでre-open

ghost commented 7 years ago

現状ではファームウェアに同梱しているものが最新のpolyfillとの事。

どのような形で管理していくのか引き続き検討していくのだと思いますが、少なくともrepoの名前がWebGPIOというのは適切ではないと思います。

ghost commented 7 years ago

ファームウェア同梱のものが最新のpolyfillという話でしたが、examplesのforCMN2015-1_B2GOS-20170301ブランチにもpolyfillが含まれているように見えます。 https://github.com/chirimen-oh/examples/tree/forCMN2015-1_B2GOS-20170301 同じものでしょうか?

naokisekiguchi commented 7 years ago

レポジトリの名前をこのタイミングで変更すべきだと思います。WebGPIOという名前だがWebI2Cのpolyfillも入っていてややこしいため。 どんな名前がよいか候補をまず挙げてみませんか。 私は

naokisekiguchi commented 7 years ago

@naobsd examplesのforCMN2015-1_B2GOS-20170301ブランチに含まれているpolyfillは、bower コマンドの参照先とかがメンテナンスできていなかったため、暫定的な処理がされていたものという認識です。なので同じものだと思います。 (readGpioValueだけGPIOのreadに関するバグの暫定的な対処がされている。)

ghost commented 7 years ago

polyfill +1

tadfmac commented 7 years ago

polyfill +1

gurezo commented 7 years ago

polyfill +1

MSakamaki commented 7 years ago

polyfill +1 複数入ってるのでPolyfillsでも良いかもしれない。

naokisekiguchi commented 7 years ago

他に出てこないので

で決戦投票しましょうか

naokisekiguchi commented 7 years ago

polyfills +1 今後も増えるかもしれない

MSakamaki commented 7 years ago

polyfills +1 同じく今後も増えると予想してるので

gurezo commented 7 years ago

polyfills +1

naokisekiguchi commented 7 years ago

polyfills で決定します。

naokisekiguchi commented 7 years ago

レポジトリの名前を変更しました。 https://github.com/chirimen-oh/polyfills しばらくは(同じ名前のレポジトリ作られるまでは)旧URLでもリダイレクトされるらしいです。

naokisekiguchi commented 7 years ago

polyfill関係のリンク ・レポジトリへのリンク https://github.com/chirimen-oh/polyfills ・polyfillのjsファイルへのリンク https://github.com/chirimen-oh/polyfills/tree/draft-20160125/dist 以下の各ファイル ・polyfill取得コマンド(案)

mkdir dist
cd dist
curl -O  "https://raw.githubusercontent.com/chirimen-oh/polyfills/draft-20160125/dist/{webgpio,webgpio.min,webi2c,webi2c.min,worker.gpio,worker.gpio.min,worker.i2c,worker.i2c.min}.js"