Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0cdbe39e98cf05aa99d3f358fad301cf0f0b9c51 (plain) (blame)
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Specfile Editor User Guide - Configuring Createrepo Execution</title>
		<link type="text/css" rel="stylesheet" href="../../../book.css"/>
	</head>
	<body>
		<table class="navigation" style="width: 100%;" border="0" summary="navigation">
			<tr>
				<th style="width: 100%" align="center" colspan="3">Configuring Createrepo Execution</th>
			</tr>
			<tr>
				<td style="width: 20%" align="left">
					<a href="Configuring-Specfile-Editor-Settings.html" title="Configuring Specfile Editor Settings">
						<img alt="Previous" border="0" src="../../../images/prev.gif"/>
					</a>
				</td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right">
					<a href="Updating-This-Document.html" title="Updating This Document">
						<img alt="Next" border="0" src="../../../images/next.gif"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="width: 20%" align="left" valign="top">Configuring Specfile Editor Settings</td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right" valign="top">Updating This Document</td>
			</tr>
		</table><hr/>
		<h1 id="Configuring_Createrepo_Execution">Configuring Createrepo Execution</h1>
		<p>To configure <code>createrepo</code> command execution, navigate to <u>Window</u> &gt; <u>Preferences</u> and select the 
			<b>
				<i>Createrepo</i>
			</b> preference node.
		</p>
		<p>
			<img border="0" src="images/Createrepo_PreferencePage.png"/>
		</p>
		<dl>
			<dt>1</dt>
			<dd>Include the file's checksum in the files generated by the command (enabled by default)</dd>
		</dl>
		<dl>
			<dt>2</dt>
			<dd>Generate sqlite databases for use with yum (enabled by default)</dd>
		</dl>
		<dl>
			<dt>3</dt>
			<dd>Ignore symlinks of packages (disabled by default)</dd>
		</dl>
		<dl>
			<dt>4</dt>
			<dd>Output xml files in pretty format (disabled by default)</dd>
		</dl>
		<dl>
			<dt>5</dt>
			<dd>Number of workers to spawn to read RPMs. A value of 0 lets <code>createrepo</code> to automatically determine it for the user (0 is default)</dd>
		</dl>
		<dl>
			<dt>6</dt>
			<dd>Don't generate repo metadata, if their timestamps are newer than its RPMs. User should 
				<b>
					<i>Update</i>
				</b> first before executing <code>createrepo</code> with this enabled (disabled by default)
			</dd>
		</dl>
		<dl>
			<dt>7</dt>
			<dd>Only import the last 
				<b>
					<i>N</i>
				</b> changelog entries from each RPM into the metadata. A value of 0 lets <code>createrepo</code> to automatically import all entries for the user (0 is default)
			</dd>
		</dl>
		<dl>
			<dt>8</dt>
			<dd>Choose the checksum type used in <code>repomd.xml</code> and for packages in the metadata (
				<b>
					<i>sha256</i>
				</b> is default)
			</dd>
		</dl>
		<dl>
			<dt>9</dt>
			<dd>Specify which compression method to use (
				<b>
					<i>compat</i>
				</b> is default)
			</dd>
		</dl>
		<h2 id="Repository_Specific_Configuration">Repository Specific Configuration</h2>
		<p>The <code>createrepo</code> command may also be configured specific to the project/repository it is being executed on. To view/enable these settings, right-click on any <u>Createrepo project</u> &gt; <u>Properties</u> and select the 
			<b>
				<i>Createrpeo</i>
			</b> property node.
		</p>
		<p>Note that these settings are only visible to projects that were created with the Createrepo project or for <code>.repo</code> files.</p>
		<p>The general project properties is almost identical to the preference page, except for allowing the user to choose if they want to enable the project properties.</p>
		<p>
			<img border="0" src="images/Createrepo_PropertyPage_1.png"/>
		</p>
		<dl>
			<dt>1</dt>
			<dd>Enable the project specific settings. If enabled, the settings set here are preferred over the workspace preferences (disabled by default)</dd>
		</dl>
		<dl>
			<dt>2</dt>
			<dd>A link to modify the workspace preferences. Clicking it will pop-up a new dialog box similar to that if the user were to navigate to <u>Window</u> &gt; <u>Preferences</u> &gt; 
				<b>
					<i>Createrepo</i>
				</b> preference node.
			</dd>
		</dl>
		<h3 id="Deltas">Deltas</h3>
		<p>Deltas tells <code>createrepo</code> to generate deltarpms and the delta metadata. These settings are visible under the 
			<b>
				<i>Createrepo</i>
			</b> &gt; 
			<b>
				<i>Deltas</i>
			</b> project property node.
		</p>
		<p>
			<img border="0" src="images/Createrepo_PropertyPage_2.png"/>
		</p>
		<dl>
			<dt>1</dt>
			<dd>Generate deltarpms and the delta metadata for the repository (disabled by default)</dd>
		</dl>
		<dl>
			<dt>2</dt>
			<dd>The number of older versions to make deltas against (1 is default)</dd>
		</dl>
		<dl>
			<dt>3</dt>
			<dd>Max size of an RPM to run deltarpm against in MegaBytes (10 is default)</dd>
		</dl>
		<dl>
			<dt>4</dt>
			<dd>A list of paths to look for older packages to delta against. There can be multiple paths</dd>
		</dl><hr/>
		<table class="navigation" style="width: 100%;" border="0" summary="navigation">
			<tr>
				<td style="width: 20%" align="left">
					<a href="Configuring-Specfile-Editor-Settings.html" title="Configuring Specfile Editor Settings">
						<img alt="Previous" border="0" src="../../../images/prev.gif"/>
					</a>
				</td>
				<td style="width: 60%" align="center">
					<a href="User-Guide.html" title="Specfile Editor User Guide">
						<img alt="Specfile Editor User Guide" border="0" src="../../../images/home.gif"/>
					</a>
				</td>
				<td style="width: 20%" align="right">
					<a href="Updating-This-Document.html" title="Updating This Document">
						<img alt="Next" border="0" src="../../../images/next.gif"/>
					</a>
				</td>
			</tr>
			<tr>
				<td style="width: 20%" align="left" valign="top">Configuring Specfile Editor Settings</td>
				<td style="width: 60%" align="center"></td>
				<td style="width: 20%" align="right" valign="top">Updating This Document</td>
			</tr>
		</table>
	</body>
</html>

Back to the top