[master 1/1] Change the install test URL.
by dashea
From: David Shea <dshea(a)redhat.com>
Everything moved because that is what Fedora does best.
The fedora-secondary URL will probably change at some point, but it
hasn't yet.
---
tests/install/run_install_test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/install/run_install_test.sh b/tests/install/run_install_test.sh
index ed9f286..8890db2 100755
--- a/tests/install/run_install_test.sh
+++ b/tests/install/run_install_test.sh
@@ -57,7 +57,7 @@ EOF
# out here.
if [[ "$(uname -m)" == "x86_64" ]]; then
cat <<EOF >> ${tmpdir}/yum.conf
-baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/\$basearch/os/
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/\$basearch/os/
EOF
else
cat <<EOF >> ${tmpdir}/yum.conf
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/83b4d80016d6203d47cf9b9411...
8 years, 2 months
[master 3/7] Rename show_arrow and chosen_changed to show-arrow and
chosen-changed
by dashea
From: David Shea <dshea(a)redhat.com>
The various tools that consume these symbols assume that hyphens become
underscores when a property or signal name needs to become an
identifier, and having them start out as underscores throws them off.
Also add more hyphens to the chosen-changed signal documentation comment
to make gtk-doc happy.
---
widgets/src/MountpointSelector.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/widgets/src/MountpointSelector.c b/widgets/src/MountpointSelector.c
index 8540ca2..131894c 100644
--- a/widgets/src/MountpointSelector.c
+++ b/widgets/src/MountpointSelector.c
@@ -138,29 +138,29 @@ static void anaconda_mountpoint_selector_class_init(AnacondaMountpointSelectorCl
G_PARAM_READWRITE));
/**
- * AnacondaMountpointSelector:show_arrow:
+ * AnacondaMountpointSelector:show-arrow:
*
- * The #AnacondaMountpointSelector:show_arrow boolean is used when arrow on the left should
+ * The #AnacondaMountpointSelector:show-arrow boolean is used when arrow on the left should
* or shouldn't be visible.
*
* Since: 3.4
*/
g_object_class_install_property(object_class,
PROP_SHOW_ARROW,
- g_param_spec_boolean("show_arrow",
- P_("show_arrow"),
+ g_param_spec_boolean("show-arrow",
+ P_("show-arrow"),
P_("Show arrow when selected"),
DEFAULT_SHOW_ARROW,
G_PARAM_READWRITE));
/**
- * AnacondaMountpointSelector:chosen_changed:
+ * AnacondaMountpointSelector::chosen-changed:
*
- * The #AnacondaMountpointSelector:chosen_changed signals when set_chosen is called.
+ * The #AnacondaMountpointSelector:chosen-changed signals when set_chosen is called.
*
* Since: 3.4
*/
- chosen_changed_signal = g_signal_newv("chosen_changed", // name
+ chosen_changed_signal = g_signal_newv("chosen-changed", // name
G_TYPE_FROM_CLASS(object_class), // type
G_SIGNAL_RUN_LAST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS, // flags
NULL, // class closure
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/d9a85a09010cec9d2e8851ea00...
8 years, 2 months
[master 2/7] Remove an invalid transfer notation.
by dashea
From: David Shea <dshea(a)redhat.com>
guint is always pass by value, so there is no reference to transfer.
---
widgets/src/LayoutIndicator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/widgets/src/LayoutIndicator.c b/widgets/src/LayoutIndicator.c
index a42d074..3b18775 100644
--- a/widgets/src/LayoutIndicator.c
+++ b/widgets/src/LayoutIndicator.c
@@ -449,7 +449,7 @@ gchar* anaconda_layout_indicator_get_current_layout(AnacondaLayoutIndicator *ind
* anaconda_layout_indicator_get_label_width:
* @indicator: a #AnacondaLayoutIndicator
*
- * Returns: (transfer none): the current width of the layout label in number of chars
+ * Returns: the current width of the layout label in number of chars
*
* Since: 1.0
*/
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/50f1e853d56354220d1f1c5cb5...
8 years, 2 months
[master 1/7] Stop using SGML in the docs.
by dashea
From: David Shea <dshea(a)redhat.com>
We don't need to do that anymore. Switch the existing SGML to markdown.
Besides being a goal in itself, dumping SGML lets us more easily
continue to copy gtk for documentation templates.
---
widgets/doc/Makefile.am | 2 +-
widgets/src/BaseWindow.c | 15 ++++++---------
widgets/src/HubWindow.c | 15 ++++++---------
3 files changed, 13 insertions(+), 19 deletions(-)
diff --git a/widgets/doc/Makefile.am b/widgets/doc/Makefile.am
index dac52b0..99f4938 100644
--- a/widgets/doc/Makefile.am
+++ b/widgets/doc/Makefile.am
@@ -39,7 +39,7 @@ IGNORE_HFILES = config.h \
SCAN_OPTIONS=--rebuild-types
# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode
+MKDB_OPTIONS=
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties (which we are).
diff --git a/widgets/src/BaseWindow.c b/widgets/src/BaseWindow.c
index 338a808..08ec47f 100644
--- a/widgets/src/BaseWindow.c
+++ b/widgets/src/BaseWindow.c
@@ -47,15 +47,14 @@
* - An action area in the majority of the screen. This area is where
* subclasses should add their particular widgets.
*
- * <refsect2 id="AnacondaBaseWindow-BUILDER-UI"><title>AnacondaBaseWindow as GtkBuildable</title>
- * <para>
+ * # AnacondaBaseWindow as GtkBuildable
+ *
* The AnacondaBaseWindow implementation of the #GtkBuildable interface exposes
* the @nav_area as an internal child with the name "nav_area" and the
* @action_area as an internal child with the name "action_area".
- * </para>
- * <example>
- * <title>A <structname>AnacondaBaseWindow</structname> UI definition fragment.</title>
- * <programlisting><![CDATA[
+ *
+ * A AnacondaBaseWindow UI definition fragment:
+ * |[
* <object class="AnacondaBaseWindow" id="window1">
* <child internal-child="main_box">
* <object class="GtkBox" id="main_box1">
@@ -90,9 +89,7 @@
* </object>
* </child>
* </object>
- * ]]></programlisting>
- * </example>
- * </refsect2>
+ * ]|
*/
enum {
diff --git a/widgets/src/HubWindow.c b/widgets/src/HubWindow.c
index a093bce..bacbb0e 100644
--- a/widgets/src/HubWindow.c
+++ b/widgets/src/HubWindow.c
@@ -43,17 +43,16 @@
* different kinds of hubs. It may have buttons, or it may have progress
* information.
*
- * <refsect2 id="AnacondaHubWindow-BUILDER-UI"><title>AnacondaHubWindow as GtkBuildable</title>
- * <para>
+ * # AnacondaHubWindow as GtkBuildable
+ *
* The AnacondaHubWindow implementation of the #GtkBuildable interface exposes
* the @nav_area, @action_area and @scrolled_window as internal children with the names
* "nav_area", "action_area" and "scrolled_window". action_area, in this case,
* is largely there to give a box to contain both the scrolled_window and a
* #GtkButtonBox.
- * </para>
- * <example>
- * <title>A <structname>AnacondaHubWindow</structname> UI definition fragment.</title>
- * <programlisting><![CDATA[
+ *
+ * A AnacondaHubWindow UI definition fragment:
+ * |[
* <object class="AnacondaHubWindow" id="hub1">
* <child internal-child="main_box">
* <object class="GtkBox" id="main_box1">
@@ -87,9 +86,7 @@
* </object>
* </child>
* </object>
- * ]]></programlisting>
- * </example>
- * </refsect2>
+ * ]|
*/
struct _AnacondaHubWindowPrivate {
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/0c0df11e565d2547c8f669ba20...
8 years, 2 months
[rhel7-branch 1/1] Make sure pluginconf.d exists (#1271766)
by dashea
From: "Brian C. Lane" <bcl(a)redhat.com>
If the langpacks package hasn't been included the directory won't exist.
Make sure it does.
Resolves: rhbz#1271766
---
data/post-scripts/80-setfilecons.ks | 2 +-
pyanaconda/packaging/yumpayload.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/data/post-scripts/80-setfilecons.ks b/data/post-scripts/80-setfilecons.ks
index 5adae44..fe741f4 100644
--- a/data/post-scripts/80-setfilecons.ks
+++ b/data/post-scripts/80-setfilecons.ks
@@ -2,7 +2,7 @@
restorecon -ir /etc/sysconfig/network-scripts /var/lib /etc/lvm \
/dev /etc/iscsi /var/lib/iscsi /root /var/lock /var/log \
- /etc/modprobe.d /etc/sysconfig /var/cache/yum
+ /etc/modprobe.d /etc/sysconfig /var/cache/yum /etc/yum
# Also relabel the OSTree variants of the normal mounts (if they exist)
restorecon -ir /var/roothome /var/home /var/opt /var/srv /var/media /var/mnt
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index a5228ce..bdbf702 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -263,6 +263,7 @@ def _writeLangpacksConfig(self):
log.error ("Error setting langpack_locales: %s", msg)
def _copyLangpacksConfigToTarget(self):
+ iutil.mkdirChain(os.path.dirname(iutil.getSysroot()+_yum_target_langpack_conf))
shutil.copy2(_yum_installer_langpack_conf,
iutil.getSysroot()+_yum_target_langpack_conf)
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/217244fa063c3472e5af90f545...
8 years, 2 months