Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PR出したけど放置されてるのでライブラリ化した話.pdf
Search
ochim
September 28, 2019
Programming
900
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PR出したけど放置されてるのでライブラリ化した話.pdf
ochim
September 28, 2019
More Decks by ochim
See All by ochim
The Battle Of Apple App Reviews
ochim
0
270
あるOSSにPR出したけど放置されてる話
ochim
0
210
swift-love-vol38-vision
ochim
1
640
Visionとモザイクで 遊んでみた
ochim
1
210
Other Decks in Programming
See All in Programming
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
0
140
GraphQL の onError と Nullability のこれから
quramy
0
200
JIS keyboard support in Omarchy
lef237
0
180
Spec-driven Development with AI
simas
PRO
0
2.2k
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
400
Event is what happens
moro
2
3k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
500
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
230
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
180
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
AI-Powered Domain-Driven Design
ziobrando
0
380
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
Skip the Path - Find Your Career Trail
mkilby
1
280
Deep Space Network (abreviated)
tonyrice
0
400
Mobile First: as difficult as doing things right
swwweet
225
10k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
How to train your dragon (web standard)
notwaldorf
96
6.9k
The Limits of Empathy - UXLibs8
cassininazir
2
760
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
550
Ruling the World: When Life Gets Gamed
codingconduct
0
430
Visualization
eitanlees
153
17k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Transcript
あるAndroidライブラリにPR 出したけど放置されてるので ライブラリ化した話 越智 宗洋 shibuya.apk #37 2019/09/27
自己紹介 • 越智 宗洋 • Twitter: @ochi_tw • オフィスは勝どき • Android/iOSエンジニア
目次 • 経緯 • PR出した • ライブラリ公開 • まとめ
経緯 担当していたニュースアプリでこんな話が出た... 上部のタブをループさせたいんだけど、できる?
検索したら https://teratail.com/questions/35856
nshmura/RecyclerTabLayout 最新コミット2年前じゃん... Support Library使ってる。AndroidX対応してない... 使えないなぁ... でも他にいい情報ないなぁ... https://github.com/nshmura/RecyclerTabLayout
複数の API バージョンをサポートするアプリを開発するときは、以前のバージョンの Android に新しい機能を提 供したり、同等の機能にスムーズに戻したりする標準的な方法が必要な場合があります。以前のバージョンの プラットフォームを処理するコードを構築する代わりに、これらのライブラリを利用してその互換性レイヤを提供 できます。さらに、Support Library には標準のフレームワーク
API では利用できない便利なクラスや機能が追 加され、より多くのデバイスにまたがる開発やサポートが容易になっています。 元々はアプリ向けの単一バイナリ ライブラリであった Android Support Library が、アプリ開発用のライブラリ スイートに進化しました。現在、これらのライブラリの多くは、必須ではありませんがアプリ開発の一部として強く 推奨されています。 補足.Support Library https://developer.android.com/topic/libraries/support-library?hl=JA
https://developer.android.com/jetpack/androidx?hl=JA 補足.AndroidX AndroidX は Android チームが Jetpack 内でのライブラリの開発、テスト、パッケージ、バージョン管理、リリースに使用している オープンソース プロジェクトです。
AndroidX は元の Android Support Library を大幅に改良しています。Support Library と同様に、AndroidX も Android OS とは別 個にリリースされ、Android のリリース全体にわたって下位互換性を提供します。AndroidX は、同等の機能と新しいライブラリを提 供することで、完全に Support Library の代わりとなります。さらに AndroidX には以下のような特徴があります。 ・AndroidX のパッケージはすべて、文字列 androidx で始まる一貫した名前空間に属します。Support Library のパッケージは対応 する androidx.* パッケージにマッピングされました。以前のクラスとビルド アーティファクトから新しいものへのマッピングの一覧は、 パッケージのリファクタリングに関するページをご覧ください。 ・Support Library とは異なり、AndroidX のパッケージは個別に管理され、更新されます。androidx のパッケージはバージョン 1.0.0 から始まる厳格なセマンティック バージョニングを使用します。デベロッパーのプロジェクト内の AndroidX ライブラリを独立して更新 できます。 ・Support Library の新規の開発はすべて AndroidX ライブラリ内で行われます。これには元の Support Library のアーティファクト のメンテナンスや、新しい Jetpack コンポーネントの導入が含まれます。
じゃあ自分でやるか! Forkして自分のリポジトリを作った。 Migrate to AndroidX した。 問題なさそう。 PR出すか!! https://github.com/ochim/RecyclerTabLayout
PR出した https://github.com/nshmura/RecyclerTabLayout/pull/50
放置される 全然反応ない もともと放置リポジトリだしなぁ...
じゃあライブラリ化しちゃおう! • Forkしたリポジトリをライブラリ化 • bintray-releaseプラグインを使ってライブラリ公開 https://qiita.com/gupuru/items/aa81f007d306fc6c4a2c
詰まった • ライブラリをBintrayにアップロー ドしようとしたらエラーになった。 エラーメッセージ 「message:Repo 'maven' was not found」
• 手動でmavenという名前で Repositoryを作成したら解決し た。 https://github.com/bintray/gradle-bintray-plugin/issues/143
Bintrayにアップロードした • 後はjCenterに登録するだけ
ライブラリ公開した https://github.com/ochim/RecyclerTabLayout
None
• 使いたいライブラリがあったが、AndroidX対応をしていなかった。 • ForkしたリポジトリでMigrate to AndroidXした。 • PRを出したが、全く反応が無かった。 • Forkしたリポジトリでライブラリ公開した。
まとめ
• Forkしたリポジトリでのcommitはcontributionsにカウントされません。 この活動で 草は生えてません。 残念 https://help.github.com/en/articles/why-are-my-contributions-not-showing-up-on-my-profile
ありがとうございました