Skip to content

Commit 87e8168

Browse files
authored
Merge pull request #2024 from dmach/update-new-project-template
Update new project template
2 parents aa7dca5 + fed15a6 commit 87e8168

1 file changed

Lines changed: 20 additions & 24 deletions

File tree

osc/core.py

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,56 +101,52 @@ def cmp(a, b):
101101
BUFSIZE = 1024 * 1024
102102

103103

104+
# openSUSE Leap repository naming was discussed and decided here:
105+
# https://lists.opensuse.org/archives/list/project@lists.opensuse.org/thread/RIUQNUEQ2SQ2UT4Q3RIJVHISUY3IAJGV/
104106
new_project_templ = """\
105107
<project name="%(name)s">
106108
107-
<title></title> <!-- Short title of NewProject -->
109+
<!-- Short title of the project. -->
110+
<title></title>
111+
112+
<!-- Longer description of the purpose of the project. -->
108113
<description></description>
109-
<!-- This is for a longer description of the purpose of the project -->
110114
111-
<!-- Uncomment and specify an URL and branch if your project is managed in git.
115+
<!-- Uncomment and specify a URL and branch if your project is managed in Git.
112116
<scmsync>url#branch</scmsync>
113117
-->
114118
115119
<person role="maintainer" userid="%(user)s" />
116120
<person role="bugowner" userid="%(user)s" />
117-
<!-- remove this block to publish your packages on the mirrors -->
121+
118122
<publish>
123+
<!-- Change to 'enable' to publish your packages on the mirrors. -->
119124
<disable />
120125
</publish>
126+
121127
<build>
122128
<enable />
123129
</build>
130+
124131
<debuginfo>
125132
<enable />
126133
</debuginfo>
127134
128-
<!-- remove this comment to enable one or more build targets
135+
<!--
136+
Uncomment to enable one or more build targets.
137+
Add corresponding i586 entries if your packages use baselibs.conf and produce -32bit packages, or if you want i586 builds.
129138
130139
<repository name="openSUSE_Factory">
131140
<path project="openSUSE:Factory" repository="snapshot" />
132141
<arch>x86_64</arch>
133-
<arch>i586</arch>
134-
</repository>
135-
<repository name="openSUSE_13.2">
136-
<path project="openSUSE:13.2" repository="standard"/>
137-
<arch>x86_64</arch>
138-
<arch>i586</arch>
139-
</repository>
140-
<repository name="openSUSE_13.1">
141-
<path project="openSUSE:13.1" repository="standard"/>
142-
<arch>x86_64</arch>
143-
<arch>i586</arch>
144142
</repository>
145-
<repository name="Fedora_21">
146-
<path project="Fedora:21" repository="standard" />
143+
<repository name="16.0">
144+
<path project="openSUSE:Leap:16.0" repository="standard"/>
147145
<arch>x86_64</arch>
148-
<arch>i586</arch>
149146
</repository>
150-
<repository name="SLE_12">
151-
<path project="SUSE:SLE-12:GA" repository="standard" />
147+
<repository name="Fedora_Rawhide">
148+
<path project="Fedora:Rawhide" repository="standard" />
152149
<arch>x86_64</arch>
153-
<arch>i586</arch>
154150
</repository>
155151
-->
156152
@@ -182,8 +178,8 @@ def cmp(a, b):
182178
or a combination thereof:
183179
184180
<disable arch="x86_64"/>
185-
<disable repository="SUSE_SLE-10"/>
186-
<disable repository="SUSE_SLE-10" arch="x86_64"/>
181+
<disable repository="Fedora_Rawhide"/>
182+
<disable repository="Fedora_Rawhide" arch="x86_64"/>
187183
188184
Possible sections where you can use the tags above:
189185
<build>

0 commit comments

Comments
 (0)