Difference between revisions of "Source Management Tools"

From eLinux.org
Jump to: navigation, search
(Add wikipedia link for 'patch')
(8 intermediate revisions by 5 users not shown)
Line 9: Line 9:
 
* diff - to create patches
 
* diff - to create patches
 
** use 'man diff' on your local system for information
 
** use 'man diff' on your local system for information
* [http://en.wikipedia.org/wiki/Patch_%28Unix%29 patch] - to apply patches
+
* [http://wikipedia.org/wiki/Patch_%28Unix%29 patch] - to apply patches
 
** use 'man patch' on your local system for information
 
** use 'man patch' on your local system for information
 
* [[Quilt]] is good for managing a group of patches relative to a single source base.
 
* [[Quilt]] is good for managing a group of patches relative to a single source base.
* diffstat reads a patch file (or standard input) and displays a histogram of the insertions, deletions, and modifications per-file. It is useful for reviewing large, complex patch files. It reads from one or more input files which contain output from diff, producing a histogram of the total lines changed for each file referenced. If the input filename ends with .bz2, .Z or .gz, diffstat will read the uncompressed data via a pipe from the corresponding program.
+
* diffstat reads a patch file (or standard input) and displays a histogram of the insertions, deletions, and modifications per-file. It is useful for reviewing large, complex patch files. It reads from one or more input files or from standard input. If an input filename ends with .bz2, .Z or .gz, diffstat will read the uncompressed data via a pipe from the corresponding program.
 
** diffstat is included in most Linux distributions
 
** diffstat is included in most Linux distributions
 
** [http://invisible-island.net/diffstat/diffstat.html diffstat home page]
 
** [http://invisible-island.net/diffstat/diffstat.html diffstat home page]
Line 19: Line 19:
 
* See also [[Diff And Patch Tricks]]
 
* See also [[Diff And Patch Tricks]]
  
== GIT ==
+
== Version Control Systems ==
GIT is the source code management tool used by many kernel developers.
+
* [[Git]]
* GIT project home page: http://git.or.cz/
+
* [[Subversion]]
 +
* [[BitKeeper]]
 +
 
 +
== Identity Verification, text validation ==
 +
 
 +
* [[PgpKey]]
 +
 
 +
[[Category:Development Tools]]

Revision as of 12:58, 8 February 2012

Here are some different source management tools commonly used with Linux:

Overview

Patch Management Tools

  • diff - to create patches
    • use 'man diff' on your local system for information
  • patch - to apply patches
    • use 'man patch' on your local system for information
  • Quilt is good for managing a group of patches relative to a single source base.
  • diffstat reads a patch file (or standard input) and displays a histogram of the insertions, deletions, and modifications per-file. It is useful for reviewing large, complex patch files. It reads from one or more input files or from standard input. If an input filename ends with .bz2, .Z or .gz, diffstat will read the uncompressed data via a pipe from the corresponding program.
  • Tim's patch management tools - diffinfo and friends - a more verbose diffstat, with splitting, joining and comparing of patches
  • See also Diff And Patch Tricks

Version Control Systems

Identity Verification, text validation