Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CONTRIBUTING TO SWIFT
Search
giginet
PRO
July 21, 2017
3
460
CONTRIBUTING TO SWIFT
#oi_study
giginet
PRO
July 21, 2017
Tweet
Share
More Decks by giginet
See All by giginet
Swift Packageを使った 巨大な依存グラフのキャッシュ戦略
giginet
PRO
5
3.8k
Deep Dive into Mergeable Library
giginet
PRO
1
1.4k
Go beyond the Actor Boundary ~ Swift 6へのConcurrency対応 ~
giginet
PRO
1
2.9k
新しいビルドツールScipioのご紹介
giginet
PRO
3
890
ポケモンで学ぶiOS 16弾丸ツアー 🚅
giginet
PRO
1
830
Standardizing build system using modern Swift Packages in LINE
giginet
PRO
1
460
OSS Forward Workshop
giginet
PRO
3
1.3k
Crossroad - 最高のCustom URL Schemeルーティングを支える技術2021
giginet
PRO
4
550
わいわいDocC ~ waiwai-docc ~
giginet
PRO
0
140
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
The World Runs on Bad Software
bkeepers
PRO
60
6.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.3k
Testing 201, or: Great Expectations
jmmastey
27
6.3k
Embracing the Ebb and Flow
colly
78
4.1k
Building Effective Engineering Teams - LeadDev
addyosmani
25
1.6k
What's new in Ruby 2.0
geeforr
335
31k
How to name files
jennybc
62
91k
How to Ace a Technical Interview
jacobian
272
22k
Building Applications with DynamoDB
mza
88
5.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
Transcript
CONTRIBUTING TO SWIFT @giginet
@giginet • iOS Engineer @ Cookpad • ։ൃج൫ͬͯ·͢ • झຯɿήʔϜ։ൃ
• Contributor of fasltane • &⌚ͷਓ
giginet/Toybox
giginet/xcprofile
ࠓ͢͜ͱ • SwiftʹContributionͯ͠Έ͔ͨͬͨͷͰ ͪΐͬͱࢼͯ͠Έͨ
apple/Swift
։ൃڥΛ࡞Δ
։ൃڥ • جຊతʹREADME௨ΓʹΕྑ͍ • Xcode 9betaɺPython 2.7ɺ͍͔ͭ͘ͷґଘ ύοέʔδ͕ඞཁ
$ brew install cmake ninja $ mkdir swift-source $ git
clone https://github.com/apple/ swift.git $ ./swift/utils/update-checkout —clone $ ./swift/utils/build-script -x
Ϗϧυ • ΊͬͪΌ͔͔࣌ؒΔ • Ϗϧυʹ3~4࣌ؒ
Xcode Project • -xΦϓγϣϯͰXcodeϓϩδΣΫτ͕ੜ͞Ε Δ • build/swift-macosx-x86_64/swift-macosx- x86_64/Swift.xcworkspace
None
ςετΛ࣮ߦ͢Δ • docs/Testing.md $ ./Swift/utils/build-script --test
None
swift-source • update-checkoutsʹΑͬͯෳͷϦϙδτϦ ͕clone͞ΕΔ
swift-source • Swift • swift-corelibs-foundation • swift-corelibs-libdispatch • swift-corelibs-xctest •
swift-xcode-playground-support • swift-integration-tests
swift-source • Swift • swift-corelibs-foundation • swift-corelibs-libdispatch • swift-corelibs-xctest •
swift-xcode-playground-support • swift-integration-tests
$ mkdir swift-foundation $ cd swift-foundation $ git clone
[email protected]
:apple/
swift-corelibs-foundation.git $ git clone
[email protected]
:apple/ swift-corelibs-xctest.git $ open swift-corelibs-foundation/ Foundation.xcworkspace
swift-corelibs-foundation • https://swift.org ͔Β࠷৽ͷtoolchainΛऔಘ • Xcode > Preferences > ComponentsͰઃఆ
swift-corelibs-foundation
ωλΛ୳͢
• 1. issueτϥοΧʔΛݟΔ • 2. FIXME୳͢ • 3. warning௵͢ ωλͷ୳͠ํ
Issue TrackerΛݟΔ
https://bugs.swift.org/
issueͷݟ͚ͭํ • FoundationXCTestSwiftͰॻ͔Ε͍ͯΔͷ ͰखΛ͚͍͢ • ίϯύΠϥLLVMݫ͍͠ • ʮContributing to Open
Source SwiftʯݟΔ
https://news.realm.io/jp/news/tryswift-jesse- squires-contributing-open-source-swift/
None
FIXMEΛ͢
None
$ git grep 'FIXME' | wc -l > 3367
WARNINGΛ௵͢
None
PRΛૹΔ
PRΛૹΔ • CONTRIBUTING GUIDEಡΉ • https://swift.org/contributing • ଞͷPRݟΔ
None
None
CI • PR͝ͱʹউखʹճΒͳ͍ • ϨϏϡΞʔ͕ඞཁʹԠͯ͡ճͯ͘͠ΕΔ • 1PRʹ30͙Β͍͔͔Δ
None
None
·ͱΊ • ڥ࡞ͬͯwarning௵͚ͩ͢ͳΒ୭ͰͰ͖Δ • FIXME͢ͱ͜Ζଟͦ͏ʢઓதʣ • Ϗϧυ͕ͱʹ͔ͯ͘͘ٳ͕௵ΕΔ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠