Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
[opensuse-buildservice] Re: [PATCH] do not fill crap into our database by default
  • From: Pavol Rusnak <prusnak@xxxxxxx>
  • Date: Fri, 22 Jan 2010 11:34:02 +0100
  • Message-id: <4B597F1A.5020309@xxxxxxx>
On 01/22/2010 09:04 AM, OBS osc wrote:
From: Adrian Schröter <adrian@xxxxxxx>

---
osc/core.py | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)

It might make sense to run update on existing database and to remove
these default entries from there. Or is it already done? :-)


diff --git a/osc/core.py b/osc/core.py
index d9473c0..2cdf92a 100644
--- a/osc/core.py
+++ b/osc/core.py
@@ -43,12 +43,10 @@ exclude_stuff = [store, 'CVS', '*~', '#*#', '.*',
'_linkerror']
new_project_templ = """\
<project name="%(name)s">

- <title>Short title of NewProject</title>
-
- <description>This project aims at providing some foo and bar.
-
-It also does some weird stuff.
-</description>
+ <title></title> <!-- Short title of NewProject -->
+ <description>
+ <!-- This is for a longer description of the purpose of the project -->
+ </description>

<person role="maintainer" userid="%(user)s" />
<person role="bugowner" userid="%(user)s" />
@@ -108,17 +106,17 @@ It also does some weird stuff.
new_package_templ = """\
<package name="%(name)s">

- <title>Title of New Package</title>
+ <title></title> <!-- Title of package -->

<description>
-LONG DESCRIPTION
-GOES
-HERE
+<!-- for long description -->
</description>

<person role="maintainer" userid="%(user)s"/>
<person role="bugowner" userid="%(user)s"/>
+<!--
<url>PUT_UPSTREAM_URL_HERE</url>
+-->

<!--
use one of the examples below to disable building of this package


--
Best Regards / S pozdravom,

Pavol RUSNAK SUSE LINUX, s.r.o
openSUSE Boosters Team Lihovarska 1060/12
PGP 0xA6917144 19000 Praha 9, CR
prusnak[at]suse.cz http://www.suse.cz
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages