]> git.ipfire.org Git - pbs.git/commitdiff
Remove documentation section
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 12 Jan 2018 14:41:30 +0000 (15:41 +0100)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 12 Jan 2018 14:41:30 +0000 (15:41 +0100)
Fixes: #11527
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Makefile.am
po/POTFILES.in
src/templates/base.html
src/templates/docs-base.html [deleted file]
src/templates/docs-build.html [deleted file]
src/templates/docs-index.html [deleted file]
src/templates/docs-users.html [deleted file]
src/templates/docs-whatsthis.html [deleted file]
src/web/__init__.py
src/web/handlers.py

index 4be51ff173550d1af569ba893880ed0876ad4fe9..67bb86519b1cdc693731ad82bbde028c53485fab 100644 (file)
@@ -170,11 +170,6 @@ dist_templates_DATA = \
        src/templates/distro-source-detail.html \
        src/templates/distro-update-detail.html \
        src/templates/distro-update-edit.html \
-       src/templates/docs-base.html \
-       src/templates/docs-build.html \
-       src/templates/docs-index.html \
-       src/templates/docs-users.html \
-       src/templates/docs-whatsthis.html \
        src/templates/file-detail.html \
        src/templates/index.html \
        src/templates/jobs-abort.html \
index 460c8b40abe3a9c0532133cb70baa841a64fb17a..63cb9ab0d328d1ae87773257b642a13747d85aa1 100644 (file)
@@ -55,11 +55,6 @@ src/templates/distro-source-commits.html
 src/templates/distro-source-detail.html
 src/templates/distro-update-detail.html
 src/templates/distro-update-edit.html
-src/templates/docs-base.html
-src/templates/docs-build.html
-src/templates/docs-index.html
-src/templates/docs-users.html
-src/templates/docs-whatsthis.html
 src/templates/errors/error-400.html
 src/templates/errors/error-403.html
 src/templates/errors/error-404.html
index 980feca01335673c02ef4bdb39b6e6fa7f83fc14..134b6651f41be0d2be2ff01129d5dc66bee0f521 100644 (file)
@@ -35,7 +35,6 @@
                                                        {{ _("More") }}
                                                </a>
                                                <div class="dropdown-menu" aria-labelledby="navbarDropdown">
-                                                       <a class="dropdown-item" href="/documents">{{ _("Documentation") }}</a>
                                                        <a class="dropdown-item" href="/search">{{ _("Search") }}</a>
                                                        <div class="dropdown-divider"></div>
                                                        <a class="dropdown-item" href="/distros">{{ _("Distributions") }}</a>
diff --git a/src/templates/docs-base.html b/src/templates/docs-base.html
deleted file mode 100644 (file)
index 02a24bb..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-{% extends "base.html" %}
-
-{% block body %}
-       <div class="row">
-               <div class="span2">
-                       <div class="well" style="padding: 8px 0;">
-                               <ul class="nav nav-list">
-                                       <li class="active">
-                                               <a href="#">
-                                                       <i class="icon-home icon-white"></i>
-                                                       Home
-                                               </a>
-                                       </li>
-                                       <li><a href="#"><i class="icon-book"></i> Library</a></li>
-                                       <li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
-                                       <li><a href="#"><i class="i"></i> Misc</a></li>
-                               </ul>
-                       </div>
-               </div>
-      </div>
-       </div>
-       {% block body %}TEST{% end block %}
-{% end %}
-
-{% block sidebar %}
-       <ul>
-               <li><a href="/documents">{{ _("All Documents") }}</a></li>
-       </ul>
-       <div style="clear: both;">&nbsp;</div>
-
-       <h1>{{ _("Topics") }}</h1>
-       <ul>
-               <li><a href="/documents/builds">{{ _("Builds") }}</a></li>
-               <li><a href="/documents/users">{{ _("Users") }}</a></li>
-       </ul>
-{% end block %}
diff --git a/src/templates/docs-build.html b/src/templates/docs-build.html
deleted file mode 100644 (file)
index 31001d2..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-{% extends "docs-base.html" %}
-
-{% block title %}{{ _("Documentation") }} - {{ _("Legend of the build states") }}{% end block %}
-
-{% block body %}
-       <ul class="breadcrumb">
-               <li>
-                       <a href="/">{{ _("Home") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li>
-                       <a href="/documents">{{ _("Documentation") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li class="active">
-                       <a href="/documents/builds">{{ _("Builds") }}</a>
-               </li>
-       </ul>
-
-       <div class="page-header">
-               <h1>{{ _("Documentation") }}: {{ _("Legend of the build states") }}</h1>
-       </div>
-
-       <p>
-               {{ _("Every build that is done by the Pakfire Build Service has to go through several states:") }}
-       </p>
-       <p>
-               {{ _("After checking out the source from the source repository a source package is created and submitted to the build server.") }}
-               {{ _("Starting from inserting a source file to the build service, there are binary build jobs created for every supported architecture.") }}
-       </p>
-       <p>
-               {{ _("These get assigned to a build host which has to compile or assemble the package and return it back to the build server.") }}
-               {{ _("In the table below, there are all states that a build job goes through:") }}
-       </p>
-       <ul class="builds">
-               <li><a class="build running" name="#">{{ _("Build is running") }}</a></li>
-               <li><a class="build failed" name="#">{{ _("Build has failed") }}</a></li>
-               <li><a class="build pending" name="#">{{ _("Build is waiting to be processed") }}</a></li>
-               <li><a class="build waiting" name="#">{{ _("Build is waiting for source to go to pending state") }}</a></li>
-               <li><a class="build dispatching" name="#">{{ _("Files of this build are transferred to the build server") }}</a></li>
-               <li><a class="build uploading" name="#">{{ _("Files are being uploaded to the service") }}</a></li>
-               <li><a class="build unknown" name="#">{{ _("Build has an unknown state") }}</a></li>
-       </ul>
-{% end %}
diff --git a/src/templates/docs-index.html b/src/templates/docs-index.html
deleted file mode 100644 (file)
index a9afd24..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-{% extends "docs-base.html" %}
-
-{% block title %}{{ _("Documentation index") }}{% end block %}
-
-{% block body %}
-       <ul class="breadcrumb">
-               <li>
-                       <a href="/">{{ _("Home") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li class="active">
-                       <a href="/documents">{{ _("Documentation") }}</a>
-               </li>
-       </ul>
-
-       <div class="page-header">
-               <h1>{{ _("Documents") }}</h1>
-       </div>
-
-       <div class="row">
-               <div class="span6">
-                       <p>
-                               {{ _("This is a collection of documents that should be read by everybody who is using this system.") }}
-                       </p>
-
-                       <ul>
-                               <li>
-                                       <a href="/documents/what-is-the-pakfire-build-service">
-                                               {{ _("What is the pakfire build service?") }}
-                                       </a>
-                               </li>
-                               <li>
-                                       <a href="http://wiki.ipfire.org/devel/pakfire/start" target="_blank">
-                                               {{ _("General pakfire documentation") }}
-                                       </a>
-                               </li>
-                               <li>
-                                       <a href="http://wiki.ipfire.org/devel/packaging_guidelines/start" target="_blank">
-                                               {{ _("Packaging guidelines") }}
-                                       </a>
-                               </li>
-                               <li>
-                                       <a href="/documents/builds">{{ _("Builds") }}</a>
-                               </li>
-                               <li>
-                                       <a href="/documents/users">{{ _("Users") }}</a>
-                               </li>
-                       </ul>
-
-                       <p>
-                               {{ _("This documentation you find at this place is not completed yet.") }}
-                               {{ _("Feel free to make any suggestions.") }}
-                       </p>
-               </div>
-
-               <div class="span6">
-                       <h2>{{ _("Contact") }}</h2>
-                       <p>
-                               {{ _("If you need help using the build service or have some general questions please use our mailing list.") }}
-                               {{ _("You can also talk to the developers and suggest feature enhancements.") }}
-                       </p>
-                       <p class="pull-right">
-                               <a href="http://lists.ipfire.org/mailman/listinfo/pakfire" target="_blank">
-                                       {{ _("Mailing list") }}
-                               </a>
-                       </p>
-
-                       <h2>{{ _("Bug reports") }}</h2>
-                       <p>
-                               {{ _("Please visit Bugzilla to create bug reports on the Pakfire Build System.") }}
-                       </p>
-                       <p class="pull-right">
-                               <a href="https://bugzilla.ipfire.org/describecomponents.cgi?product=Pakfire" target="_blank">
-                                       Bugzilla
-                               </a>
-                       </p>
-               </div>
-       </div>
-{% end %}
diff --git a/src/templates/docs-users.html b/src/templates/docs-users.html
deleted file mode 100644 (file)
index ee12cd4..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-{% extends "docs-base.html" %}
-
-{% block title %}{{ _("Documentation") }} - {{ _("User groups") }}{% end block %}
-
-{% block body %}
-       <ul class="breadcrumb">
-               <li>
-                       <a href="/">{{ _("Home") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li>
-                       <a href="/documents">{{ _("Documentation") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li class="active">
-                       <a href="/documents/users">{{ _("User groups") }}</a>
-               </li>
-       </ul>
-
-       <div class="page-header">
-               <h1>{{ _("Documentation") }}: {{ _("User groups") }}</h1>
-       </div>
-
-       <h1>{{ _("Users") }}</h1>
-       <p>
-               {{ _("All users can join the Pakfire Build Service and are separated into three groups:") }}
-       </p>
-
-       <h2>{{ _("Developers") }}</h2>
-       <p>
-               {{ _("Developers manage this build service and have access to all parts of it.") }}
-               {{ _("They are responsible to keep the system running and able to push package updates to the repostories.") }}
-       </p>
-       <p class="pull-right">
-               <a href="/documents/guidelines/developers">{{ _("Guidelines for developers") }}</a>
-       </p>
-
-       <h2>{{ _("Testers") }}</h2>
-       <p>
-               {{ _("Testers are like users but have the right to vote on packages, which is used to figure out the quality of the package.") }}
-               {{ _("Everyone can become a tester after he or she has proven to know the IPFire system very well.") }}
-               {{ _("On these people depends a very huge amount of the quality of the distribution that is made out of the feedback they give.") }}
-       </p>
-       <p class="pull-right">
-               <a href="/documents/guidelines/testers">{{ _("Guidelines for testers") }}</a>
-       </p>
-
-       <h2>{{ _("Users") }}</h2>
-       <p>
-               {{ _("Everybody can join the Pakfire Build Service by registering an account.") }}
-               {{ _("After a successful activation you are able to leave comments on packages and give feedback to the developers about its status.") }}
-       </p>
-
-       {% if not current_user %}
-               <p class="pull-right">
-                       <a href="/register">{{ _("Register") }}</a>
-               </p>
-       {% end %}
-{% end %}
diff --git a/src/templates/docs-whatsthis.html b/src/templates/docs-whatsthis.html
deleted file mode 100644 (file)
index 8d565af..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-{% extends "docs-base.html" %}
-
-{% block title %}{{ _("Documentation") }} - {{ _("Legend of the build states") }}{% end block %}
-
-{% block body %}
-       <ul class="breadcrumb">
-               <li>
-                       <a href="/">{{ _("Home") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li>
-                       <a href="/documents">{{ _("Documentation") }}</a>
-                       <span class="divider">/</span>
-               </li>
-               <li class="active">
-                       <a href="/documents/what-is-the-pakfire-build-service">{{ _("What is the Pakfire Build Service?") }}</a>
-               </li>
-       </ul>
-
-       <div class="page-header">
-               <h1>{{ _("Documentation") }}: {{ _("What is the Pakfire Build Service?") }}</h1>
-       </div>
-
-       <div class="row">
-               <div class="span8 offset2">
-                       <p>
-                               {{ _("On this page, you will find out what the Pakfire Build Service really is.") }}
-                               {{ _("Read carefully.") }}
-                       </p>
-
-                       <table class="table table-striped table-hover">
-                               <thead>
-                                       <tr>
-                                               <th>{{ _("Yeah, that's it!") }}</th>
-                                               <th>{{ _("No, that's not it!") }}</th>
-                                       </tr>
-                               </thead>
-
-                               <tbody>
-                                       <tr>
-                                               <td>
-                                                       <p>
-                                                               {{ _("PBS is a tool where people can give feedback to developers.") }}
-                                                               {{ _("It is possible to leave comments and rate builds.") }}
-                                                       </p>
-                                               </td>
-                                       
-                                               <td>
-                                                       <p>
-                                                               {{ _("PBS is <strong>NOT</strong> a bugtracker.") }}
-                                                               {{ _("To report bugs please use our bugtracker liked below if you want them to get fixed.") }}
-                                                       </p>
-
-                                                       <p>
-                                                               <a class="pull-right" href="http://bugtracker.ipfire.org" target="_blank">{{ _("Bugtracker") }}</a>
-                                                       </p>
-                                               </td>
-                                       </tr>
-                               </tbody>
-                       </table>
-               </div>
-       </div>
-{% end %}
index e6fd3efd882759ab44e4a5f942cec01b2f2c7e9c..0bfabcbf1d1a8422401c4f8f71651fe026d1d2ca 100644 (file)
@@ -227,12 +227,6 @@ class Application(tornado.web.Application):
                        (r"/key/([A-Z0-9]+)", keys.KeysDownloadHandler),
                        (r"/key/([A-Z0-9]+)/delete", keys.KeysDeleteHandler),
 
-                       # Documents
-                       (r"/documents", DocsIndexHandler),
-                       (r"/documents/builds", DocsBuildsHandler),
-                       (r"/documents/users", DocsUsersHandler),
-                       (r"/documents/what-is-the-pakfire-build-service", DocsWhatsthisHandler),
-
                        # Search
                        (r"/search", search.SearchHandler),
 
index f910386237a0bb53b78dd40f9d5d5bed67b44c28..16ceffeb25ffe1d47fa62a8e7c4ced568b750286 100644 (file)
@@ -35,26 +35,6 @@ class UploadsHandler(base.BaseHandler):
                self.render("uploads-list.html", uploads=self.backend.uploads)
 
 
-class DocsIndexHandler(base.BaseHandler):
-       def get(self):
-               self.render("docs-index.html")
-
-
-class DocsBuildsHandler(base.BaseHandler):
-       def get(self):
-               self.render("docs-build.html")
-
-
-class DocsUsersHandler(base.BaseHandler):
-       def get(self):
-               self.render("docs-users.html")
-
-
-class DocsWhatsthisHandler(base.BaseHandler):
-       def get(self):
-               self.render("docs-whatsthis.html")
-
-
 class FileDetailHandler(base.BaseHandler):
        def get(self, uuid):
                pkg, file = self.backend.packages.get_with_file_by_uuid(uuid)