Skip to content
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

OSS Gate Workshop: online: 2023-12-09: niikz: rurema: Work log #1746

Closed
niikz opened this issue Dec 9, 2023 · 60 comments
Closed

OSS Gate Workshop: online: 2023-12-09: niikz: rurema: Work log #1746

niikz opened this issue Dec 9, 2023 · 60 comments
Labels
work log ワークショップ作業メモ

Comments

@niikz
Copy link
Contributor

niikz commented Dec 9, 2023

This is a work log of a "OSS Gate workshop".
"OSS Gate workshop" is an activity to increase OSS developers.
Here's been discussed in Japanese. Thanks.

作業ログ作成時の説明

以下のテンプレートを埋めてタイトルに設定します。埋め方例はスクロールすると見えてきます。

OSS Gate Workshop: ${LOCATION}: ${YEAR}-${MONTH}-${DAY}: ${ACCOUNT_NAME}: ${OSS_NAME}: Work log

タイトル例↓:

OSS Gate Workshop: Tokyo: 2017-01-16: kou: Rabbit: Work log

OSS Gateワークショップ関連情報

  • スライド:ワークショップの進行に使っているスライドがあります。
  • チャット:OSS開発に関することならなんでも相談できます。ワークショップが終わった後もオンラインで相談しながら継続的にOSSの開発に参加しましょう!
  • シナリオ:ワークショップの目的・内容・進め方の詳細が書いています。
  • 過去のビギナーの作業ログ:他の人の作業ログから学べることがいろいろあるはずです。
@niikz niikz added the work log ワークショップ作業メモ label Dec 9, 2023
@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

るりまのリンク切れを修正したい

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

りんく切れを確認しました

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

OSSか確認する

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

ライセンスがぱっと見わからなかったので以下を確認する

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

ライセンスのページ

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

ライセンスを確認しました

Creative Commons — Attribution 3.0 Unported

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

GitHub上のdoctreeのリポジトリで確認できるとうれしい

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

OSSか確認する

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Creative Commons — Attribution 3.0 Unported で検索するとヒットしない

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Creative Commons で検索してもヒットしなかった

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

bitclust のライセンスを確認しました

License
-------

  Ruby License.

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Creative Commons なのでオープンソースの文書に該当すると思われる
あとで確認!

@otegami
Copy link
Contributor

otegami commented Dec 9, 2023

A Creative Commons (CC) license is one of several public copyright licenses that enable the free distribution of an otherwise copyrighted "work".

https://en.wikipedia.org/wiki/Creative_Commons_license

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Ruby License を検索してみる

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

オープンソースと判断してもよさそう

Rubyライセンス(Ruby’s License[3]、License of Ruby[2][注釈 1])とは、プログラミング言語Rubyがその頒布物に適用するソフトウェアライセンスであり、オープンソースライセンスの一つである。その他関連するプロジェクトをはじめ、採用されているケースもある。

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

どっちの対応をするか

  1. 手元でリンクを修正する
  2. 間違っていることをお知らせする

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

  1. 手元でリンクを修正する にチャレンジしてみます

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

コントリビュートの方法を確認する

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

プロジェクトに参加する必要がありそう

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

参加資格は、日本語が話せたらたぶんOK

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

ruby-reference-manual メーリングリストに参加する必要がありそう

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

メーリングリストは消滅したそうです

QuickML の仕様により、長期間が投稿がなかったため消滅しました。

メーリングリストに参加しなくてもいいかも

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Issueを登録してみよう

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Issueを登録する際は、最新版で修正済かどうか確認する

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

doctreeのリポジトリ上でGemPathSearcherを検索

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

📝 ふりかえりメモ

ドキュメントのコード自体はMITのことが多いのでたぶん大丈夫と思われます!

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

最終更新日が11年前なので現在のファイルが最新であってそう

Commits on Sep 29, 2012

@otegami
Copy link
Contributor

otegami commented Dec 9, 2023

実際にリンク切れを Issue で報告している人がいそう

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

できそうだったら動画ものせてあげると親切

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

#1746 (comment) の文章を修正しました。
動画はサイズが大きかったのでスクリーンショットの画像を添付しています。


概要

Gem::GemPathSearcherクラスのページにリンク切れがありました。
https://docs.ruby-lang.org/ja/latest/class/Gem=3a=3aGemPathSearcher.html

期待される振る舞い

スクリーンショット

screenshot-2023-12-09

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Issueを登録しました

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

まずはForkする

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Forkできました

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

Tutorialにそってcloneする

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

@otegami
Copy link
Contributor

otegami commented Dec 9, 2023

下記に全体をプレビューできる方法がありそうです。
https://github.com/rurema/doctree/wiki/Tutorial

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

修正できました!

@niikz
Copy link
Contributor Author

niikz commented Dec 9, 2023

バージョンはなにを指定したらいいのだろう🤔

データベースのディレクトリ名は、ここではdb-2.5.0/としましたが、好きな名前を付けて構いません。
2.3.0や2.4.0など、Rubyの他のバージョンのリファレンスをプレビューしたい場合は、versionを変えて上記の手順を繰り返して下さい。

@niikz niikz changed the title OSS Gate Workshop: online: 2023-12-09: niikz: ${OSS_NAME}: Work log OSS Gate Workshop: online: 2023-12-09: niikz: rurema: Work log Dec 9, 2023
@otegami
Copy link
Contributor

otegami commented Dec 9, 2023

データベースのディレクトリ名は、ここではdb-2.5.0/としましたが、好きな名前を付けて構いません。

ここから見るに本当になんでも大丈夫そうな気がします🙌
あえて決めるならば現状だと、db-3.2 にしてあげると良さそうかなと思いました。

  • Ruby 3.2 のリファレンスなため

Copy link

github-actions bot commented Dec 9, 2023

おつかれさまでした!

ワークショップの終了にともないissueを閉じますが、このまま作業メモとして使っても構いません 👌

ワークショップの感想を集めています!

ブログなどに書かれた際は、このページへリンクの追加をお願いします 🙏

またの参加をお待ちしています!

@github-actions github-actions bot closed this as completed Dec 9, 2023
@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

3.2.0 を指定してみる

$ bitclust -d ./db-3.2.0 init version=3.2.0 encoding=UTF-8
$ bitclust -d ./db-3.2.0 update --stdlibtree=refm/api/src
$ bitclust server --database=db-3.2.0 --debug

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

もしかしたら動作していないかも…

$ bitclust server --database=db-2.5.0 --debug ※状況確認中。動作しません。

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

全体プレビューではなくて、htmlファイルとして出力してみる

$ bitclust htmlfile ./refm/api/src/_builtin/Array --target=Array#pop --ruby=2.5.0 > /tmp/Array_pop.html

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

Gem::GemPathSearcher#find_all を出力する
バージョンは3.2.0を指定

$ bitclust htmlfile ./refm/api/src/rubygems/gem_path_searcher.rd --target=Gem::GemPathSearcher#find_all --ruby=3.2.0 > /tmp/GemPathSearcher_find_all.html

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

[SEE_ALSO]をEnumerable#filter へ変更できました
screenshot-2023-12-10-11

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

Gem::GemPathSearcher#find を出力する
バージョンは3.2.0を指定

$ bitclust htmlfile ./refm/api/src/rubygems/gem_path_searcher.rd --target=Gem::GemPathSearcher#find --ruby=3.2.0 > /tmp/GemPathSearcher_find.html

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

[SEE_ALSO]をEnumerable#detect へ変更できました
screenshot-2023-12-10-12

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

変更を確認できたのでPRをつくってみます
※リンク先は未確認

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

ブランチを作成

$ git switch -c fix-gempathsearcher-link

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

commitする

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

PRの文章を作成する


https://docs.ruby-lang.org/ja/latest/class/Gem=3a=3aGemPathSearcher.html#I_FIND
https://docs.ruby-lang.org/ja/latest/class/Gem=3a=3aGemPathSearcher.html#I_FIND_ALL

[SEE_ALSO]のリンクが切れていたため修正しました。

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

pushする

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

Compare & pull request でPRを作成する

@niikz
Copy link
Contributor Author

niikz commented Dec 10, 2023

PR送りました!!!

@otegami
Copy link
Contributor

otegami commented Dec 11, 2023

お疲れ様です! 👏
rurema/doctree#2853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work log ワークショップ作業メモ
Projects
None yet
Development

No branches or pull requests

2 participants