backend/satellite_tools backend/server
by Milan Zazrivec
backend/satellite_tools/reposync.py | 1 +
backend/server/taskomatic.py | 14 ++++++++++++++
2 files changed, 15 insertions(+)
New commits:
commit 37efecb997ef90a71269fc6594f02ff9eb6c1f6e
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Thu Dec 16 16:09:05 2010 +0100
658422 - rebuild errata cache after reposync finishes
diff --git a/backend/satellite_tools/reposync.py b/backend/satellite_tools/reposync.py
index 955c051..15ffa62 100644
--- a/backend/satellite_tools/reposync.py
+++ b/backend/satellite_tools/reposync.py
@@ -101,6 +101,7 @@ class RepoSync:
if self.regen:
taskomatic.add_to_repodata_queue_for_channel_package_subscription(
[self.channel_label], [], "server.app.yumreposync")
+ taskomatic.add_to_erratacache_queue(self.channel_label)
self.update_date()
rhnSQL.commit()
self.print_msg("Sync complete")
diff --git a/backend/server/taskomatic.py b/backend/server/taskomatic.py
index 260f526..4bcdab8 100644
--- a/backend/server/taskomatic.py
+++ b/backend/server/taskomatic.py
@@ -64,3 +64,17 @@ def add_to_repodata_queue_for_channel_package_subscription(affected_channels,
# don't want to cause an error for the db
add_to_repodata_queue(channel, caller, reason[:128])
+def add_to_erratacache_queue(channel, priority=0):
+ h = rhnSQL.prepare("""
+ insert into rhnTaskQueue
+ (org_id, task_name, task_data, priority, earliest)
+ select coalesce(c.org_id, 1),
+ 'update_errata_cache_by_channel',
+ c.id,
+ :priority,
+ sysdate
+ from rhnChannel c
+ where c.label = :label
+ """)
+ h.execute(label=channel, priority=priority)
+ rhnSQL.commit()
13 years, 5 months
Changes to 'refs/tags/spacewalk-backend-1.3.28-1'
by Michael Mraka
Tag 'spacewalk-backend-1.3.28-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2010-12-16 14:56 +0000
Tagging package [spacewalk-backend] version [1.3.28-1] in directory [backend/].
Changes since spacewalk-setup-1.3.2-1:
Michael Mraka (2):
fixed %%files for spacewalk-backend-libs
Automatic commit of package [spacewalk-backend] release [1.3.28-1].
Miroslav Suchý (1):
663304 - we do not put alias in INSERTs since commit b950aa91
---
backend/spacewalk-backend.spec | 13 +++++++++++--
rel-eng/packages/spacewalk-backend | 2 +-
web/modules/rhn/RHN/DB/ContactGroup.pm | 2 +-
3 files changed, 13 insertions(+), 4 deletions(-)
---
13 years, 5 months
backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 3d510b4fc1565dbdcb3b3e056b735eb1642b0edd
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Dec 16 15:56:09 2010 +0100
Automatic commit of package [spacewalk-backend] release [1.3.28-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index ff13a75..3396f3b 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -11,7 +11,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2 and Python
-Version: 1.3.27
+Version: 1.3.28
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -683,6 +683,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Thu Dec 16 2010 Michael Mraka <michael.mraka(a)redhat.com> 1.3.28-1
+- fixed %%files for spacewalk-backend-libs
+
* Thu Dec 16 2010 Jan Pazdziora 1.3.27-1
- Dropping satellite_tools/exporter/exporter.py from the Makefile and %files.
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 3fe81ae..e8b6c04 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.3.27-1 backend/
+1.3.28-1 backend/
13 years, 5 months
backend/spacewalk-backend.spec
by Michael Mraka
backend/spacewalk-backend.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 45e3adba9232b653537d027c83c42300e4ea385f
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Dec 16 11:51:23 2010 +0100
fixed %%files for spacewalk-backend-libs
it contained all files moved to /usr/lib/python*/site-packages/spacewalk
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 17e15ec..ff13a75 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -550,7 +550,13 @@ rm -f %{rhnconf}/rhnSecret.py*
%files libs
%defattr(-,root,root)
%doc PYTHON-LICENSES.txt LICENSE
-%{python_sitelib}/spacewalk*
+%{python_sitelib}/spacewalk/__init__.py*
+%dir %{python_sitelib}/spacewalk/common
+%{python_sitelib}/spacewalk/common/checksum.py*
+%{python_sitelib}/spacewalk/common/fileutils.py*
+%{python_sitelib}/spacewalk/common/rhn_deb.py*
+%{python_sitelib}/spacewalk/common/rhn_mpm.py*
+%{python_sitelib}/spacewalk/common/rhn_rpm.py*
%files config-files-common
%defattr(-,root,root)
13 years, 5 months
web/modules
by Miroslav Suchý
web/modules/rhn/RHN/DB/ContactGroup.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 95e3b42d011bdb0aae4be67ea7bbdf9872512cc3
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Dec 16 11:53:12 2010 +0100
663304 - we do not put alias in INSERTs since commit b950aa91
diff --git a/web/modules/rhn/RHN/DB/ContactGroup.pm b/web/modules/rhn/RHN/DB/ContactGroup.pm
index 44a8155..f7d7f52 100644
--- a/web/modules/rhn/RHN/DB/ContactGroup.pm
+++ b/web/modules/rhn/RHN/DB/ContactGroup.pm
@@ -212,7 +212,7 @@ sub commit {
else {
$query = get_table->insert_query(get_table->methods_to_columns(@modified));
# adjust the query to update last_update_date
- $query =~ s/\((.*)\) VALUES \((.*)\)/\($1, $table_alias\.last_update_date\) VALUES \($2, SYSDATE\)/;
+ $query =~ s/\((.*)\) VALUES \((.*)\)/\($1, last_update_date\) VALUES \($2, SYSDATE\)/;
}
my $sth = $dbh->prepare($query);
13 years, 6 months
Changes to 'refs/tags/spacewalk-setup-1.3.2-1'
by Jan Pazdziora
Tag 'spacewalk-setup-1.3.2-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2010-12-16 07:52 +0000
Tagging package [spacewalk-setup] version [1.3.2-1] in directory [spacewalk/setup/].
Changes since spacewalk-backend-1.3.27-1:
Jan Pazdziora (1):
Automatic commit of package [spacewalk-setup] release [1.3.2-1].
---
rel-eng/packages/spacewalk-setup | 2 +-
spacewalk/setup/spacewalk-setup.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
13 years, 6 months
rel-eng/packages spacewalk/setup
by Jan Pazdziora
rel-eng/packages/spacewalk-setup | 2 +-
spacewalk/setup/spacewalk-setup.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit d5eea7e9eaad2a0a3a4638e758d4cc5c79332025
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Dec 16 08:52:22 2010 +0100
Automatic commit of package [spacewalk-setup] release [1.3.2-1].
diff --git a/rel-eng/packages/spacewalk-setup b/rel-eng/packages/spacewalk-setup
index 59f501d..54a8201 100644
--- a/rel-eng/packages/spacewalk-setup
+++ b/rel-eng/packages/spacewalk-setup
@@ -1 +1 @@
-1.3.1-1 spacewalk/setup/
+1.3.2-1 spacewalk/setup/
diff --git a/spacewalk/setup/spacewalk-setup.spec b/spacewalk/setup/spacewalk-setup.spec
index 487eb8b..523a07c 100644
--- a/spacewalk/setup/spacewalk-setup.spec
+++ b/spacewalk/setup/spacewalk-setup.spec
@@ -1,5 +1,5 @@
Name: spacewalk-setup
-Version: 1.3.1
+Version: 1.3.2
Release: 1%{?dist}
Summary: Initial setup tools for Red Hat Spacewalk
@@ -101,6 +101,9 @@ rm -rf %{buildroot}
%attr(755, apache, root) %{_var}/spacewalk
%changelog
+* Thu Dec 16 2010 Jan Pazdziora 1.3.2-1
+- 636458 - check that the Oracle database instance is version 10 or 11.
+
* Mon Dec 13 2010 Jan Pazdziora 1.3.1-1
- 640971 - when waiting for tomcat, try to connect directly to 8009.
- We need to check the return value of GetOptions and die if the parameters
13 years, 6 months
Changes to 'refs/tags/spacewalk-backend-1.3.27-1'
by Jan Pazdziora
Tag 'spacewalk-backend-1.3.27-1' created by Jan Pazdziora <jpazdziora(a)redhat.com> at 2010-12-16 07:51 +0000
Tagging package [spacewalk-backend] version [1.3.27-1] in directory [backend/].
Changes since spacewalk-backend-1.3.26-1:
Jan Pazdziora (2):
Dropping satellite_tools/exporter/exporter.py from the Makefile and %files.
Automatic commit of package [spacewalk-backend] release [1.3.27-1].
---
backend/satellite_tools/exporter/Makefile | 2 +-
backend/spacewalk-backend.spec | 6 ++++--
rel-eng/packages/spacewalk-backend | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
---
13 years, 6 months
2 commits - backend/satellite_tools backend/spacewalk-backend.spec rel-eng/packages
by Jan Pazdziora
backend/satellite_tools/exporter/Makefile | 2 +-
backend/spacewalk-backend.spec | 6 ++++--
rel-eng/packages/spacewalk-backend | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
New commits:
commit 37bc8c5ae457a72003c13bfe016d0b1a96be8929
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Dec 16 08:51:31 2010 +0100
Automatic commit of package [spacewalk-backend] release [1.3.27-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 0a19ac8..17e15ec 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -11,7 +11,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2 and Python
-Version: 1.3.26
+Version: 1.3.27
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -677,6 +677,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Thu Dec 16 2010 Jan Pazdziora 1.3.27-1
+- Dropping satellite_tools/exporter/exporter.py from the Makefile and %files.
+
* Wed Dec 15 2010 Miroslav Suchý <msuchy(a)redhat.com> 1.3.26-1
- 624092 - update package if pushing using --force and package with same NVREA
already exist
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index ea3f9f7..3fe81ae 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.3.26-1 backend/
+1.3.27-1 backend/
commit 278fb4c1202d4a5b5e1af3a2e0e46ef82cabcbf9
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Dec 16 08:18:54 2010 +0100
Dropping satellite_tools/exporter/exporter.py from the Makefile and %files.
This amends 4d58cea34b82ef8fce9c23ef4632f033d35898b3.
diff --git a/backend/satellite_tools/exporter/Makefile b/backend/satellite_tools/exporter/Makefile
index 310eb0c..dc7ca70 100644
--- a/backend/satellite_tools/exporter/Makefile
+++ b/backend/satellite_tools/exporter/Makefile
@@ -6,6 +6,6 @@ TOP = ../..
# Specific stuff
SUBDIR = satellite_tools/exporter
-SPACEWALK_FILES = __init__ exporter exportLib xmlWriter
+SPACEWALK_FILES = __init__ exportLib xmlWriter
include $(TOP)/Makefile.defs
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 306aad6..0a19ac8 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -672,7 +672,6 @@ rm -f %{rhnconf}/rhnSecret.py*
%{pythonrhnroot}/satellite_tools/xmlSource.py*
%dir %{pythonrhnroot}/satellite_tools/exporter
%{pythonrhnroot}/satellite_tools/exporter/__init__.py*
-%{pythonrhnroot}/satellite_tools/exporter/exporter.py*
%{pythonrhnroot}/satellite_tools/exporter/exportLib.py*
%{pythonrhnroot}/satellite_tools/exporter/xmlWriter.py*
13 years, 6 months
Changes to 'refs/tags/spacewalk-backend-1.3.26-1'
by Miroslav Suchý
Tag 'spacewalk-backend-1.3.26-1' created by Miroslav Suchý <msuchy(a)redhat.com> at 2010-12-15 16:17 +0000
Tagging package [spacewalk-backend] version [1.3.26-1] in directory [backend/].
Changes since spacewalk-backend-1.3.25-1:
Miroslav Suchý (4):
make Table class more debugable
no need to lookup dictionary, when we have this information in local variable
624092 - update package if pushing using --force and package with same NVREA already exist
Automatic commit of package [spacewalk-backend] release [1.3.26-1].
---
backend/server/importlib/backend.py | 10 +++++-----
backend/server/importlib/backendLib.py | 5 +++++
backend/spacewalk-backend.spec | 8 +++++++-
rel-eng/packages/spacewalk-backend | 2 +-
4 files changed, 18 insertions(+), 7 deletions(-)
---
13 years, 6 months