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 \
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
{{ _("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>
+++ /dev/null
-{% 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;"> </div>
-
- <h1>{{ _("Topics") }}</h1>
- <ul>
- <li><a href="/documents/builds">{{ _("Builds") }}</a></li>
- <li><a href="/documents/users">{{ _("Users") }}</a></li>
- </ul>
-{% end block %}
+++ /dev/null
-{% 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 %}
+++ /dev/null
-{% 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 %}
+++ /dev/null
-{% 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 %}
+++ /dev/null
-{% 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 %}
(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),
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)