From: Devrim Gündüz
Date: Wed, 1 Jul 2020 08:39:09 +0000 (+0100)
Subject: pgzypp: Initial commit
X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=fbfa330448d3a709e60552f32a175011378a8950;p=pgzypp-website.git
pgzypp: Initial commit
---
fbfa330448d3a709e60552f32a175011378a8950
diff --git a/static/css/pgyum.css b/static/css/pgyum.css
new file mode 100644
index 0000000..b7fd845
--- /dev/null
+++ b/static/css/pgyum.css
@@ -0,0 +1,193 @@
+/** CUSTOM FONTS */
+@import url('https://fonts.googleapis.com/css?family=Open+Sans');
+@import url('https://fonts.googleapis.com/css?family=Maven+Pro');
+
+body {
+ padding-top: 4rem;
+
+ font-family: 'Open Sans', sans-serif;
+ font-weight: 400;
+ color: #515151;
+ font-size: 11.5pt;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: 'Maven Pro', sans-serif;
+ font-weight: 700;
+ text-transform: uppercase;
+ color: #515151;
+ margin-top: 0.5em;
+}
+
+a {
+ color: #336791;
+ font-weight: 600;
+ text-decoration: none;
+ -moz-transition: color .2s ease-in-out;
+ -webkit-transition: color .2s ease-in-out;
+ -ms-transition: color .2s ease-in-out;
+ transition: color .2s ease-in-out;
+}
+
+.navbar {
+ box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
+}
+
+.navbar img.logo {
+ height: 2rem;
+ margin-left: 0;
+ margin-bottom: 0;
+}
+
+#footer {
+ text-align: center;
+ padding: 5em 0 2em 0;
+ display: block;
+}
+
+#sidenav {
+ padding: 1em;
+}
+
+#sidenav h2 {
+ font-size: 2em;
+ display: flex;
+ flex-direction: row;
+}
+
+#sidenav h2:after {
+ background-color: #e7eae8;
+ content: '\a0';
+ flex-grow: 1;
+ height: 2px;
+ position: relative;
+ margin: .5em 0 .5em .75em;
+}
+
+div.contentwrap h2 {
+ font-size: 2em;
+ display: flex;
+ flex-direction: row;
+}
+div.contentwrap h2:after {
+ background-color: #e7eae8;
+ content: '\a0';
+ flex-grow: 1;
+ height: 2px;
+ position: relative;
+ margin: .5em 0 .5em .75em;
+}
+
+
+/* Elections */
+div.electionResultRow {
+ padding: 2px 2px 2px 2px;
+}
+div.electionHeaderRow {
+ font-weight: bold;
+ padding: 2px 2px 2px 2px;
+}
+div.electionResultCol1 {
+ display: inline-block;
+ width: 150px;
+}
+div.electionResultCol2 {
+ display: inline-block;
+ width: 50px;
+ text-align: right;
+}
+div.electionResultCol3 {
+ display: inline-block;
+ background-color: #0091c1;
+}
+div.electionResultCol3Hdr {
+ display: inline-block;
+ width: 300px;
+}
+div.electionSeparator {
+ display: inline-block;
+ background-color: red;
+ height: 2px;
+ width: 510px;
+}
+tr.electionError {
+ background-color: #ffb6b6;
+}
+
+div#eventCarousel div.carousel-inner div.carousel-item img {
+ border-radius: 15px;
+}
+div.eventCarouselCaption {
+ top: 20px;
+ color: red;
+}
+div.eventCarouselCaption div.info {
+ background: rgba(255,255,255,0.8);
+ border-radius: 15px;
+ padding: 0.5rem;
+}
+div.eventCarouselBadge {
+ background: rgba(0,0,255,0.4);
+ display: block;
+ right: 30%;
+ left: 30%;
+ padding: 2px 2px 2px 2px;
+ border-radius: 5px;
+}
+div.eventCarouselRegBadge {
+ bottom: 7rem;
+}
+div.eventCarouselCfpBadge {
+ bottom: 5rem;
+}
+div.eventCarouselCfsBadge {
+ bottom: 3rem;
+}
+
+.eventCarouselBadge a {
+ text-decoration: none;
+ color: white;
+}
+
+h2 a, h3 a {
+ text-decoration: none;
+ color: #515151;
+}
+
+span.nobr {
+ white-space:nowrap;
+}
+
+small {
+ font-size: 0.85em;
+}
+
+div.newscontent h1,
+div.newscontent h2,
+div.newscontent h3,
+div.newscontent h4,
+div.newscontent h5,
+div.newscontent h6
+{
+ font-size: small;
+}
+
+dl.eventlist {
+ padding-left: 1em;
+}
+dl.eventlist dd {
+ padding-left: 1em;
+ margin-bottom: 1em;
+}
+
+.pgyum-bold {
+ font-weight: bolder;
+}
+
+.pgyum-warning {
+ color: red;
+}
+
+.pgyum-available {
+ color: green;
+}
\ No newline at end of file
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..a1cc036
Binary files /dev/null and b/static/favicon.ico differ
diff --git a/static/img/elephant.png b/static/img/elephant.png
new file mode 100644
index 0000000..d765318
Binary files /dev/null and b/static/img/elephant.png differ
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..172132f
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {%block title%}{%endblock%} - PostgreSQL Zypper Repository
+{%block extrahead%}{%endblock%}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% block maincontent %}{% endblock %}
+
+
+
+
+
+ {% block relatedinfo %}
+
Quick Links
+
+ {% endblock %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{%block jquery%}
+
+{%endblock%}
+
+{%block pagescript%}
+{%endblock%}
+
+
diff --git a/templates/pages/about/privacypolicy.html b/templates/pages/about/privacypolicy.html
new file mode 100644
index 0000000..8c242dd
--- /dev/null
+++ b/templates/pages/about/privacypolicy.html
@@ -0,0 +1,52 @@
+{%extends "base.html" %}
+{%block title%}Privacy Policy{%endblock%}
+{%block maincontent%}
+
+Privacy policy
+
+
+ When you visit our website, our servers automatically log your IP address
+ and/or host name.
+
+
+
+ We store information such as your email address, name and locality only if
+ you decide to send us such information by completing a survey, or
+ registering as a user on one of our sites. We collect this information to
+ help us improve the content of our sites, customize the layout of our web
+ pages and to contact people for technical and support purposes. We will
+ not share your email address with other organizations unless required by law.
+
+
+
+ We may collect demographic and interest category information from people via
+ surveys, volunteered information, suggestions from members, and other means.
+ Our members may voluntarily provide information, including that regarding
+ personal, interests, geography, and demographics. The purpose of this data
+ collection is to ensure we continue to understand the needs and wants of the
+ PostgreSQL community, and therefore can provide the most relevant
+ information, guides, and content.
+
+
+
+ This website uses Google Analytics, a web analytics service provided by
+ Google,
+ Inc. ("Google"). Google Analytics uses "cookies", which are text files
+ placed on your computer, to help the website analyze how users use the site.
+ The information generated by the cookie about your use of the website
+ (including your IP address) will be transmitted to and stored by Google on
+ servers in the United States. Google will use this information for the
+ purpose of evaluating your use of the website, compiling reports on website
+ activity for website operators and providing other services relating to
+ website activity and internet usage. Google may also transfer this
+ information to third parties where required to do so by law, or where such
+ third parties process the information on Google's behalf. Google will not
+ associate your IP address with any other data held by Google. You may refuse
+ the use of cookies by selecting the appropriate settings on your browser,
+ however please note that if you do this you may not be able to use the full
+ functionality of this website. By using this website, you consent to the
+ processing of data about you by Google in the manner and for the purposes
+ set out above.
+
+
+{%endblock%}
diff --git a/templates/pages/about/website.html b/templates/pages/about/website.html
new file mode 100644
index 0000000..105a5bb
--- /dev/null
+++ b/templates/pages/about/website.html
@@ -0,0 +1,13 @@
+{%extends "base.html" %}
+{%block title%}Website{%endblock%}
+{%block maincontent%}
+
+About the website
+
+
+The full sourcecode for this website is available in
+our
+GIT repository under the PostgreSQL licence.
+
+
+{%endblock%}
diff --git a/templates/pages/contact.html b/templates/pages/contact.html
new file mode 100644
index 0000000..34e5785
--- /dev/null
+++ b/templates/pages/contact.html
@@ -0,0 +1,19 @@
+{%extends "base.html" %}
+{%block title%}Contact{%endblock%}
+{%block maincontent%}
+
+Contact
+For any problems/questions/wishlist, please e-mail pgsql-pkg-yum ~~at~~
+ postgresql dot org
+
+Alternatively (and preferably), please create a ticket in
+ our issue tracker.
+
+Team
+
+
+
+{%endblock%}
diff --git a/templates/pages/howtozypp.html b/templates/pages/howtozypp.html
new file mode 100644
index 0000000..201a34e
--- /dev/null
+++ b/templates/pages/howtozypp.html
@@ -0,0 +1,137 @@
+{%extends "base.html" %}
+{%block title%}Howto{%endblock%}
+{%block maincontent%}
+
+PostgreSQL - SLES Repo Configuration
+ Available SuSE repository configuration files
+
+
+ You can use the zypper package manager to install PostgreSQL and/or other components on an SLES 12 / SLES 15 host.
+ zypper will attempt to satisfy package dependencies as it installs a package, but some components require access to specific repositories that are not hosted at postgresql.org.
+ To add PostgreSQL and/or other components, use the following commands to add PostgreSQL community repository configuration files to your SLES host:
+
+
+
+
+
+ PostgreSQL 13 (v13 PACKAGES ARE FOR BETA TESTING ONLY! USE v12 PACKAGES FOR PRODUCTION) .
+
+ SLES 12: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-13.repo
+ SLES 15: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg13.repo
+
+
+
+
+ PostgreSQL 12
+
+ SLES 12: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-12.repo
+ SLES 15: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-15-pg12.repo
+
+
+
+
+
+ PostgreSQL 11
+
+ SLES 12: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-11.repo
+
+
+
+
+
+
+
+ PostgreSQL 10
+
+ SLES 12: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-10.repo
+
+
+
+
+
+
+
+ PostgreSQL 9.6
+
+ SLES 12: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-96.repo
+
+
+
+
+
+ PostgreSQL 9.5
+
+ SLES 12: zypper addrepo https://download.postgresql.org/pub/repos/zypp/repo/pgdg-sles-95.repo
+
+
+
+
+
+After creating the repository configuration files, use the zypper refresh command to refresh the metadata on your SLES host to include the PostgreSQL SUSE repositories:
+
+
+
+
+
+
+ Before installing PostgreSQL and/or other supporting components, you must also add SUSEConnect and the SUSE Package Hub extension to the SLES host,
+ and register the host with SUSE, allowing access to SUSE repositories. Use the commands:
+
+
+
+ zypper install SUSEConnect
+ SUSEConnect -p PackageHub/12/x86_64
+ SUSEConnect -p sle-sdk/12/x86_64
+
+
+
+ For detailed information about registering a SUSE host, visit: https://www.suse.com/support/kb/doc/?id=7016626
+
+
+
+ Installing PostgreSQL on SLES host
+
+
+ After adding the repo, use the following command to install PostgreSQL to the SLES host:
+
+
+
+
+
+
+ PostgreSQL 12
+
+
zypper install postgresql12-server
+
+
+
+
+
+ PostgreSQL 11
+
zypper install postgresql11-server
+
+
+
+
+ PostgreSQL 10
+
zypper install postgresql10-server
+
+
+
+
+ PostgreSQL 9.6
+
zypper install postgresql96-server
+
+
+
+
+
+ PostgreSQL 9.5
+
zypper install postgresql95-server
+
+
+
+ Please take a look at the PostgreSQL SuSE package list to see what other packages are available in the repository.
+
+
+{%endblock%}
diff --git a/templates/pages/index.html b/templates/pages/index.html
new file mode 100644
index 0000000..bac2526
--- /dev/null
+++ b/templates/pages/index.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+{% block title %}Welcome{% endblock %}
+
+{% block maincontent %}
+PostgreSQL Zypper Repository
+You will find details on PostgreSQL and related RPMs for SuSE Enterprise Linux.
+
+
+About The PostgreSQL ZYPP Repository
+We provide users PostgreSQL and related RPMs for SuSE Enterprise Linux. Please see"ZYPP Howto " for help.
+
+
+ You can pick up any combination below:
+
+Available PostgreSQL Releases
+
+ 13 (v13 PACKAGES ARE FOR BETA TESTING ONLY! USE v12 PACKAGES FOR PRODUCTION) .
+ 12
+ 11
+ 10
+ 9.6
+ 9.5
+
+
+Platform Support
+
+ SUSE Enterprise Linux 15 SP 1
+ SUSE Enterprise Linux 12 SP 5
+ SUSE Enterprise Linux 12 SP 4
+
+
+{% endblock %}
+
diff --git a/templates/pages/news/postgresql-rpms-for-sles-12-released.html b/templates/pages/news/postgresql-rpms-for-sles-12-released.html
new file mode 100644
index 0000000..4b01611
--- /dev/null
+++ b/templates/pages/news/postgresql-rpms-for-sles-12-released.html
@@ -0,0 +1,14 @@
+{%extends "base.html" %}
+{%block title%}PostgreSQL 9.6+ RPMs for SLES 12 are now available.{%endblock%}
+{%block maincontent%}
+
+ PostgreSQL RPMs for SLES 12 SP4 and SP5 are available.
+
+ Please install repository by following the instructions here first:
+ Zypp repository Howto
+
+
+ Please report any packaging related errors to us .
+
+
+{%endblock%}
diff --git a/templates/pages/news/postgresql-rpms-for-sles-15-released.html b/templates/pages/news/postgresql-rpms-for-sles-15-released.html
new file mode 100644
index 0000000..d9efdec
--- /dev/null
+++ b/templates/pages/news/postgresql-rpms-for-sles-15-released.html
@@ -0,0 +1,14 @@
+{%extends "base.html" %}
+{%block title%}PostgreSQL 11+ RPMs for SLES 15 are now available.{%endblock%}
+{%block maincontent%}
+
+ PostgreSQL 11+ RPMs for SLES 15 are available.
+
+ Please install repository by following the instructions here first:
+ Zypp repository Howto
+
+
+ Please report any packaging related errors to us .
+
+
+{%endblock%}
diff --git a/templates/pages/news/rsync-support-for-sles-available.html b/templates/pages/news/rsync-support-for-sles-available.html
new file mode 100644
index 0000000..2bf3c8c
--- /dev/null
+++ b/templates/pages/news/rsync-support-for-sles-available.html
@@ -0,0 +1,41 @@
+{%extends "base.html" %}
+{%block title%} rsync support for PostgreSQL SUSE repository is now available.{%endblock%}
+{%block maincontent%}
+
+ rsync support for PostgreSQL SUSE repository is now available.
+
+ Here are the list of modules for SLES:
+
+ $ rsync zypp.postgresql.org::
+
+
+ pgrpmzypp-12 PostgreSQL 12 ZYPP Repository
+
+ pgrpmzypp-11 PostgreSQL 11 ZYPP Repository
+
+ pgrpmzypp-10 PostgreSQL 10 ZYPP Repository
+
+ pgrpmzypp-9.6 PostgreSQL 9.6 ZYPP Repository
+
+ pgrpmzypp-9.5 PostgreSQL 9.5 ZYPP Repository
+
+
+
+ pgsrpmzypp-12 PostgreSQL 12 ZYPP Repository
+
+ pgsrpmzypp-11 PostgreSQL 11 ZYPP Repository
+
+ pgsrpmzypp-10 PostgreSQL 10 ZYPP Repository
+
+ pgsrpmzypp-9.6 PostgreSQL 9.6 ZYPP Repository
+
+ pgsrpmzypp-9.5 PostgreSQL 9.5 ZYPP Repository
+
+ zypp-repo PostgreSQL ZYPP Repository
+
+
+ Please report any packaging related errors to us .
+
+
+
+{%endblock%}
diff --git a/templates/pages/packages.html b/templates/pages/packages.html
new file mode 100644
index 0000000..fe4b019
--- /dev/null
+++ b/templates/pages/packages.html
@@ -0,0 +1,52 @@
+{%extends "base.html" %}
+{%block title%}Packages{%endblock%}
+{%block maincontent%}
+
+Packages
+
+ For SRPMs, please click here .
+
+
+
+PostgreSQL 13
+
+ v13 PACKAGES ARE FOR BETA TESTING ONLY! USE v12 PACKAGES FOR PRODUCTION.
+
+
+
+
+
+PostgreSQL 12
+
+
+
+PostgreSQL 11
+
+
+
+PostgreSQL 10
+
+
+
+PostgreSQL 9.6
+
+
+
+{%endblock%}
diff --git a/templates/pages/reporpms.html b/templates/pages/reporpms.html
new file mode 100644
index 0000000..c8b8da1
--- /dev/null
+++ b/templates/pages/reporpms.html
@@ -0,0 +1,71 @@
+{%extends "base.html" %}
+{%block title%}Repo RPMs{%endblock%}
+{%block maincontent%}
+
+Repo RPMs
+
+Finding out which OS/architecture you are using
+
+ If you do not know which OS/arch you are using, click
+ here to find your OS/architecture .
+
+
+ Please note that PostgreSQL YUM repository depends on the
+ EPEL
+ repository for some packages. RHEL/CentOS/etc. users should install the EPEL
+ repo RPM along with PGDG repo RPMs to satisfy dependencies.
+
+
+Available Repo RPMs
+
+ As of 15 April 2019, there is only one repository RPM per distro which
+ includes repository information for all available PostgreSQL releases.
+
+
+
+
+
+
+
+
+
+
+
+
+
+NonFree Repository
+
+
+
+{%endblock%}
diff --git a/templates/pages/rpmchart.html b/templates/pages/rpmchart.html
new file mode 100644
index 0000000..9ded5a0
--- /dev/null
+++ b/templates/pages/rpmchart.html
@@ -0,0 +1,199 @@
+{%extends "base.html" %}
+{%block title%}RPM Chart{%endblock%}
+{%block maincontent%}
+
+RPM Chart
+
+
+ Please click OS/Arch to see the list of available packages which are built
+ by the PostgreSQL RPM Buildfarm.
+
+
+PostgreSQL 13
+
+ v13 PACKAGES ARE FOR BETA TESTING ONLY! USE v12 PACKAGES FOR PRODUCTION.
+
+
+ Browse the entire set of repositories for PostgreSQL 13.
+
+
+
+
+
+PostgreSQL 12
+
+ Browse the entire set of repositories for PostgreSQL 12.
+
+
+
+
+
+
+PostgreSQL 11
+
+ Browse the entire set of repositories for PostgreSQL 11.
+
+
+
+
+
+
+PostgreSQL 10
+
+ Browse the entire set of repositories for PostgreSQL 10.
+
+
+
+
+
+PostgreSQL 9.6
+
+ Browse the entire set of repositories for PostgreSQL 9.6.
+
+
+
+
+
+PostgreSQL 9.5
+
+ Browse the entire set of repositories for PostgreSQL 9.5.
+
+
+
+
+{%endblock%}
diff --git a/templates/pages/srpm-packages.html b/templates/pages/srpm-packages.html
new file mode 100644
index 0000000..49649d8
--- /dev/null
+++ b/templates/pages/srpm-packages.html
@@ -0,0 +1,61 @@
+{%extends "base.html" %}
+{%block title%}SRPM Packages{%endblock%}
+{%block maincontent%}
+
+SRPM Packages
+
+
+ For RPMs, please click here .
+
+
+
+PostgreSQL 13
+
+ v13 PACKAGES ARE FOR BETA TESTING ONLY! USE v12 PACKAGES FOR PRODUCTION.
+
+
+
+
+
+PostgreSQL 12
+
+
+
+PostgreSQL 11
+
+
+
+PostgreSQL 10
+
+
+
+PostgreSQL 9.6
+
+
+
+PostgreSQL 9.5
+
+
+
+{%endblock%}
diff --git a/templates/pages/thanks.html b/templates/pages/thanks.html
new file mode 100644
index 0000000..fd6227e
--- /dev/null
+++ b/templates/pages/thanks.html
@@ -0,0 +1,22 @@
+{%extends "base.html" %}
+{%block title%}Thanks{%endblock%}
+{%block maincontent%}
+
+Thanks
+
+Special thanks to the following:
+
+EDB
+ Thanks EDB for
+ hosting RPM Buildfarm.
+
+
+Contributors
+ We also want to thank (in alphabetical order):
+
+ Dave Page: Countless number of support
+ Magnus Hagander: Great ideas, tech infrastructure
+ Syed Fahar Abbas (QA testing)
+
+
+{%endblock%}