SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
Developers         Developers Summit 2013 Action !
Summit




             Mercurial in Japan


                      藤原 克則
                 FUJIWARA Katsunori
                     @flyingfoozy



                      mercurial-users.jp
Developers   Developers Summit 2013 Action !
Summit




  日本におけるMercurialコミュニティの状況




                mercurial-users.jp
Developers    Developers Summit 2013 Action !
Summit




             ですが、その前に…




                 mercurial-users.jp
Developers     Developers Summit 2013 Action !
Summit




         『Mercurial』について簡単に紹介を




                  mercurial-users.jp
Developers                Developers Summit 2013 Action !
 Summit


                     Mercurialとは?
• 分散リポジトリ型の履歴管理ツール
  http://mercurial.selenic.com/

• コマンド名は “hg”
   – “Mercurial” の名前の由来である『水銀』(mercury)の元素記号

• Pythonをはじめとする各種OSSの履歴管理で採用
   – 『A list of projects using Mercurial』
      http://mercurial.selenic.com/wiki/ProjectsUsingMercurial


                              mercurial-users.jp
Developers   Developers Summit 2013 Action !
Summit




『履歴管理ツールはGit』的な風潮があるが…




                mercurial-users.jp
Developers        Developers Summit 2013 Action !
 Summit


              Mercurialは利用が簡単
• 管理モデルが簡単/安全
   – ローカルで記録した全ての履歴が、常時参照可能
        • 『ポインタの移動に伴い、履歴が見えなくなる』といったことがない

   – 基本機能の範囲では、履歴記録の追加のみ可能
        • 不慣れな利用者による履歴破壊の心配がない


• UIが簡単
   – コマンド/オプションが、体系立てて整理されている

   – メッセージ/ヘルプが、ほぼ100%日本語翻訳済み


                      mercurial-users.jp
Developers   Developers Summit 2013 Action !
Summit




 『Gitで言う~機能が無い』的な声もあるが…




                mercurial-users.jp
Developers         Developers Summit 2013 Action !
Summit


『エクステンション』による機能拡張
• 『Gitで言う~機能』の多くは、『エクステンション』とし
 て提供されている

• 基本機能から分離するメリット
  – 基本機能を絞ることで、導入障壁が下がる
       • 導入時に覚えるべき概念/機能/オプション等が少ない

  – 不慣れな利用者による、誤用を防止
       • 明示的に有効化しない限り、履歴改変系の危険な機能は無効

       • Gitを併用しているような人は、各種エクステンションを有効化してください!


                      mercurial-users.jp
Developers     Developers Summit 2013 Action !
Summit


  標準同梱の『エクステンション』
• 履歴改変系の機能拡張
  – rebase: 履歴の枝分かれ部分の移動

  – MQ: 『パッチキュー操作』と言う名の、高機能履歴改変ツール

  – histedit: リビジョンの統合/入れ替え/除外等々

  – transplant: 履歴の移植(別リポジトリからの直接移植も可能)




                  mercurial-users.jp
Developers          Developers Summit 2013 Action !
Summit


  標準同梱の『エクステンション』
• CUI利用時に便利な機能
  – color: 出力の色付け

  – progress: 進捗状況(プログレスバー)表示

  – pager: 出力のページ繰り

  – record: ハンク(hunk)単位でのコミット対象選択




                       mercurial-users.jp
Developers      Developers Summit 2013 Action !
Summit


  標準同梱の『エクステンション』
• 挙動拡張系
  – eol: 改行コードの取り扱いの管理

  – schemes: 連携先URL指定方式の拡張

  – keyword: CVS的なキーワード展開

  – largefiles: 差分を記録しない履歴管理の導入(バイナリファイル向け)




                   mercurial-users.jp
Developers   Developers Summit 2013 Action !
Summit




    『コマンドライン操作は面倒』と言う人も…




                mercurial-users.jp
Developers         Developers Summit 2013 Action !
Summit


      TortoiseHgならGUIで簡単!
• Windowsや、MacOSを含むUnix系環境で利用可能
 http://tortoisehg.bitbucket.org/




                      mercurial-users.jp
Developers                   Developers Summit 2013 Action !
Summit

 TortoiseHgを使った履歴管理の入門書が!

• 『入門TortoiseHg + Mercurial』と題して、
 秀和システムより、2月26日出版予定
   – 発売日は変更になる可能性があります

   – 全国一斉発売ではありません

   – ネット書店の在庫が安定するまでに時間がかかることがあります。

• 詳細は以下のページで!
   – http://www.lares.dti.ne.jp/~foozy/fujiguruma/scm/mercurial-books.html#thgbook




                                mercurial-users.jp
Developers               Developers Summit 2013 Action !
 Summit


       各種IDE向けプラグイン等も
• 詳細は Mercurial の Wiki ページで
   – 『Information about other tools that work with Mercurial. 』
      http://mercurial.selenic.com/wiki/OtherTools




                             mercurial-users.jp
Developers     Developers Summit 2013 Action !
Summit




         日本におけるMercurialコミュニティ




                  mercurial-users.jp
Developers             Developers Summit 2013 Action !
 Summit


                  メーリングリスト
• mercurial-ja(Google Group):
   – https://groups.google.com/forum/?fromgroups#!forum/mercurial-ja

   – リリース情報/障害情報等もアナウンスしてます




                           mercurial-users.jp
Developers      Developers Summit 2013 Action !
 Summit


                    Twitter
• @mercurialjp
  ユーザグループの公式アカウント

• #mercurialjp
  ユーザグループの公式コミュニティハッシュタグ




                    mercurial-users.jp
Developers         Developers Summit 2013 Action !
 Summit


        ユーザグループ公式サイト
• http://mercurial-users.jp/
   – イベント開催/参加情報
        • 勉強会の開催

        • 各種イベントでの出張ハンズオンなど

   – 最新版の日本語オンラインマニュアル

   – 各種情報へのリンク
        • メーリングリストへのリンクもあります




                       mercurial-users.jp
Developers               Developers Summit 2013 Action !
 Summit


    つぶやきも立派な貢献です!
• Twitter上の発言等に由来する、Mercurial本体に取
  り込まれた修正が、 2012年の一年間で10件以上
   – 『Mercurial に関するコミュニティ由来の成果(2012年版)』
      http://d.hatena.ne.jp/flying-foozy/20130109

• 疑問/要望等あれば、どんどんお寄せください




                             mercurial-users.jp
Developers          Developers Summit 2013 Action !
Summit




             履歴管理しようぜ!(できればMercurialで)




                       mercurial-users.jp
Developers     Developers Summit 2013 Action !
Summit




             ありがとうございました




                  mercurial-users.jp

Contenu connexe

En vedette

Continuous Security Testing in a Devops World #OWASPHelsinki
Continuous Security Testing in a Devops World #OWASPHelsinkiContinuous Security Testing in a Devops World #OWASPHelsinki
Continuous Security Testing in a Devops World #OWASPHelsinkiStephen de Vries
 
Cybersecurity by the numbers
Cybersecurity by the numbersCybersecurity by the numbers
Cybersecurity by the numbersAPNIC
 
Threat Modeling And Analysis
Threat Modeling And AnalysisThreat Modeling And Analysis
Threat Modeling And AnalysisLalit Kale
 
Continuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-SecurityContinuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-SecurityStephen de Vries
 
Building Risk Management into Enterprise Architecture
Building Risk Management into Enterprise ArchitectureBuilding Risk Management into Enterprise Architecture
Building Risk Management into Enterprise Architectureiasaglobal
 
Automating security tests for Continuous Integration
Automating security tests for Continuous IntegrationAutomating security tests for Continuous Integration
Automating security tests for Continuous IntegrationStephen de Vries
 
Integración contínua con Jenkins
Integración contínua con JenkinsIntegración contínua con Jenkins
Integración contínua con JenkinsCésar Hernández
 
(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014
(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014
(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014Amazon Web Services
 
OWASP WTE - Now in the Cloud!
OWASP WTE - Now in the Cloud!OWASP WTE - Now in the Cloud!
OWASP WTE - Now in the Cloud!Matt Tesauro
 
New Farming Methods in the Epistemological Wasteland of Application Security
New Farming Methods in the Epistemological Wasteland of Application SecurityNew Farming Methods in the Epistemological Wasteland of Application Security
New Farming Methods in the Epistemological Wasteland of Application SecurityJames Wickett
 
Real World Application Threat Modelling By Example
Real World Application Threat Modelling By ExampleReal World Application Threat Modelling By Example
Real World Application Threat Modelling By ExampleNCC Group
 
DevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to SecurityDevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to SecurityAlert Logic
 
Continuous Security Testing - DevSecCon
Continuous Security Testing - DevSecConContinuous Security Testing - DevSecCon
Continuous Security Testing - DevSecConStephen de Vries
 
DevOps & Security: Here & Now
DevOps & Security: Here & NowDevOps & Security: Here & Now
DevOps & Security: Here & NowCheckmarx
 
Continuous Security Testing with Devops - OWASP EU 2014
Continuous Security Testing  with Devops - OWASP EU 2014Continuous Security Testing  with Devops - OWASP EU 2014
Continuous Security Testing with Devops - OWASP EU 2014Stephen de Vries
 
Matt carroll - "Security patching system packages is fun" said no-one ever
Matt carroll - "Security patching system packages is fun" said no-one everMatt carroll - "Security patching system packages is fun" said no-one ever
Matt carroll - "Security patching system packages is fun" said no-one everDevSecCon
 
DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012
DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012
DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012Nick Galbreath
 
Nick Drage & Fraser Scott - Epic battle devops vs security
Nick Drage & Fraser Scott - Epic battle devops vs securityNick Drage & Fraser Scott - Epic battle devops vs security
Nick Drage & Fraser Scott - Epic battle devops vs securityDevSecCon
 
LasCon 2014 DevOoops
LasCon 2014 DevOoops LasCon 2014 DevOoops
LasCon 2014 DevOoops Chris Gates
 

En vedette (20)

Continuous Security Testing in a Devops World #OWASPHelsinki
Continuous Security Testing in a Devops World #OWASPHelsinkiContinuous Security Testing in a Devops World #OWASPHelsinki
Continuous Security Testing in a Devops World #OWASPHelsinki
 
Cybersecurity by the numbers
Cybersecurity by the numbersCybersecurity by the numbers
Cybersecurity by the numbers
 
Threat Modeling And Analysis
Threat Modeling And AnalysisThreat Modeling And Analysis
Threat Modeling And Analysis
 
Continuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-SecurityContinuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-Security
 
Building Risk Management into Enterprise Architecture
Building Risk Management into Enterprise ArchitectureBuilding Risk Management into Enterprise Architecture
Building Risk Management into Enterprise Architecture
 
Automating security tests for Continuous Integration
Automating security tests for Continuous IntegrationAutomating security tests for Continuous Integration
Automating security tests for Continuous Integration
 
Integración contínua con Jenkins
Integración contínua con JenkinsIntegración contínua con Jenkins
Integración contínua con Jenkins
 
(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014
(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014
(SEC405) Enterprise Cloud Security via DevSecOps | AWS re:Invent 2014
 
OWASP WTE - Now in the Cloud!
OWASP WTE - Now in the Cloud!OWASP WTE - Now in the Cloud!
OWASP WTE - Now in the Cloud!
 
New Farming Methods in the Epistemological Wasteland of Application Security
New Farming Methods in the Epistemological Wasteland of Application SecurityNew Farming Methods in the Epistemological Wasteland of Application Security
New Farming Methods in the Epistemological Wasteland of Application Security
 
Real World Application Threat Modelling By Example
Real World Application Threat Modelling By ExampleReal World Application Threat Modelling By Example
Real World Application Threat Modelling By Example
 
The Journey to DevSecOps
The Journey to DevSecOpsThe Journey to DevSecOps
The Journey to DevSecOps
 
DevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to SecurityDevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to Security
 
Continuous Security Testing - DevSecCon
Continuous Security Testing - DevSecConContinuous Security Testing - DevSecCon
Continuous Security Testing - DevSecCon
 
DevOps & Security: Here & Now
DevOps & Security: Here & NowDevOps & Security: Here & Now
DevOps & Security: Here & Now
 
Continuous Security Testing with Devops - OWASP EU 2014
Continuous Security Testing  with Devops - OWASP EU 2014Continuous Security Testing  with Devops - OWASP EU 2014
Continuous Security Testing with Devops - OWASP EU 2014
 
Matt carroll - "Security patching system packages is fun" said no-one ever
Matt carroll - "Security patching system packages is fun" said no-one everMatt carroll - "Security patching system packages is fun" said no-one ever
Matt carroll - "Security patching system packages is fun" said no-one ever
 
DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012
DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012
DevOpsSec: Appling DevOps Principles to Security, DevOpsDays Austin 2012
 
Nick Drage & Fraser Scott - Epic battle devops vs security
Nick Drage & Fraser Scott - Epic battle devops vs securityNick Drage & Fraser Scott - Epic battle devops vs security
Nick Drage & Fraser Scott - Epic battle devops vs security
 
LasCon 2014 DevOoops
LasCon 2014 DevOoops LasCon 2014 DevOoops
LasCon 2014 DevOoops
 

Dernier

新人研修のまとめ 2024/04/12の勉強会で発表されたものです。
新人研修のまとめ       2024/04/12の勉強会で発表されたものです。新人研修のまとめ       2024/04/12の勉強会で発表されたものです。
新人研修のまとめ 2024/04/12の勉強会で発表されたものです。iPride Co., Ltd.
 
20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directory20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directoryosamut
 
プレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツールプレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツールsugiuralab
 
PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000Shota Ito
 
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。iPride Co., Ltd.
 
プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価sugiuralab
 
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxAtomu Hidaka
 

Dernier (7)

新人研修のまとめ 2024/04/12の勉強会で発表されたものです。
新人研修のまとめ       2024/04/12の勉強会で発表されたものです。新人研修のまとめ       2024/04/12の勉強会で発表されたものです。
新人研修のまとめ 2024/04/12の勉強会で発表されたものです。
 
20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directory20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directory
 
プレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツールプレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツール
 
PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000
 
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
 
プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価
 
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
 

mercurial-users.jp LT at DevSumi 2013 Tokyo

  • 1. Developers Developers Summit 2013 Action ! Summit Mercurial in Japan 藤原 克則 FUJIWARA Katsunori @flyingfoozy mercurial-users.jp
  • 2. Developers Developers Summit 2013 Action ! Summit 日本におけるMercurialコミュニティの状況 mercurial-users.jp
  • 3. Developers Developers Summit 2013 Action ! Summit ですが、その前に… mercurial-users.jp
  • 4. Developers Developers Summit 2013 Action ! Summit 『Mercurial』について簡単に紹介を mercurial-users.jp
  • 5. Developers Developers Summit 2013 Action ! Summit Mercurialとは? • 分散リポジトリ型の履歴管理ツール http://mercurial.selenic.com/ • コマンド名は “hg” – “Mercurial” の名前の由来である『水銀』(mercury)の元素記号 • Pythonをはじめとする各種OSSの履歴管理で採用 – 『A list of projects using Mercurial』 http://mercurial.selenic.com/wiki/ProjectsUsingMercurial mercurial-users.jp
  • 6. Developers Developers Summit 2013 Action ! Summit 『履歴管理ツールはGit』的な風潮があるが… mercurial-users.jp
  • 7. Developers Developers Summit 2013 Action ! Summit Mercurialは利用が簡単 • 管理モデルが簡単/安全 – ローカルで記録した全ての履歴が、常時参照可能 • 『ポインタの移動に伴い、履歴が見えなくなる』といったことがない – 基本機能の範囲では、履歴記録の追加のみ可能 • 不慣れな利用者による履歴破壊の心配がない • UIが簡単 – コマンド/オプションが、体系立てて整理されている – メッセージ/ヘルプが、ほぼ100%日本語翻訳済み mercurial-users.jp
  • 8. Developers Developers Summit 2013 Action ! Summit 『Gitで言う~機能が無い』的な声もあるが… mercurial-users.jp
  • 9. Developers Developers Summit 2013 Action ! Summit 『エクステンション』による機能拡張 • 『Gitで言う~機能』の多くは、『エクステンション』とし て提供されている • 基本機能から分離するメリット – 基本機能を絞ることで、導入障壁が下がる • 導入時に覚えるべき概念/機能/オプション等が少ない – 不慣れな利用者による、誤用を防止 • 明示的に有効化しない限り、履歴改変系の危険な機能は無効 • Gitを併用しているような人は、各種エクステンションを有効化してください! mercurial-users.jp
  • 10. Developers Developers Summit 2013 Action ! Summit 標準同梱の『エクステンション』 • 履歴改変系の機能拡張 – rebase: 履歴の枝分かれ部分の移動 – MQ: 『パッチキュー操作』と言う名の、高機能履歴改変ツール – histedit: リビジョンの統合/入れ替え/除外等々 – transplant: 履歴の移植(別リポジトリからの直接移植も可能) mercurial-users.jp
  • 11. Developers Developers Summit 2013 Action ! Summit 標準同梱の『エクステンション』 • CUI利用時に便利な機能 – color: 出力の色付け – progress: 進捗状況(プログレスバー)表示 – pager: 出力のページ繰り – record: ハンク(hunk)単位でのコミット対象選択 mercurial-users.jp
  • 12. Developers Developers Summit 2013 Action ! Summit 標準同梱の『エクステンション』 • 挙動拡張系 – eol: 改行コードの取り扱いの管理 – schemes: 連携先URL指定方式の拡張 – keyword: CVS的なキーワード展開 – largefiles: 差分を記録しない履歴管理の導入(バイナリファイル向け) mercurial-users.jp
  • 13. Developers Developers Summit 2013 Action ! Summit 『コマンドライン操作は面倒』と言う人も… mercurial-users.jp
  • 14. Developers Developers Summit 2013 Action ! Summit TortoiseHgならGUIで簡単! • Windowsや、MacOSを含むUnix系環境で利用可能 http://tortoisehg.bitbucket.org/ mercurial-users.jp
  • 15. Developers Developers Summit 2013 Action ! Summit TortoiseHgを使った履歴管理の入門書が! • 『入門TortoiseHg + Mercurial』と題して、 秀和システムより、2月26日出版予定 – 発売日は変更になる可能性があります – 全国一斉発売ではありません – ネット書店の在庫が安定するまでに時間がかかることがあります。 • 詳細は以下のページで! – http://www.lares.dti.ne.jp/~foozy/fujiguruma/scm/mercurial-books.html#thgbook mercurial-users.jp
  • 16. Developers Developers Summit 2013 Action ! Summit 各種IDE向けプラグイン等も • 詳細は Mercurial の Wiki ページで – 『Information about other tools that work with Mercurial. 』 http://mercurial.selenic.com/wiki/OtherTools mercurial-users.jp
  • 17. Developers Developers Summit 2013 Action ! Summit 日本におけるMercurialコミュニティ mercurial-users.jp
  • 18. Developers Developers Summit 2013 Action ! Summit メーリングリスト • mercurial-ja(Google Group): – https://groups.google.com/forum/?fromgroups#!forum/mercurial-ja – リリース情報/障害情報等もアナウンスしてます mercurial-users.jp
  • 19. Developers Developers Summit 2013 Action ! Summit Twitter • @mercurialjp ユーザグループの公式アカウント • #mercurialjp ユーザグループの公式コミュニティハッシュタグ mercurial-users.jp
  • 20. Developers Developers Summit 2013 Action ! Summit ユーザグループ公式サイト • http://mercurial-users.jp/ – イベント開催/参加情報 • 勉強会の開催 • 各種イベントでの出張ハンズオンなど – 最新版の日本語オンラインマニュアル – 各種情報へのリンク • メーリングリストへのリンクもあります mercurial-users.jp
  • 21. Developers Developers Summit 2013 Action ! Summit つぶやきも立派な貢献です! • Twitter上の発言等に由来する、Mercurial本体に取 り込まれた修正が、 2012年の一年間で10件以上 – 『Mercurial に関するコミュニティ由来の成果(2012年版)』 http://d.hatena.ne.jp/flying-foozy/20130109 • 疑問/要望等あれば、どんどんお寄せください mercurial-users.jp
  • 22. Developers Developers Summit 2013 Action ! Summit 履歴管理しようぜ!(できればMercurialで) mercurial-users.jp
  • 23. Developers Developers Summit 2013 Action ! Summit ありがとうございました mercurial-users.jp