Commit 966a3888 authored by onny's avatar onny
Browse files

starting postgres db backend

parent e4cb77de
......@@ -4,5 +4,12 @@
"http://mirror.23media.de/archlinux/community/os/x86_64/community.db",
"http://mirror.23media.de/archlinux/core/os/x86_64/core.db",
"http://mirror.23media.de/archlinux/extra/os/x86_64/extra.db"
]
],
"repositories": [ "community", "core", "extra", "aur" ],
"postgres":
{
"user" : "archupstream",
"password" : "archupstream",
"database" : "archupstream"
}
}
......@@ -53,8 +53,8 @@ class AUR:
else:
package['status'] = "Unknown"
package['repository'] = "AUR"
#if "-git" not in package['name']:
self.aur_packages.append(package)
if "-git" not in package['name']:
self.aur_packages.append(package)
self.start += 250
bar.update(self.page)
......
......@@ -61,7 +61,7 @@
<td><a target=new href=https://www.archlinux.org/packages/?name={{ package['name'] }}>{{ package['name'] }}</a></td>
{% endif %}
<td>{{ package['version'] }}</td>
<td>{{ package['upstreamversion'] }}</td>
<td><a target=new href=https://release-monitoring.org/projects/search/?pattern={{ package['name'] }}>{{ package['upstreamversion'] }}</a></td>
<td>Unknown</td>
</tr>
{% endfor %}
......
......@@ -60,8 +60,8 @@
{% else %}
<td><a target=new href=https://www.archlinux.org/packages/?name={{ package['name'] }}>{{ package['name'] }}</a></td>
{% endif %}
<td><span class="red">{{ package['version'] }}</span></td>
<td>{{ package['upstreamversion'] }}</td>
<td>{{ package['version'] }}</td>
<td><a target=new href=https://release-monitoring.org/projects/search/?pattern={{ package['name'] }}>{{ package['upstreamversion'] }}</a></td>
{% if package['status'] == "Unknown" %}
<td><span class="red">{{ package['status'] }}</span></td>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment