
258
|
Chapter 9, Administration and Automation
#86 Grab the Latest Source Code
HACK
HACK
#86
Grab the Latest Source Code Hack #86
Grab the source code for your favorite project, and compile or hack it.
Source code is the lifeblood behind any open source project, and its welfare
is critical in pushing the code forward and improving it. To the nonhacker,
this random collection of phrases and letters appears to be gibberish, but to
the hacker, this code makes perfect sense. To remain productive, it is essen-
tial that hackers maintain their code in a clean and useful state. Although
many hackers worry about keeping the source code usable, this is difficult
when you consider that multiple developers from around the world work-
ing on a project hack a single set of source code files. These projects rarely
have a single lead developer who decides what goes in and out of the source
code tree, so how is this development managed?
The solution to this problem is a source control system. These systems
essentially provide a metaphorical railway signal box to manage the differ-
ent needs of the different hackers. The system stores the code in a repository
on the server and allows access to only those users who have an authorized
login account. With an account, users can copy a snapshot of the code to
their computers (this is called making a working copy), hack the code, and
then submit the changes to the main server. ...