From 4bed1bb27ad699bc7ddc707c0a2f9c4dcb94cfce Mon Sep 17 00:00:00 2001
From: Neil Guzman
Date: Wed, 11 Dec 2013 17:05:05 -0500
Subject: RPM: createrepo update help pages
Updated:
https://wiki.eclipse.org/Linux_Tools_Project/SpecfileEditor/User_Guide
As well as the help content pages of RPM Plug-in.
Change-Id: I06c52055ab788fd7fa1914c5c31a4268c7491657
Signed-off-by: Neil Guzman To configure
+
+ The Note that these settings are only visible to projects that were created with the Createrepo project or for 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.
+
+ Deltas tells
+
+
+
+
+ Configuring Createrepo Execution
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Configuring Specfile Editor Settings
+
+ Updating This Document
+
+ Configuring Createrepo Execution
+ createrepo
command execution, navigate to Window > Preferences and select the
+
+ Createrepo
+ preference node.
+
+
+
+
+
+
+
+
+
+
+ createrepo
to automatically determine it for the user (0 is default)
+
+ createrepo
with this enabled (disabled by default)
+
+
+ createrepo
to automatically import all entries for the user (0 is default)
+
+
+ repomd.xml
and for packages in the metadata (
+
+ sha256
+ is default)
+
+
+ Repository Specific Configuration
+ createrepo
command may also be configured specific to the project/repository it is being executed on. To view/enable these settings, right-click on any Createrepo project > Properties and select the
+
+ Createrpeo
+ property node.
+ .repo
files.
+
+
+
+ Deltas
+ createrepo
to generate deltarpms and the delta metadata. These settings are visible under the
+
+ Createrepo
+ >
+
+ Deltas
+ project property node.
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Configuring-Specfile-Editor-Settings.html b/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Configuring-Specfile-Editor-Settings.html
index af808a2eb5..80bccd8e3e 100644
--- a/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Configuring-Specfile-Editor-Settings.html
+++ b/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Configuring-Specfile-Editor-Settings.html
@@ -12,21 +12,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Configuring Specfile Editor Settings
+
+ Updating This Document
+
-
+
-
+
-
Import src.rpm
+ Createrepo
- Updating This Document
+ Configuring Createrepo Execution
Configuring Specfile Editor Settings
@@ -187,7 +187,7 @@
-
+
@@ -197,15 +197,15 @@
-
+
-
Import src.rpm
+ Createrepo
- Updating This Document
+ Configuring Createrepo Execution
Createrepo | +||
---|---|---|
+ + + + | ++ | + + + + | +
Import src.rpm | ++ | Configuring Specfile Editor Settings | +
As mentioned previously, the createrepo
tool is used in creating repositories from a set of RPMs. Eclipse allows use of this functionality in a visual and interactive environment.
+ The following screenshot shows the createrepo
tool in action:
+ +
+To get started, user must first create a Createrepo project via File > New > Other... and selecting + + Createrepo Wizard + under the + + Createrepo + category. You will be provided with a general project creation dialog that allows you to: 1) specify a project name; 2) specify the location in which to save the project. +
++ +
+After specifying the name (and optionally the location), the user may click
+
+ Next
+ which will bring them to the .repo
file initialization page:
+
+ +
+This page creates the .repo
file that allows the repository to be known to yum
. There are three mandatory parts that are required to be filled before moving on:
yum
repositoryOnce these fields are filled, user can now click
+
+ Finish
+ and the Createrepo project should be initialized with an empty content folder and a .repo
file with the same contents as what was filled in the wizard.
+
There are 3 pages to the Createrepo editor:
+This page manages the RPMs that the user will be creating a repository for. It allows the user to choose the RPMs they want to create a repository for and also execute the createrepo
command to create the repository.
+ +
+content
folder; in other words, it contains the RPMs that the user will be creating a repository for. The user may also drop RPMs onto this box which would serve the same purpose as the
+
+ Import RPMs
+ button
+ content
foldercreaterepo
command in the content
folder. This will take command arguments as specified by the user in the
+ preference pages. The RPM list can be empty when executing
+ createrepo
execution with the --update
command switch passed into itThis page manages the repository tags and revision number when the metadata is being generated. All new data placed into this page will be persisted on the next execution.
+Similarly to the + + Repository + page, this page also contains the + + Update + and + + Createrepo + buttons which execute the same way. +
++ +
+distro
, content
, and repo
. There can be as many tags as the user specifies, but they must be unique in respect to the tags within the category they belong toThis is a simple text editor that allows the user to modify the .repo
file's contents.
+ +
+.repo
file+ + + + | ++ + + + | ++ + + + | +
Import src.rpm | ++ | Configuring Specfile Editor Settings | +
diff --git a/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Createrepo.html b/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Createrepo.html new file mode 100644 index 0000000000..9999c22c12 --- /dev/null +++ b/rpm/org.eclipse.linuxtools.rpm.ui.editor.doc/Linux_Tools_Project/SpecfileEditor/User_Guide/Createrepo.html @@ -0,0 +1,199 @@ + + +
+ +
+ + +
+