バージョン管理システム
[Wikipedia|▼Menu]
そのため、既定ではコピー・マージ方式であっても、特定のファイルは常にロック方式とすることのできる機能を持っているバージョン管理システムもある[9]
バージョン番号、タグ、ブランチ

バージョン管理システムを利用する場合、ファイルに対してバージョン(リビジョン)番号が付加される。RCSやCVSの場合、通常は1.1から始まり、ファイルの編集が行われる毎に最後の数値がインクリメントされる。その後は、何も指定せずにファイルをチェックアウトした場合、最新のファイルを取り出すことになるが、このバージョン番号を利用することによって、以前に編集したファイルを取り出すこともできるようになる。システムによっては、バージョン番号だけでなく、日付、時刻によってファイルをチェックアウトすることも可能になる。

タグとは、バージョン管理番号とは別に、ファイルに対して特定の名前を付与することである。特に、リポジトリ内のファイルに対して一括したタグをつける[10]ことによって、特定のリポジトリの状態を簡単に取り出すことができるようになる。ベータ版・リリース版・移植版など、プロジェクトの区切りがついた時点でタグをつけることがよく行われている。

ブランチは、リポジトリを分岐させることで、プロジェクトを分岐させ、複数の方向に開発を並行して進めることができる。大規模な開発プロジェクトで、「開発版」「安定版」とプロジェクトの方向性をわけたいときには有効である。バージョン管理システムの中には、複数の方向にわかれたブランチをまとめる機能をもつものもある。
ネットワークの利用

グループでバージョン管理システムを利用する場合、ネットワークの利用が必須となる。システムにより固有の方法があるが、大抵は、他の認証システムを利用してユーザーの認証を行ったり、通信経路を暗号化することで通信の安全性をはかることになる。通信は、sshを利用して安全性を確保するのが一般的である。

他に、匿名のシステムを用意しているものもある。インターネット上でプロジェクトを公開している場合に良く用いられ、これにより、開発途中のソースコードをプロジェクトに参加していない人たちに対しても公開している。
関連項目

バージョン

バージョン管理

バージョン管理システムの一覧

バージョニングファイルシステム

バグ管理システム

構成管理

ソフトウェア構成管理

コミッター

差分圧縮

テスト管理システム

脚注^ a b Collins-Sussman, Ben (2004). Version control with Subversion. Brian W. Fitzpatrick, C. Michael Pilato (1st ed ed.). Sebastopol, CA: O'Reilly Media. .mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation.cs-ja1 q,.mw-parser-output .citation.cs-ja2 q{quotes:"「""」""『""』"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free a,.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited a,.mw-parser-output .id-lock-registration a,.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription a,.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:#d33}.mw-parser-output .cs1-visible-error{color:#d33}.mw-parser-output .cs1-maint{display:none;color:#3a3;margin-left:0.3em}.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}ISBN 0-596-00448-6. OCLC 56018869. https://www.worldcat.org/oclc/56018869 
^ Tichy, Walter F. (1985). “Rcs ? a system for version control” (英語). Software: Practice and Experience 15 (7): 637?654. doi:10.1002/spe.4380150703. ISSN 1097-024X. https://onlinelibrary.wiley.com/doi/abs/10.1002/spe.4380150703. 
^ Loeliger, Jon (2012). Version control with Git. Matthew McCullough (2nd ed ed.). Beijing: O'Reilly. ISBN 978-1-4493-4505-1. OCLC 812195138. https://www.worldcat.org/oclc/812195138 
^ "Centralized Version Control Systems (CVCSs) were developed. These systems ... have a single server that contains all the versioned files, and a number of clients that check out files from that central place." git 2020-10-30閲覧
^ "Distributed Version Control Systems ... clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository, including its full history." git 2020-10-30閲覧
^ "you clone a repository from another computer." git 2020-10-30閲覧
^ "既存の Git リポジトリ ... のコピーを取得したい場合に使うコマンドが、git clone です。...「"checkout" じゃなくて "clone" なのか」と気になることでしょう。 これは重要な違いです。ワーキングコピーを取得するのではなく、Git はサーバーが保持しているデータをほぼすべてコピーするのです。 そのプロジェクトのすべてのファイルのすべての歴史が、デフォルトでは git clone で手元にやってきます。" git 2020-10-30閲覧
^ "Updates files in the working tree to match the version in the index or the specified tree." git 2020-10-30閲覧
^ ロック 。


次ページ
記事の検索
おまかせリスト
▼オプションを表示
ブックマーク登録
mixiチェック!
Twitterに投稿
オプション/リンク一覧
話題のニュース
列車運行情報
暇つぶしWikipedia

Size:26 KB
出典: フリー百科事典『ウィキペディア(Wikipedia)
担当:undef