1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
<?xml version="1.0" encoding="koi8-r"?>
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
"http://www.FreeBSD.org/XML/doc/share/xml/xhtml10-freebsd.dtd" [
<!ENTITY title "������ ���������������� FreeBSD: ������� ������������">
]>
<!--
The FreeBSD Russian Documentation Project
$FreeBSDru: frdp/www/ru/docproj/submitting.xml,v 1.9 2004/09/21 07:31:05 den Exp $
Original revision: 1.14
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>&title;</title>
<cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
</head>
<body class="navinclude.docs">
<h2>� ������� ��������� ���������� ������������. ��� ��� ţ �������?</h2>
<p>��-������, �������, ��� �� ����� ����� � ������� ���.</p>
<p>�� ������ ������� ���� ������������ ��������� ��� ����������������
���������. ���� ��� ��������, ��������� ţ �� FTP ��� ���-������.</p>
<p>����� ����� ������� ��������� � ������ �������� -doc � �������
��������� ������������ � ������� �� ţ ��������������, � �����
�������� ���������� ��������.</p>
<p>���� �� �����-�� �������� �� �� ������ ��������� ������������ ��
�����-���� FTP ��� ���-������, �� ������� ţ ��������������� � ������
�������� -doc. ���� �� ����������� ��������� ������ ���, �� ����������
��������� � ������� �������� ������.</p>
<p>������ �����, �� �ݣ ����������� ������� cc: ����� ������� ��
����������� � ������ ���������� ������ ��������. ��������, ���-����,
����������� � ������������� CVSup ��� ������������� ������ ��������
�������, ����� ��������� ����������� ������� ��������
<tt>FreeBSD-current</tt> � <tt>FreeBSD-stable</tt>.</p>
<p>����� ����, ��� ���� ���������� �� ���� ������������, � �� ��������
���� �������� � �������� ����� �� �� ���������, �� ��� ������ ��������
��� ������������.</p>
<p>����� ������� ���, ������������� ţ � ���� tar-����. ���� ����
������������ ������� �� ���� ������, <tt>one</tt>, <tt>two</tt>
� <tt>three</tt>, � �� ������ �������� �� � ���� <tt>doc.tar</tt>,
�������� ���������:</p>
<pre>
% <b>tar cf doc.tar one two three</b>
</pre>
<p>����� ��������� ������ tar-�����:</p>
<pre>
% <b>gzip -9 doc.tar</b>
</pre>
<p>� ���������� ���� �������� <tt>doc.tar.gz</tt>.</p>
<p>�, �������, ������������� ���� � ���, ������� �������� ��� ��������
����� ����� ��������� ����������� �����.</p>
<pre>
% <b>uuencode doc.tar.gz doc.tar.gz > doc.uue</b>
</pre>
<p>������ ����� ����� � � ������ ������� ����������������. ����������
�������� ������� ��� �������� ������������� ��������� <b>send-pr</b>,
������� ������ ������� �� ����� ������.</p>
<p>�� ������� ��� ��� ����, ����� ���� �������� ����� ���� ���������.
����� �� ���������� PR (Problem Report - ��������� � ��������), ���
����������� ���������� �����. ���� �� ����������� ����� �����
��������� PR ����, � ���������� � ���� ����� �� ������ ���������
����� ������������ � �������.</p>
<p><b>send-pr</b> ���� �� ���� ����� ������. ���, ��� ��� ������ - ���
������� ����������� �����, ����������� ������ �������, �� ������������
�����. ����� �� ���������� <b>send-pr</b>, �� ������������ �
��������� ��������� (��������� �����, <b>vi</b> ��� <b>emacs</b>) �
������� ��� ���������� � ���������� ������������ �� ����������.</p>
<p>��������������, ��� ����� "Category" ���������� � "docs", � � �������
"Class" ���������� ������ ���� "change-request". �� ������ ��������
� ��� PR ����� ��������� ���� <tt>.uue</tt>.</p>
<p>����� �� ��������� ������ � ����������, PR ����� ������� ��
����������� ����� ����, ���� �����. ������ �� �������� ��������������
���������, ������� ���������, ����� ����� ��� �������� PR, � ����
����� ����� ���� ����������� ��� ������������ ��� ������.</p>
<h2>� ������ ��������� ��������� � ����������� � ������������ ������������,
��� ��� �� �������?</h2>
<p>�� ����� ���������� ��� �� ��, ��� �� ��������� �� ��� �����.</p>
<p>������ ����� ��� ����� ������������� ������ ����, ����������
<i>diff</i>. � ���� diff-����� ���������� ������ ���������, �������
�� ������. ��� ��������� �������, ����������� �������� ��������� �
�������, �������� ����� ���������, ��� �������� ���������� �����
����� ������� �� ����������, ��� ��������� ���� �������� (���� ��
������ ������ ���������, ������ ��� ��������� ��� ����������).</p>
<p>����� ������� 'diff', �� ������:</p>
<ol>
<li>
<p>������� ����� �����, ������� ����������� ������. ���� ��
��������� <tt>foo.xml</tt>, ���������</p>
<pre>
% <b>cp foo.xml foo.xml.old</b>
</pre>
</li>
<li><p>����� ������� ���� ��������� � foo.xml</p>
<pre>
% <b>vi foo.xml</b>
... ���� ���� ���� ...
... ��������� ���������, ���� ��������, � ���� �������� ...
</pre>
</li>
<li><p>������ diff. �������, ��� ��������:</p>
<pre>
% <b>diff -ru foo.xml.old foo.xml > foo.diff</b>
</pre>
<p>����� ����������� �������� ������� ����� ����� ������� � ������
���� ������� � ���� <tt>foo.diff</tt>.</p>
</li>
</ol>
<p>����� ����� �� ������ ������� <tt>foo.diff</tt> ������� � ����� �������.
������� PR ���, ��� ��� ���� ������� ����, ������� � ���� ������
���� <tt>foo.diff</tt>.</p>
<p></p><a href="docproj.html">������ ���������������� FreeBSD</a>
</body>
</html>
|