From: Michael Tremer Date: Fri, 6 Oct 2017 14:07:38 +0000 (+0100) Subject: Use autotools X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c17bfffdc19d2a53f18c18e11b6b5ef42be4b2a;p=pbs.git Use autotools This will break the application since the name of the modules inside the applications has not been updated and paths have not been updated, either. Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore index cb99eec9..81f0802e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,25 @@ +/Makefile +/build-aux +/pbs.conf +/missing +/src/buildservice/__version__.py +/tmp *.py[co] +/*.tar.bz2 +/*.tar.gz +/*.tar.xz +*.log +*.cache +*.gmo *.mo - -pbs.conf +*~ +Makefile.in +aclocal.m4 +config.log +config.status +configure +install-sh +intltool-extract.in +intltool-merge.in +intltool-update.in +stamp-* diff --git a/COPYING b/COPYING new file mode 100644 index 00000000..94a9ed02 --- /dev/null +++ b/COPYING @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/Makefile b/Makefile deleted file mode 100644 index 095ef85b..00000000 --- a/Makefile +++ /dev/null @@ -1,27 +0,0 @@ - -PO_PATH = data/translations -POTFILE = $(PO_PATH)/pakfire.pot -POFILES = $(wildcard $(PO_PATH)/*/LC_MESSAGES/pakfire.po) - -ALL_FILES = $(shell find . /usr/lib*/python*/site-packages/tornado -name "*.py" -or -name "*.html") - -.PHONY: all -all: po - -.PHONY: pot -pot: $(POTFILE) - -$(POTFILE): $(ALL_FILES) - xgettext --language=Python --from-code=UTF-8 --keyword=_:1,2 --keyword=N_ -d pakfire -o $(POTFILE) \ - $(sort $(ALL_FILES)) - -.PHONY: po -po: $(patsubst %.po, %.mo, $(POFILES)) - -# Compile the translations. -%.mo: %.po - msgfmt $< -o $@ - -.PHONY: po-update -po-update: - tx pull --all diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 00000000..89842ed2 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,436 @@ +############################################################################### +# # +# Pakfire - The IPFire package management system # +# Copyright (C) 2017 Pakfire development team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +AM_MAKEFLAGS = --no-print-directory +AUTOMAKE_OPTIONS = color-tests + +# remove target it the command fails +.DELETE_ON_ERROR: + +# keep itermediate files +.SECONDARY: + +SUBDIRS = . po + +pythondir = $(pyexecdir)/pakfire + +configsdir = $(sysconfdir)/pakfire + +CLEANFILES = +DISTCLEANFILES = +EXTRA_DIST = +INSTALL_DIRS = +noinst_DATA = + +@INTLTOOL_POLICY_RULE@ + +.PHONY: update-po +update-po: + $(MAKE) -C po update-po + +DISTCHECK_CONFIGURE_FLAGS = \ + --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) + +# ------------------------------------------------------------------------------ + +AM_V_XSLT = $(AM_V_XSLT_$(V)) +AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY)) +AM_V_XSLT_0 = @echo " XSLT " $@; + +# ------------------------------------------------------------------------------ + +dist_doc_DATA = \ + COPYING + +# ------------------------------------------------------------------------------ + +dist_bin_SCRIPTS = \ + src/scripts/pakfire-hub \ + src/scripts/pakfire-manager \ + src/scripts/pakfire-web + +dist_configs_DATA = \ + pbs.conf.sample + +buildservice_PYTHON = \ + src/buildservice/arches.py \ + src/buildservice/base.py \ + src/buildservice/bugtracker.py \ + src/buildservice/builders.py \ + src/buildservice/builds.py \ + src/buildservice/cache.py \ + src/buildservice/constants.py \ + src/buildservice/database.py \ + src/buildservice/distribution.py \ + src/buildservice/git.py \ + src/buildservice/__init__.py \ + src/buildservice/keys.py \ + src/buildservice/logs.py \ + src/buildservice/main.py \ + src/buildservice/messages.py \ + src/buildservice/mirrors.py \ + src/buildservice/misc.py \ + src/buildservice/packages.py \ + src/buildservice/repository.py \ + src/buildservice/scheduler.py \ + src/buildservice/sessions.py \ + src/buildservice/settings.py \ + src/buildservice/sources.py \ + src/buildservice/updates.py \ + src/buildservice/uploads.py \ + src/buildservice/users.py + +buildservicedir = $(pythondir)/buildservice + +hub_PYTHON = \ + src/hub/__init__.py \ + src/hub/handlers.py + +hubdir = $(buildservicedir)/hub + +manager_PYTHON = \ + src/manager/__init__.py \ + src/manager/base.py \ + src/manager/bugs.py \ + src/manager/builds.py \ + src/manager/messages.py \ + src/manager/repositories.py \ + src/manager/sessions.py \ + src/manager/sources.py \ + src/manager/uploads.py + +managerdir = $(buildservicedir)/manager + +web_PYTHON = \ + src/web/__init__.py \ + src/web/handlers.py \ + src/web/handlers_api.py \ + src/web/handlers_auth.py \ + src/web/handlers_base.py \ + src/web/handlers_builders.py \ + src/web/handlers_builds.py \ + src/web/handlers_distro.py \ + src/web/handlers_jobs.py \ + src/web/handlers_keys.py \ + src/web/handlers_mirrors.py \ + src/web/handlers_packages.py \ + src/web/handlers_search.py \ + src/web/handlers_updates.py \ + src/web/handlers_users.py \ + src/web/ui_modules.py + +webdir = $(buildservicedir)/web + +# ------------------------------------------------------------------------------ + +dist_templates_DATA = \ + src/templates/base-form1.html \ + src/templates/base-form2.html \ + src/templates/base.html \ + src/templates/build-bugs.html \ + src/templates/build-delete.html \ + src/templates/build-detail.html \ + src/templates/build-filter.html \ + src/templates/build-index.html \ + src/templates/build-list.html \ + src/templates/build-manage.html \ + src/templates/build-priority.html \ + src/templates/build-queue.html \ + src/templates/build-schedule-test.html \ + src/templates/build-state.html \ + src/templates/builds-watchers-add.html \ + src/templates/builds-watchers-list.html \ + src/templates/distro-detail.html \ + src/templates/distro-edit.html \ + src/templates/distro-list.html \ + src/templates/distro-source-commit-detail.html \ + src/templates/distro-source-commit-reset.html \ + 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/file-detail.html \ + src/templates/index.html \ + src/templates/jobs-abort.html \ + src/templates/jobs-buildroot.html \ + src/templates/job-schedule-rebuild.html \ + src/templates/job-schedule-test.html \ + src/templates/jobs-detail.html \ + src/templates/jobs-filter.html \ + src/templates/jobs-index.html \ + src/templates/keys-delete.html \ + src/templates/keys-import.html \ + src/templates/keys-list.html \ + src/templates/log.html \ + src/templates/login.html \ + src/templates/mirrors-delete.html \ + src/templates/mirrors-detail.html \ + src/templates/mirrors-edit.html \ + src/templates/mirrors-list.html \ + src/templates/mirrors-new.html \ + src/templates/package-detail.html \ + src/templates/package-detail-list.html \ + src/templates/package-properties.html \ + src/templates/packages-list.html \ + src/templates/register-activation-fail.html \ + src/templates/register-activation-success.html \ + src/templates/register-fail.html \ + src/templates/register.html \ + src/templates/register-success.html \ + src/templates/repository-detail.html \ + src/templates/repository-edit.html \ + src/templates/search-form.html \ + src/templates/search-results.html \ + src/templates/source-list.html \ + src/templates/updates-index.html \ + src/templates/uploads-list.html \ + src/templates/user-comments.html \ + src/templates/user-delete.html \ + src/templates/user-forgot-password.html \ + src/templates/user-impersonation.html \ + src/templates/user-list.html \ + src/templates/user-profile-builds.html \ + src/templates/user-profile-edit-fail.html \ + src/templates/user-profile-edit.html \ + src/templates/user-profile.html \ + src/templates/user-profile-need-activation.html \ + src/templates/user-profile-passwd.html \ + src/templates/user-profile-passwd-ok.html + +templatesdir = $(datadir)/templates + +dist_templates_builders_DATA = \ + src/templates/builders/delete.html \ + src/templates/builders/detail.html \ + src/templates/builders/edit.html \ + src/templates/builders/list.html \ + src/templates/builders/new.html \ + src/templates/builders/pass.html + +templates_buildersdir = $(templatesdir)/builders + +dist_templates_builds_DATA = \ + src/templates/builds/comments.html + +templates_buildsdir = $(templatesdir)/builds + +dist_templates_errors_DATA = \ + src/templates/errors/error.html \ + src/templates/errors/error-400.html \ + src/templates/errors/error-403.html \ + src/templates/errors/error-404.html + +templates_errorsdir = $(templatesdir)/errors + +dist_templates_modules_DATA = \ + src/templates/modules/bugs-table.html \ + src/templates/modules/build-headline.html \ + src/templates/modules/build-log.html \ + src/templates/modules/build-offset.html \ + src/templates/modules/build-state-warnings.html \ + src/templates/modules/build-table.html \ + src/templates/modules/comments-table.html \ + src/templates/modules/commits-table.html \ + src/templates/modules/files-table.html \ + src/templates/modules/footer.html \ + src/templates/modules/jobs-table.html \ + src/templates/modules/log-entry-comment.html \ + src/templates/modules/log-entry.html \ + src/templates/modules/log-entry-small.html \ + src/templates/modules/log-files-table.html \ + src/templates/modules/log.html \ + src/templates/modules/log-table.html \ + src/templates/modules/maintainer.html \ + src/templates/modules/modal-base.html \ + src/templates/modules/modal-build-comment.html \ + src/templates/modules/modal-build-push.html \ + src/templates/modules/modal-build-unpush.html \ + src/templates/modules/package-header.html \ + src/templates/modules/packages-files-table.html \ + src/templates/modules/packages-table.html \ + src/templates/modules/package-table-detail.html \ + src/templates/modules/repo-actions-table.html \ + src/templates/modules/repository-table.html \ + src/templates/modules/source-table.html \ + src/templates/modules/updates-table.html \ + src/templates/modules/user-table.html \ + src/templates/modules/watchers-sidebar-table.html + +templates_modulesdir = $(templatesdir)/modules + +dist_templates_modules_builders_DATA = \ + src/templates/modules/builders/load.html + +templates_modules_buildersdir = $(templates_modulesdir)/builders + +dist_templates_modules_changelog_DATA = \ + src/templates/modules/changelog/entry.html \ + src/templates/modules/changelog/index.html + +templates_modules_changelogdir = $(templates_modulesdir)/changelog + +dist_templates_modules_jobs_DATA = \ + src/templates/modules/jobs/boxes.html \ + src/templates/modules/jobs/list.html \ + src/templates/modules/jobs/status.html + +templates_modules_jobsdir = $(templates_modulesdir)/jobs + +dist_templates_modules_packages_DATA = \ + src/templates/modules/packages/dependency-table.html + +templates_modules_packagesdir = $(templates_modulesdir)/packages + +dist_templates_modules_select_DATA = \ + src/templates/modules/select/locale.html \ + src/templates/modules/select/timezone.html + +templates_modules_selectdir = $(templates_modulesdir)/select + +dist_templates_packages_DATA = \ + src/templates/packages/changelog.html \ + src/templates/packages/view-file.html + +templates_packagesdir = $(templatesdir)/packages + +dist_templates_packages_builds_DATA = \ + src/templates/packages/builds/scratch.html \ + src/templates/packages/builds/times.html + +templates_packages_buildsdir = $(templates_packagesdir)/builds + +dist_templates_sessions_DATA = \ + src/templates/sessions/index.html + +templates_sessionsdir = $(templatesdir)/sessions + +dist_templates_statistics_DATA = \ + src/templates/statistics/index.html + +templates_statisticsdir = $(templatesdir)/statistics + +# ------------------------------------------------------------------------------ +# +dist_static_DATA = \ + src/static/favicon.ico \ + src/static/robots.txt + +staticdir = $(datadir)/static + +dist_static_css_DATA = \ + src/static/css/bootstrap-responsive.min.css \ + src/static/css/bootstrap.min.css \ + src/static/css/build-table.css \ + src/static/css/commits-table.css \ + src/static/css/font-awesome.css \ + src/static/css/jobs-list.css \ + src/static/css/jobs-table.css \ + src/static/css/log.css \ + src/static/css/packages-files-table.css \ + src/static/css/packages-table.css \ + src/static/css/prettify.css \ + src/static/css/style.css \ + src/static/css/watchers-sidebar-table.css + +static_cssdir = $(staticdir)/css + +dist_static_font_DATA = \ + src/static/font/fontawesome-webfont.eot \ + src/static/font/fontawesome-webfont.svg \ + src/static/font/fontawesome-webfont.ttf \ + src/static/font/fontawesome-webfont.woff + +static_fontdir = $(staticdir)/font + +dist_static_images_DATA = \ + src/static/images/icons/build-dependency_error.png \ + src/static/images/icons/build-dispatching.png \ + src/static/images/icons/build-failed.png \ + src/static/images/icons/build-finished.png \ + src/static/images/icons/build-pending.png \ + src/static/images/icons/build-running.png \ + src/static/images/icons/build-unknown.png \ + src/static/images/icons/build-uploading.png \ + src/static/images/icons/build-waiting.png \ + src/static/images/icons/builder-disabled.png \ + src/static/images/img01.jpg \ + src/static/images/img02.jpg \ + src/static/images/img03.jpg \ + src/static/images/img04.jpg \ + src/static/images/ipfire_tux_128x128.png \ + src/static/images/readme.txt + +static_imagesdir = $(staticdir)/images + +dist_static_js_DATA = \ + src/static/js/bootstrap.min.js \ + src/static/js/jquery.js \ + src/static/js/pbs.js \ + src/static/js/prettify.js + +static_jsdir = $(staticdir)/js + +# ------------------------------------------------------------------------------ + +if HAVE_SYSTEMD +systemdsystemunit_DATA = \ + # TODO + +CLEANFILES += \ + $(systemdsystemunit_DATA) + +INSTALL_DIRS += \ + $(systemdsystemunitdir) +endif + +EXTRA_DIST += \ + # TODO + +dist_database_DATA = \ + src/database.sql + +databasedir = $(datadir)/database + +dist_cron_DATA = \ + src/crontab/pakfire-build-service + +crondir = $(sysconfdir)/cron.d + +# ------------------------------------------------------------------------------ + +substitutions = \ + '|PACKAGE_NAME=$(PACKAGE_NAME)|' \ + '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \ + '|configsdir=$(configsdir)|' \ + '|bindir=$(bindir)|' + +SED_PROCESS = \ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ + $(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \ + < $< > $@ + +%: %.in Makefile + $(SED_PROCESS) diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 00000000..077e1095 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +intltoolize --force --automake +autoreconf --force --install --symlink diff --git a/configure.ac b/configure.ac new file mode 100644 index 00000000..0842fa36 --- /dev/null +++ b/configure.ac @@ -0,0 +1,117 @@ +############################################################################### +# # +# Pakfire - The IPFire package management system # +# Copyright (C) 2017 Pakfire development team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +AC_PREREQ([2.64]) + +AC_INIT([pakfire-build-service], + [2017.01], + [info@ipfire.org], + [pakfire-build-service], + [https://git.ipfire.org/?p=pbs.git;a=summary]) + +AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_AUX_DIR([build-aux]) + +AC_PREFIX_DEFAULT([/usr]) + +AM_INIT_AUTOMAKE([ + foreign + 1.11 + -Wall + -Wno-portability + silent-rules + tar-pax + subdir-objects +]) +AM_SILENT_RULES([yes]) + +IT_PROG_INTLTOOL([0.40.0]) + +GETTEXT_PACKAGE=pakfire-build-service +AC_SUBST(GETTEXT_PACKAGE) + +AC_PROG_LN_S +AC_PROG_MKDIR_P +AC_PROG_SED + +# Python +AM_PATH_PYTHON([2.7]) + +save_LIBS="$LIBS" + +# pkg-config +PKG_PROG_PKG_CONFIG +# This makes sure pkg.m4 is available. +m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) + +# ------------------------------------------------------------------------------ + +AC_ARG_WITH([systemd], + AS_HELP_STRING([--with-systemd], [Enable systemd support.]) +) + +AS_IF([test "x$with_systemd" != "xno"], + [PKG_CHECK_MODULES(systemd, [libsystemd], + [have_systemd=yes], [have_systemd=no])], + [have_systemd=no] +) + +AS_IF([test "x$have_systemd" = "xyes"], + [AC_MSG_CHECKING([for systemd system unit directory]) + AC_ARG_WITH([systemdsystemunitdir], + AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), + [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)] + ) + + AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) + + if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then + AC_MSG_RESULT([$systemdsystemunitdir]) + else + AC_MSG_ERROR([not found (try --with-systemdsystemunitdir)]) + fi + ], + [AS_IF([test "x$with_systemd" = "xyes"], + [AC_MSG_ERROR([Systemd support is enabled but no systemd has been found.]) + ]) +]) + +AM_CONDITIONAL(HAVE_SYSTEMD, [test "x$have_systemd" = "xyes"]) + +# ------------------------------------------------------------------------------ + +datadir="${datadir}/pakfire-build-service" +localedir="${datadir}/translations" + +AC_CONFIG_FILES([ + Makefile + po/Makefile.in + src/buildservice/__version__.py +]) + +AC_OUTPUT +AC_MSG_RESULT([ + ${PACKAGE_NAME} ${VERSION} + + prefix: ${prefix} + sysconfdir: ${sysconfdir} + + Systemd support ${have_systemd} +]) diff --git a/data/static/css/style.css.backup b/data/static/css/style.css.backup deleted file mode 100644 index d8ab6f89..00000000 --- a/data/static/css/style.css.backup +++ /dev/null @@ -1,891 +0,0 @@ - -body { - margin: 0; - padding: 0; - background: #EEEBEC url(../images/img01.jpg) repeat-x left top; - font-family: "Verdana", "Deja-Vu Sans", "Bitstream Vera Sans", sans-serif; - font-size: 14px; - color: #707081; -} - -h1, h2, h3, h4 { - margin: 0; - padding: 0; - font-weight: normal; - color: #515151; -} - -h1 { - font-size: 1.6em; - padding-bottom: 0.4em; -} - -h2 { - font-size: 1.4em; - margin-left: 0.2em; - padding-top: 0.4em; - padding-bottom: 0.4em; -} - -h3 { - font-size: 1.2em; - margin-left: 0.4em; -} - -h4 { - font-size: 1.1em; - margin-left: 0.4em; -} - -h1 span, h2 span, h3 span { - font-size: 0.7em; - color: #515151; -} - -p, ul, ol { - margin-top: 0; - margin-left: 0.6em; - line-height: 175%; -} - -ul, ol { -} - -a { - text-decoration: underline; - /* color: #D90000; */ - color: #66000f; -} - -a:hover { - text-decoration: none; -} - -table { - border-collapse: collapse; -} - -img.border { - border: 6px solid #E1F1F6; -} - -img.alignleft { - float: left; - margin-right: 25px; -} - -img.alignright { - float: right; -} - -img.aligncenter { - margin: 0px auto; -} - -#wrapper { - background: url(../images/img01.jpg) repeat-x left top; -} - -/* Header */ - -#logo { - width: 980px; - height: 123px; - margin: 0px auto; -} - -#logo p { - padding: 55px 0px 0px 30px; - color: #a1a1a1; -} - -#logo h1 { - float: left; - padding: 35px 10px 0px 30px; - letter-spacing: -1px; - font-size: 42px; - color: #FFFFFF; -} - -#logo a { - text-decoration: none; - color: #FFFFFF; -} - -#user { - float: right; - padding-top: 0.2em; - padding-bottom: 0.2em; - padding-right: 1em; - padding-left: 1em; - margin-right: 0.5em; - background-color: white; - text-align: right; -} - -#user span { - font-weight: bold; -} - -#user a { - text-decoration: underline; - color: #515151; -} - -#user a:hover { - text-decoration: none; -} - -/* Menu */ - -#menu { - width: 980px; - height: 28px; - margin: 0 auto; - padding: 0px 0px 0px 0px; -} - -#menu ul { - margin: 0; - padding: 0px 0px 0px 4px; - list-style: none; - line-height: normal; -} - -#menu li { - float: left; -} - -#menu a { - display: block; - float: left; - height: 22px; - padding: 6px 25px 0px 25px; - background: #515151; - text-decoration: none; - font-size: 12px; - font-weight: normal; - color: #FFFFFF; - border: none; -} - -#menu a:hover { - background: #66000f; - text-decoration: underline; -} - -#menu li.current_page_item { - background: url(../images/img09.jpg) no-repeat left top; -} - -#menu .current_page_item a { - background: url(../images/img10.jpg) no-repeat right top; -} - -#menu a:hover { - text-decoration: none; -} - -#menu li.search { - float: right; -} - -#search { - margin-top: 2px; - margin-bottom: 2px; - border: 1px solid #e1e1e1; - width: 200px; - height: 20px; -} - -div.searchbox { - margin: 1em; - padding: 1em; - - background-color: #919191; - text-align: center; -} - -/* Page */ - -#page { - width: 980px; - margin: 0 auto; - padding: 0; - background: #FFFFFF; -} - -#page-bgtop { -} - -#page-bgbtm { - margin: 0px; - padding: 20px 20px 0px 40px; -} - -/* Content */ - -#content { - float: left; - width: 720px; - padding: 0px 20px 0px 0px; - border-right: 1px dotted #d1d1d1; -} - -#content table { - margin-left: 0.6em; -} - -#content p.right { - text-align: right; -} - -/* Sidebar */ - -#sidebar { - float: right; - width: 150px; - padding: 0px 0px 0px 0px; -} - -#sidebar ul { - margin: 0; - padding: 0; - list-style: none; -} - -#sidebar li { - margin: 0; - padding: 0; -} - -#sidebar li ul { - margin: 0px 15px; - padding-bottom: 30px; -} - -#sidebar li li { - padding-left: 15px; - line-height: 35px; - border-bottom: 1px solid #CCC2A9; -} - -#sidebar li li span { - display: block; - margin-top: -20px; - padding: 0; - font-size: 11px; - font-style: italic; -} - -#sidebar ul.actions { -} - -#sidebar ul.actions li.admin { - font-style: italic; -} - -#sidebar p { - margin: 0 0px; - padding: 0px 20px 20px 20px; - text-align: justify; -} - -#sidebar a { - border: none; - color: #7F7F81; -} - -#sidebar a:hover { - text-decoration: underline; - color: #D90000; -} - -div.submenu ul { - margin: 0; - padding: 0px 0px 0px 4px; - list-style: none; - line-height: normal; -} - -div.submenu li { - float: left; - padding-right: 1px; -} - -div.submenu a { - display: block; - float: left; - height: 18px; - padding: 3px 20px 0px 20px; - background: #515151; - text-decoration: none; - font-size: 12px; - font-weight: normal; - color: #FFFFFF; - border: none; -} - -div.submenu a:hover { - text-decoration: underline; - background: #ffffff; - color: #515151; -} - -/* Footer */ - -#footer-wrapper { - overflow: hidden; - padding: 0px 0px 0px 0px; - background: #2D2722 url(../images/img02.jpg) repeat-x left top; -} - -#footer { - clear: both; - width: 980px; - height: 60px; - margin: 20px auto 0px auto; -} - -#footer p { - margin: 0; - padding: 30px 0px 0px 0px; - line-height: normal; - font-size: 10px; - text-align: center; - color: #61544B; -} - -#footer a { - color: #61544B; -} - -ul.style1 { - margin: 0px; - padding: 0px; - list-style: none; - line-height: normal; - background: url(../images/img04.jpg) repeat left top; - text-align: right; -} - -ul.style1 li { - height: 23px; - padding: 7px 20px 0px 20px; - font-size: 12px; -} - -ul.style1 a { - float: left; - color: #6E6E6E; -} - -#two-columns { - overflow: hidden; - width: 920px; - margin: 0px auto; - padding: 30px 30px 0px 30px; -} - -#two-columns h2 { - padding: 0px 0px 20px 0px; - font-size: 24px; - color: #3B3B3B; -} - -#column1 { - float: left; - width: 310px; -} - -#column2 { - float: right; - width: 560px; -} - -/* Message boxes. */ - -div.message { - margin: 1em; - padding: 1em; -} - -div.message span { - font-size: 1.3em; - display: block; - - margin-bottom: 0.5em; -} - -div.message-notice { - border: 2px solid #66ff99; - background-color: #33ff66; -} - -div.message-warning { - border: 2px solid #ffcc33; - background-color: #ffee66; -} - -div.message-error, div.message-critical { - border: 2px solid #cc2222; - background-color: #ee2222; - color: white; -} - -div.message-error a, div.message-critical a { - color: white; -} - -div.pkg-summary, div.distro-slogan { - margin-bottom: 1em; - text-align: right; - font-variant: small-caps; - font-style: italic; - font-size: 1.1em; -} - -div.pkg-description { - margin: 1em; - padding: 1em; - background-color: #e1e1e1; - border: 1px solid #515151; - line-height: 175%; - font-style: italic; -} - -div.builder-description, div.distro-description, div.update-description { - margin: 1em; - padding: 1em; - border: 1px dotted #515151; - background-color: #e1e1e1; -} - -div.builder-description textarea { - width: 100%; - height: 10em; -} - -div.builder-description div.buttons { - text-align: right; -} - -div.login-form { - margin-left: 15em; -} - -div.login-form table.login { - margin-bottom: 1em; -} - -div.login-form table.login td { - padding: 0.2em; -} - -div.links { - text-align: right; -} - -ul.alphabet { - padding: 1em 1em 1em 1em; - list-style: none; -} - -ul.alphabet li { - float: left; -} - -ul.alphabet a { - display: block; - padding-left: 4px; -} - -a.broken { - text-decoration: line-through; -} - -ul.jobs { - list-style: none; - margin-top: 1em; -} - -ul.jobs li { - height: 40px; -} - -ul.jobs a.job { - margin-left: -2em; - padding-left: 3em; - padding-top: 8px; - padding-bottom: 8px; -} - -ul.jobs a.aborted { - background: url("../images/icons/build-aborted.png") no-repeat 0 50%; -} - -ul.jobs a.failed { - background: url("../images/icons/build-failed.png") no-repeat 0 50%; -} - -ul.jobs a.failed { - background: url("../images/icons/build-failed.png") no-repeat 0 50%; -} - -ul.jobs a.pending { - background: url("../images/icons/build-pending.png") no-repeat 0 50%; -} - -ul.jobs a.dependency_error { - background: url("../images/icons/build-dependency_error.png") no-repeat 0 50%; -} - -ul.jobs a.finished { - background: url("../images/icons/build-finished.png") no-repeat 0 50%; -} - -ul.jobs a.running { - background: url("../images/icons/build-running.png") no-repeat 0 50%; -} - -ul.jobs a.unknown { - background: url("../images/icons/build-unknown.png") no-repeat 0 50%; -} - -ul.jobs a.uploading { - background: url("../images/icons/build-uploading.png") no-repeat 0 50%; -} - -ul.jobs a.dispatching { - background: url("../images/icons/build-dispatching.png") no-repeat 0 50%; -} - -ul.jobs a.waiting { - background: url("../images/icons/build-waiting.png") no-repeat 0 50%; -} - -/* Builders table */ - -table.builders { - width: 35em; - margin: 1em; -} - -table.builders tr.builder { - height: 40px; -} - -table.builders tr.builder td.icon, table.builders th.icon { - width: 4em; -} - -table.builders tr.builder td.name, table.builders th.name { - width: 15em; -} - -table.builders tr.builder td.load, table.builders th.load { - text-align: right; - width: 5em; -} - -table.builders tr.builder td.jobs, table.builders th.jobs { - text-align: right; - width: 10em; -} - -/* Overloaded builders are shown in red. */ - -span.overload { - font-weight: bold; - color: #cc0000; -} - -/* Comments */ - -div.comments { - -} - -div.comments div.comment { - border: 1px solid #e1e1e1; -} - -div.comments div.comment span { - padding-left: 1em; - padding-bottom: 0.2em; - font-style: italic; -} - -div.comments div.comment p.text { - padding: 1em; - color: #515151; -} - -div.comments div.none { - border-left: 10px solid #e1e1e1; -} - -div.comments div.up { - border-left: 10px solid #99FF66; -} - -div.comments div.down { - border-left: 10px solid #ff3333; -} - -div.add-comment { - background: #e1e1e1; - border: 1px solid #515151; - margin: 1em; - padding: 1em; -} - -/* Repo actions */ -div.repo-actions { -} - -div.repo-actions div.action { - -} - -div.repo-actions div.action { - -} - -div.repo-actions div.action p.buttons { - border: 1px solid black; -} - -div.repo-actions div.add { - background-color: #99ff66; -} - -table td.buttons { - padding-top: 1em; - text-align: right; -} - -p.important { - color: white; - padding: 0.2em; - background-color: #ff3333; -} - -p.focus { - text-align: center; - font-size: 3em; - font-weight: bold; -} - -p.buttons { - text-align: right; -} - -span.arch-disabled { - text-decoration: line-through; -} - -div.avatar { - text-align: center; -} - -div.avatar img { - border: 1px solid #e1e1e1; - padding: 0.5em; -} - -/* FORMS */ - -table.form { - margin-left: 0.4em; -} - -table.form td { - height: 1.8em; -} - -table.form td.pkg-description { - padding: 1em; - border: 1px dotted #515151; - background-color: #e1e1e1; - text-align: justify; -} - -table.form td.build-message { - padding: 1em; - border: 1px dotted #515151; -} - -table.form textarea { - width: 100%; - height: 8em; -} - -table.form2 { - width: 95%; -} - -table.form2 td.col1 { - width: 30% -} - -table.form2 td.col2 { - width: 70%; -} - -table.form3 { - width: 95%; -} - -table.form3 td.col1 { - width: 30%; -} - -table.form3 td.col2 { - width: 30%; -} - -table.form3 td.col3 { - width: 40%; - font-style: italic; -} - -table.file-list { - width: 80%; -} - -table.file-list td.name { - width: 70%; -} - -table.file-list td.actions { - width: 30%; -} - -table.jobs { - width: 95%; - - margin: 1em; - border: 1px solid #515151; -} - -table.jobs th { - text-align: center; -} - -table.jobs td.duration { - text-align: right; -} - -table.jobs td.arch { - text-align: center; -} - -table.jobs td.state { - text-align: center; -} - -table.jobs td.host { - text-align: center; -} - -/* UPLOADS */ - -table.uploads { - width: 95%; -} - -table.uploads tr.upload .size { - text-align: right; -} - -table.uploads tr.upload .speed { - text-align: right; -} - -table.uploads tr.progress td.bar p { - background-color: #e1e1e1; -} - -table.uploads tr.progress td.percentage { - text-align: right; -} - -/* BUILD TIMES */ - -table.build-times { - border: 1px solid #e1e1e1; - width: 33%; -} - -table.build-times td { - padding: 0.2em; - border: 1px solid #e1e1e1; -} - -table.build-times td.arch { - font-weight: bold; -} - -table.build-times td.time { - text-align: right; -} - -/* Mirrors */ - -table.mirrors { - width: 95%; - border: 1px solid #e1e1e1; -} - -table.mirrors tr.nearby { - background-color: #e1e1e1; -} - -table.mirrors td.DOWN { - background-color: #ee2222; - color: white; -} - -table.mirrors td.UP { - background-color: #33ff66; -} - -table.mirrors td.DISABLED { - background-color: black; - color: white; -} - -table.mirrors td.country_code { - width: 2em; - text-align: center; -} - -table.mirrors td.hostname { - text-align: center; -} - -table.mirrors td.owner { - text-align: left; -} - -/* Builders */ - -table.build-types { - width: 100%; -} - -table.build-types td { - width: 33%; - - text-align: center; - color: white; -} - -table.build-types td.on { - background-color: green; -} - -table.build-types td.off { - background-color: red; -} diff --git a/m4/.gitignore b/m4/.gitignore new file mode 100644 index 00000000..55eaa803 --- /dev/null +++ b/m4/.gitignore @@ -0,0 +1,6 @@ +intltool.m4 +libtool.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +lt~obsolete.m4 diff --git a/pbs.conf.example b/pbs.conf.sample similarity index 100% rename from pbs.conf.example rename to pbs.conf.sample diff --git a/po/.gitignore b/po/.gitignore new file mode 100644 index 00000000..ee121565 --- /dev/null +++ b/po/.gitignore @@ -0,0 +1,4 @@ +POTFILES +Makefile.in.in +.intltool-merge-cache +Makefile diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 00000000..3d0b20f5 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,14 @@ +ca +da +de +es +fr +hu +it +km_KH +nl +pt_BR +pt_PT +ro_RO +ru +uk diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 00000000..6c439e72 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,189 @@ +src/buildservice/arches.py +src/buildservice/base.py +src/buildservice/bugtracker.py +src/buildservice/builders.py +src/buildservice/builds.py +src/buildservice/cache.py +src/buildservice/constants.py +src/buildservice/database.py +src/buildservice/distribution.py +src/buildservice/git.py +src/buildservice/__init__.py +src/buildservice/keys.py +src/buildservice/logs.py +src/buildservice/main.py +src/buildservice/messages.py +src/buildservice/mirrors.py +src/buildservice/misc.py +src/buildservice/packages.py +src/buildservice/repository.py +src/buildservice/scheduler.py +src/buildservice/sessions.py +src/buildservice/settings.py +src/buildservice/sources.py +src/buildservice/updates.py +src/buildservice/uploads.py +src/buildservice/users.py +src/buildservice/__version__.py.in +src/templates/base-form1.html +src/templates/base-form2.html +src/templates/base.html +src/templates/build-bugs.html +src/templates/build-delete.html +src/templates/build-detail.html +src/templates/builders/delete.html +src/templates/builders/detail.html +src/templates/builders/edit.html +src/templates/builders/list.html +src/templates/builders/new.html +src/templates/builders/pass.html +src/templates/build-filter.html +src/templates/build-index.html +src/templates/build-list.html +src/templates/build-manage.html +src/templates/build-priority.html +src/templates/build-queue.html +src/templates/build-schedule-test.html +src/templates/builds/comments.html +src/templates/build-state.html +src/templates/builds-watchers-add.html +src/templates/builds-watchers-list.html +src/templates/distro-detail.html +src/templates/distro-edit.html +src/templates/distro-list.html +src/templates/distro-source-commit-detail.html +src/templates/distro-source-commit-reset.html +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 +src/templates/errors/error.html +src/templates/file-detail.html +src/templates/index.html +src/templates/jobs-abort.html +src/templates/jobs-buildroot.html +src/templates/job-schedule-rebuild.html +src/templates/job-schedule-test.html +src/templates/jobs-detail.html +src/templates/jobs-filter.html +src/templates/jobs-index.html +src/templates/keys-delete.html +src/templates/keys-import.html +src/templates/keys-list.html +src/templates/log.html +src/templates/login.html +src/templates/mirrors-delete.html +src/templates/mirrors-detail.html +src/templates/mirrors-edit.html +src/templates/mirrors-list.html +src/templates/mirrors-new.html +src/templates/modules/bugs-table.html +src/templates/modules/builders/load.html +src/templates/modules/build-headline.html +src/templates/modules/build-log.html +src/templates/modules/build-offset.html +src/templates/modules/build-state-warnings.html +src/templates/modules/build-table.html +src/templates/modules/changelog/entry.html +src/templates/modules/changelog/index.html +src/templates/modules/comments-table.html +src/templates/modules/commits-table.html +src/templates/modules/files-table.html +src/templates/modules/footer.html +src/templates/modules/jobs/boxes.html +src/templates/modules/jobs/list.html +src/templates/modules/jobs/status.html +src/templates/modules/jobs-table.html +src/templates/modules/log-entry-comment.html +src/templates/modules/log-entry.html +src/templates/modules/log-entry-small.html +src/templates/modules/log-files-table.html +src/templates/modules/log.html +src/templates/modules/log-table.html +src/templates/modules/maintainer.html +src/templates/modules/modal-base.html +src/templates/modules/modal-build-comment.html +src/templates/modules/modal-build-push.html +src/templates/modules/modal-build-unpush.html +src/templates/modules/package-header.html +src/templates/modules/packages/dependency-table.html +src/templates/modules/packages-files-table.html +src/templates/modules/packages-table.html +src/templates/modules/package-table-detail.html +src/templates/modules/repo-actions-table.html +src/templates/modules/repository-table.html +src/templates/modules/select/locale.html +src/templates/modules/select/timezone.html +src/templates/modules/source-table.html +src/templates/modules/updates-table.html +src/templates/modules/user-table.html +src/templates/modules/watchers-sidebar-table.html +src/templates/package-detail.html +src/templates/package-detail-list.html +src/templates/package-properties.html +src/templates/packages/builds/scratch.html +src/templates/packages/builds/times.html +src/templates/packages/changelog.html +src/templates/packages-list.html +src/templates/packages/view-file.html +src/templates/register-activation-fail.html +src/templates/register-activation-success.html +src/templates/register-fail.html +src/templates/register.html +src/templates/register-success.html +src/templates/repository-detail.html +src/templates/repository-edit.html +src/templates/search-form.html +src/templates/search-results.html +src/templates/sessions/index.html +src/templates/source-list.html +src/templates/statistics/index.html +src/templates/updates-index.html +src/templates/uploads-list.html +src/templates/user-comments.html +src/templates/user-delete.html +src/templates/user-forgot-password.html +src/templates/user-impersonation.html +src/templates/user-list.html +src/templates/user-profile-builds.html +src/templates/user-profile-edit-fail.html +src/templates/user-profile-edit.html +src/templates/user-profile.html +src/templates/user-profile-need-activation.html +src/templates/user-profile-passwd.html +src/templates/user-profile-passwd-ok.html +src/hub/handlers.py +src/hub/__init__.py +src/manager/base.py +src/manager/bugs.py +src/manager/builds.py +src/manager/__init__.py +src/manager/messages.py +src/manager/repositories.py +src/manager/sessions.py +src/manager/sources.py +src/manager/uploads.py +src/web/handlers_api.py +src/web/handlers_auth.py +src/web/handlers_base.py +src/web/handlers_builders.py +src/web/handlers_builds.py +src/web/handlers_distro.py +src/web/handlers_jobs.py +src/web/handlers_keys.py +src/web/handlers_mirrors.py +src/web/handlers_packages.py +src/web/handlers.py +src/web/handlers_search.py +src/web/handlers_updates.py +src/web/handlers_users.py +src/web/__init__.py +src/web/ui_modules.py diff --git a/data/translations/ca/LC_MESSAGES/pakfire.po b/po/ca.po similarity index 100% rename from data/translations/ca/LC_MESSAGES/pakfire.po rename to po/ca.po diff --git a/data/translations/da/LC_MESSAGES/pakfire.po b/po/da.po similarity index 100% rename from data/translations/da/LC_MESSAGES/pakfire.po rename to po/da.po diff --git a/data/translations/de/LC_MESSAGES/pakfire.po b/po/de.po similarity index 100% rename from data/translations/de/LC_MESSAGES/pakfire.po rename to po/de.po diff --git a/data/translations/es/LC_MESSAGES/pakfire.po b/po/es.po similarity index 100% rename from data/translations/es/LC_MESSAGES/pakfire.po rename to po/es.po diff --git a/data/translations/fr/LC_MESSAGES/pakfire.po b/po/fr.po similarity index 100% rename from data/translations/fr/LC_MESSAGES/pakfire.po rename to po/fr.po diff --git a/data/translations/hu/LC_MESSAGES/pakfire.po b/po/hu.po similarity index 100% rename from data/translations/hu/LC_MESSAGES/pakfire.po rename to po/hu.po diff --git a/data/translations/it/LC_MESSAGES/pakfire.po b/po/it.po similarity index 100% rename from data/translations/it/LC_MESSAGES/pakfire.po rename to po/it.po diff --git a/data/translations/km_KH/LC_MESSAGES/pakfire.po b/po/km_KH.po similarity index 100% rename from data/translations/km_KH/LC_MESSAGES/pakfire.po rename to po/km_KH.po diff --git a/data/translations/nl/LC_MESSAGES/pakfire.po b/po/nl.po similarity index 100% rename from data/translations/nl/LC_MESSAGES/pakfire.po rename to po/nl.po diff --git a/data/translations/pakfire.pot b/po/pakfire.pot similarity index 100% rename from data/translations/pakfire.pot rename to po/pakfire.pot diff --git a/data/translations/pt_BR/LC_MESSAGES/pakfire.po b/po/pt_BR.po similarity index 100% rename from data/translations/pt_BR/LC_MESSAGES/pakfire.po rename to po/pt_BR.po diff --git a/data/translations/pt_PT/LC_MESSAGES/pakfire.po b/po/pt_PT.po similarity index 100% rename from data/translations/pt_PT/LC_MESSAGES/pakfire.po rename to po/pt_PT.po diff --git a/data/translations/ro_RO/LC_MESSAGES/pakfire.po b/po/ro_RO.po similarity index 100% rename from data/translations/ro_RO/LC_MESSAGES/pakfire.po rename to po/ro_RO.po diff --git a/data/translations/ru/LC_MESSAGES/pakfire.po b/po/ru.po similarity index 100% rename from data/translations/ru/LC_MESSAGES/pakfire.po rename to po/ru.po diff --git a/data/translations/uk/LC_MESSAGES/pakfire.po b/po/uk.po similarity index 100% rename from data/translations/uk/LC_MESSAGES/pakfire.po rename to po/uk.po diff --git a/backend/__init__.py b/src/buildservice/__init__.py similarity index 100% rename from backend/__init__.py rename to src/buildservice/__init__.py diff --git a/src/buildservice/__version__.py.in b/src/buildservice/__version__.py.in new file mode 100644 index 00000000..e2e3469a --- /dev/null +++ b/src/buildservice/__version__.py.in @@ -0,0 +1,2 @@ +# this file is autogenerated by the buildsystem +VERSION = "@PACKAGE_VERSION@" diff --git a/backend/arches.py b/src/buildservice/arches.py similarity index 100% rename from backend/arches.py rename to src/buildservice/arches.py diff --git a/backend/base.py b/src/buildservice/base.py similarity index 100% rename from backend/base.py rename to src/buildservice/base.py diff --git a/backend/bugtracker.py b/src/buildservice/bugtracker.py similarity index 100% rename from backend/bugtracker.py rename to src/buildservice/bugtracker.py diff --git a/backend/builders.py b/src/buildservice/builders.py similarity index 100% rename from backend/builders.py rename to src/buildservice/builders.py diff --git a/backend/builds.py b/src/buildservice/builds.py similarity index 100% rename from backend/builds.py rename to src/buildservice/builds.py diff --git a/backend/cache.py b/src/buildservice/cache.py similarity index 100% rename from backend/cache.py rename to src/buildservice/cache.py diff --git a/backend/constants.py b/src/buildservice/constants.py similarity index 100% rename from backend/constants.py rename to src/buildservice/constants.py diff --git a/backend/database.py b/src/buildservice/database.py similarity index 100% rename from backend/database.py rename to src/buildservice/database.py diff --git a/backend/distribution.py b/src/buildservice/distribution.py similarity index 100% rename from backend/distribution.py rename to src/buildservice/distribution.py diff --git a/backend/git.py b/src/buildservice/git.py similarity index 100% rename from backend/git.py rename to src/buildservice/git.py diff --git a/backend/keys.py b/src/buildservice/keys.py similarity index 100% rename from backend/keys.py rename to src/buildservice/keys.py diff --git a/backend/logs.py b/src/buildservice/logs.py similarity index 100% rename from backend/logs.py rename to src/buildservice/logs.py diff --git a/backend/main.py b/src/buildservice/main.py similarity index 100% rename from backend/main.py rename to src/buildservice/main.py diff --git a/backend/messages.py b/src/buildservice/messages.py similarity index 100% rename from backend/messages.py rename to src/buildservice/messages.py diff --git a/backend/mirrors.py b/src/buildservice/mirrors.py similarity index 100% rename from backend/mirrors.py rename to src/buildservice/mirrors.py diff --git a/backend/misc.py b/src/buildservice/misc.py similarity index 100% rename from backend/misc.py rename to src/buildservice/misc.py diff --git a/backend/packages.py b/src/buildservice/packages.py similarity index 100% rename from backend/packages.py rename to src/buildservice/packages.py diff --git a/backend/repository.py b/src/buildservice/repository.py similarity index 100% rename from backend/repository.py rename to src/buildservice/repository.py diff --git a/backend/scheduler.py b/src/buildservice/scheduler.py similarity index 100% rename from backend/scheduler.py rename to src/buildservice/scheduler.py diff --git a/backend/sessions.py b/src/buildservice/sessions.py similarity index 100% rename from backend/sessions.py rename to src/buildservice/sessions.py diff --git a/backend/settings.py b/src/buildservice/settings.py similarity index 100% rename from backend/settings.py rename to src/buildservice/settings.py diff --git a/backend/sources.py b/src/buildservice/sources.py similarity index 100% rename from backend/sources.py rename to src/buildservice/sources.py diff --git a/backend/updates.py b/src/buildservice/updates.py similarity index 100% rename from backend/updates.py rename to src/buildservice/updates.py diff --git a/backend/uploads.py b/src/buildservice/uploads.py similarity index 100% rename from backend/uploads.py rename to src/buildservice/uploads.py diff --git a/backend/users.py b/src/buildservice/users.py similarity index 100% rename from backend/users.py rename to src/buildservice/users.py diff --git a/src/crontab/pakfire-build-service b/src/crontab/pakfire-build-service new file mode 100644 index 00000000..90bd443a --- /dev/null +++ b/src/crontab/pakfire-build-service @@ -0,0 +1 @@ +# Placeholder for any cron jobs diff --git a/data/schema.sql b/src/database.sql similarity index 100% rename from data/schema.sql rename to src/database.sql diff --git a/hub/__init__.py b/src/hub/__init__.py similarity index 100% rename from hub/__init__.py rename to src/hub/__init__.py diff --git a/hub/handlers.py b/src/hub/handlers.py similarity index 100% rename from hub/handlers.py rename to src/hub/handlers.py diff --git a/manager/__init__.py b/src/manager/__init__.py similarity index 100% rename from manager/__init__.py rename to src/manager/__init__.py diff --git a/manager/base.py b/src/manager/base.py similarity index 100% rename from manager/base.py rename to src/manager/base.py diff --git a/manager/bugs.py b/src/manager/bugs.py similarity index 100% rename from manager/bugs.py rename to src/manager/bugs.py diff --git a/manager/builds.py b/src/manager/builds.py similarity index 100% rename from manager/builds.py rename to src/manager/builds.py diff --git a/manager/messages.py b/src/manager/messages.py similarity index 100% rename from manager/messages.py rename to src/manager/messages.py diff --git a/manager/repositories.py b/src/manager/repositories.py similarity index 100% rename from manager/repositories.py rename to src/manager/repositories.py diff --git a/manager/sessions.py b/src/manager/sessions.py similarity index 100% rename from manager/sessions.py rename to src/manager/sessions.py diff --git a/manager/sources.py b/src/manager/sources.py similarity index 100% rename from manager/sources.py rename to src/manager/sources.py diff --git a/manager/uploads.py b/src/manager/uploads.py similarity index 100% rename from manager/uploads.py rename to src/manager/uploads.py diff --git a/pakfire-hub b/src/scripts/pakfire-hub similarity index 100% rename from pakfire-hub rename to src/scripts/pakfire-hub diff --git a/pakfire-manager b/src/scripts/pakfire-manager similarity index 100% rename from pakfire-manager rename to src/scripts/pakfire-manager diff --git a/pakfire-web b/src/scripts/pakfire-web similarity index 100% rename from pakfire-web rename to src/scripts/pakfire-web diff --git a/data/static/css/bootstrap-responsive.min.css b/src/static/css/bootstrap-responsive.min.css similarity index 100% rename from data/static/css/bootstrap-responsive.min.css rename to src/static/css/bootstrap-responsive.min.css diff --git a/data/static/css/bootstrap.min.css b/src/static/css/bootstrap.min.css similarity index 100% rename from data/static/css/bootstrap.min.css rename to src/static/css/bootstrap.min.css diff --git a/data/static/css/build-table.css b/src/static/css/build-table.css similarity index 100% rename from data/static/css/build-table.css rename to src/static/css/build-table.css diff --git a/data/static/css/commits-table.css b/src/static/css/commits-table.css similarity index 100% rename from data/static/css/commits-table.css rename to src/static/css/commits-table.css diff --git a/data/static/css/font-awesome.css b/src/static/css/font-awesome.css similarity index 100% rename from data/static/css/font-awesome.css rename to src/static/css/font-awesome.css diff --git a/data/static/css/jobs-list.css b/src/static/css/jobs-list.css similarity index 100% rename from data/static/css/jobs-list.css rename to src/static/css/jobs-list.css diff --git a/data/static/css/jobs-table.css b/src/static/css/jobs-table.css similarity index 100% rename from data/static/css/jobs-table.css rename to src/static/css/jobs-table.css diff --git a/data/static/css/log.css b/src/static/css/log.css similarity index 100% rename from data/static/css/log.css rename to src/static/css/log.css diff --git a/data/static/css/packages-files-table.css b/src/static/css/packages-files-table.css similarity index 100% rename from data/static/css/packages-files-table.css rename to src/static/css/packages-files-table.css diff --git a/data/static/css/packages-table.css b/src/static/css/packages-table.css similarity index 100% rename from data/static/css/packages-table.css rename to src/static/css/packages-table.css diff --git a/data/static/css/prettify.css b/src/static/css/prettify.css similarity index 100% rename from data/static/css/prettify.css rename to src/static/css/prettify.css diff --git a/data/static/css/style.css b/src/static/css/style.css similarity index 100% rename from data/static/css/style.css rename to src/static/css/style.css diff --git a/data/static/css/watchers-sidebar-table.css b/src/static/css/watchers-sidebar-table.css similarity index 100% rename from data/static/css/watchers-sidebar-table.css rename to src/static/css/watchers-sidebar-table.css diff --git a/data/static/favicon.ico b/src/static/favicon.ico similarity index 100% rename from data/static/favicon.ico rename to src/static/favicon.ico diff --git a/data/static/font/fontawesome-webfont.eot b/src/static/font/fontawesome-webfont.eot similarity index 100% rename from data/static/font/fontawesome-webfont.eot rename to src/static/font/fontawesome-webfont.eot diff --git a/data/static/font/fontawesome-webfont.svg b/src/static/font/fontawesome-webfont.svg similarity index 100% rename from data/static/font/fontawesome-webfont.svg rename to src/static/font/fontawesome-webfont.svg diff --git a/data/static/font/fontawesome-webfont.ttf b/src/static/font/fontawesome-webfont.ttf similarity index 100% rename from data/static/font/fontawesome-webfont.ttf rename to src/static/font/fontawesome-webfont.ttf diff --git a/data/static/font/fontawesome-webfont.woff b/src/static/font/fontawesome-webfont.woff similarity index 100% rename from data/static/font/fontawesome-webfont.woff rename to src/static/font/fontawesome-webfont.woff diff --git a/data/static/images/icons/build-aborted.png b/src/static/images/icons/build-aborted.png similarity index 100% rename from data/static/images/icons/build-aborted.png rename to src/static/images/icons/build-aborted.png diff --git a/data/static/images/icons/build-dependency_error.png b/src/static/images/icons/build-dependency_error.png similarity index 100% rename from data/static/images/icons/build-dependency_error.png rename to src/static/images/icons/build-dependency_error.png diff --git a/data/static/images/icons/build-dispatching.png b/src/static/images/icons/build-dispatching.png similarity index 100% rename from data/static/images/icons/build-dispatching.png rename to src/static/images/icons/build-dispatching.png diff --git a/data/static/images/icons/build-failed.png b/src/static/images/icons/build-failed.png similarity index 100% rename from data/static/images/icons/build-failed.png rename to src/static/images/icons/build-failed.png diff --git a/data/static/images/icons/build-finished.png b/src/static/images/icons/build-finished.png similarity index 100% rename from data/static/images/icons/build-finished.png rename to src/static/images/icons/build-finished.png diff --git a/data/static/images/icons/build-pending.png b/src/static/images/icons/build-pending.png similarity index 100% rename from data/static/images/icons/build-pending.png rename to src/static/images/icons/build-pending.png diff --git a/data/static/images/icons/build-running.png b/src/static/images/icons/build-running.png similarity index 100% rename from data/static/images/icons/build-running.png rename to src/static/images/icons/build-running.png diff --git a/data/static/images/icons/build-unknown.png b/src/static/images/icons/build-unknown.png similarity index 100% rename from data/static/images/icons/build-unknown.png rename to src/static/images/icons/build-unknown.png diff --git a/data/static/images/icons/build-uploading.png b/src/static/images/icons/build-uploading.png similarity index 100% rename from data/static/images/icons/build-uploading.png rename to src/static/images/icons/build-uploading.png diff --git a/data/static/images/icons/build-waiting.png b/src/static/images/icons/build-waiting.png similarity index 100% rename from data/static/images/icons/build-waiting.png rename to src/static/images/icons/build-waiting.png diff --git a/data/static/images/icons/builder-disabled.png b/src/static/images/icons/builder-disabled.png similarity index 100% rename from data/static/images/icons/builder-disabled.png rename to src/static/images/icons/builder-disabled.png diff --git a/data/static/images/icons/builder-offline.png b/src/static/images/icons/builder-offline.png similarity index 100% rename from data/static/images/icons/builder-offline.png rename to src/static/images/icons/builder-offline.png diff --git a/data/static/images/icons/builder-online.png b/src/static/images/icons/builder-online.png similarity index 100% rename from data/static/images/icons/builder-online.png rename to src/static/images/icons/builder-online.png diff --git a/data/static/images/img01.jpg b/src/static/images/img01.jpg similarity index 100% rename from data/static/images/img01.jpg rename to src/static/images/img01.jpg diff --git a/data/static/images/img02.jpg b/src/static/images/img02.jpg similarity index 100% rename from data/static/images/img02.jpg rename to src/static/images/img02.jpg diff --git a/data/static/images/img03.jpg b/src/static/images/img03.jpg similarity index 100% rename from data/static/images/img03.jpg rename to src/static/images/img03.jpg diff --git a/data/static/images/img04.jpg b/src/static/images/img04.jpg similarity index 100% rename from data/static/images/img04.jpg rename to src/static/images/img04.jpg diff --git a/data/static/images/ipfire_tux_128x128.png b/src/static/images/ipfire_tux_128x128.png similarity index 100% rename from data/static/images/ipfire_tux_128x128.png rename to src/static/images/ipfire_tux_128x128.png diff --git a/data/static/images/readme.txt b/src/static/images/readme.txt similarity index 100% rename from data/static/images/readme.txt rename to src/static/images/readme.txt diff --git a/data/static/img b/src/static/img similarity index 100% rename from data/static/img rename to src/static/img diff --git a/data/static/js/bootstrap.min.js b/src/static/js/bootstrap.min.js similarity index 100% rename from data/static/js/bootstrap.min.js rename to src/static/js/bootstrap.min.js diff --git a/data/static/js/jquery.js b/src/static/js/jquery.js similarity index 100% rename from data/static/js/jquery.js rename to src/static/js/jquery.js diff --git a/data/static/js/pbs.js b/src/static/js/pbs.js similarity index 100% rename from data/static/js/pbs.js rename to src/static/js/pbs.js diff --git a/data/static/js/prettify.js b/src/static/js/prettify.js similarity index 100% rename from data/static/js/prettify.js rename to src/static/js/prettify.js diff --git a/data/static/robots.txt b/src/static/robots.txt similarity index 100% rename from data/static/robots.txt rename to src/static/robots.txt diff --git a/data/templates/base-form1.html b/src/templates/base-form1.html similarity index 100% rename from data/templates/base-form1.html rename to src/templates/base-form1.html diff --git a/data/templates/base-form2.html b/src/templates/base-form2.html similarity index 100% rename from data/templates/base-form2.html rename to src/templates/base-form2.html diff --git a/data/templates/base.html b/src/templates/base.html similarity index 100% rename from data/templates/base.html rename to src/templates/base.html diff --git a/data/templates/build-bugs.html b/src/templates/build-bugs.html similarity index 100% rename from data/templates/build-bugs.html rename to src/templates/build-bugs.html diff --git a/data/templates/build-delete.html b/src/templates/build-delete.html similarity index 100% rename from data/templates/build-delete.html rename to src/templates/build-delete.html diff --git a/data/templates/build-detail.html b/src/templates/build-detail.html similarity index 100% rename from data/templates/build-detail.html rename to src/templates/build-detail.html diff --git a/data/templates/build-filter.html b/src/templates/build-filter.html similarity index 100% rename from data/templates/build-filter.html rename to src/templates/build-filter.html diff --git a/data/templates/build-index.html b/src/templates/build-index.html similarity index 100% rename from data/templates/build-index.html rename to src/templates/build-index.html diff --git a/data/templates/build-list.html b/src/templates/build-list.html similarity index 100% rename from data/templates/build-list.html rename to src/templates/build-list.html diff --git a/data/templates/build-manage.html b/src/templates/build-manage.html similarity index 100% rename from data/templates/build-manage.html rename to src/templates/build-manage.html diff --git a/data/templates/build-priority.html b/src/templates/build-priority.html similarity index 100% rename from data/templates/build-priority.html rename to src/templates/build-priority.html diff --git a/data/templates/build-queue.html b/src/templates/build-queue.html similarity index 100% rename from data/templates/build-queue.html rename to src/templates/build-queue.html diff --git a/data/templates/build-schedule-test.html b/src/templates/build-schedule-test.html similarity index 100% rename from data/templates/build-schedule-test.html rename to src/templates/build-schedule-test.html diff --git a/data/templates/build-state.html b/src/templates/build-state.html similarity index 100% rename from data/templates/build-state.html rename to src/templates/build-state.html diff --git a/data/templates/builders/delete.html b/src/templates/builders/delete.html similarity index 100% rename from data/templates/builders/delete.html rename to src/templates/builders/delete.html diff --git a/data/templates/builders/detail.html b/src/templates/builders/detail.html similarity index 100% rename from data/templates/builders/detail.html rename to src/templates/builders/detail.html diff --git a/data/templates/builders/edit.html b/src/templates/builders/edit.html similarity index 100% rename from data/templates/builders/edit.html rename to src/templates/builders/edit.html diff --git a/data/templates/builders/list.html b/src/templates/builders/list.html similarity index 100% rename from data/templates/builders/list.html rename to src/templates/builders/list.html diff --git a/data/templates/builders/new.html b/src/templates/builders/new.html similarity index 100% rename from data/templates/builders/new.html rename to src/templates/builders/new.html diff --git a/data/templates/builders/pass.html b/src/templates/builders/pass.html similarity index 100% rename from data/templates/builders/pass.html rename to src/templates/builders/pass.html diff --git a/data/templates/builds-watchers-add.html b/src/templates/builds-watchers-add.html similarity index 100% rename from data/templates/builds-watchers-add.html rename to src/templates/builds-watchers-add.html diff --git a/data/templates/builds-watchers-list.html b/src/templates/builds-watchers-list.html similarity index 100% rename from data/templates/builds-watchers-list.html rename to src/templates/builds-watchers-list.html diff --git a/data/templates/builds/comments.html b/src/templates/builds/comments.html similarity index 100% rename from data/templates/builds/comments.html rename to src/templates/builds/comments.html diff --git a/data/templates/distro-detail.html b/src/templates/distro-detail.html similarity index 100% rename from data/templates/distro-detail.html rename to src/templates/distro-detail.html diff --git a/data/templates/distro-edit.html b/src/templates/distro-edit.html similarity index 100% rename from data/templates/distro-edit.html rename to src/templates/distro-edit.html diff --git a/data/templates/distro-list.html b/src/templates/distro-list.html similarity index 100% rename from data/templates/distro-list.html rename to src/templates/distro-list.html diff --git a/data/templates/distro-source-commit-detail.html b/src/templates/distro-source-commit-detail.html similarity index 100% rename from data/templates/distro-source-commit-detail.html rename to src/templates/distro-source-commit-detail.html diff --git a/data/templates/distro-source-commit-reset.html b/src/templates/distro-source-commit-reset.html similarity index 100% rename from data/templates/distro-source-commit-reset.html rename to src/templates/distro-source-commit-reset.html diff --git a/data/templates/distro-source-commits.html b/src/templates/distro-source-commits.html similarity index 100% rename from data/templates/distro-source-commits.html rename to src/templates/distro-source-commits.html diff --git a/data/templates/distro-source-detail.html b/src/templates/distro-source-detail.html similarity index 100% rename from data/templates/distro-source-detail.html rename to src/templates/distro-source-detail.html diff --git a/data/templates/distro-update-detail.html b/src/templates/distro-update-detail.html similarity index 100% rename from data/templates/distro-update-detail.html rename to src/templates/distro-update-detail.html diff --git a/data/templates/distro-update-edit.html b/src/templates/distro-update-edit.html similarity index 100% rename from data/templates/distro-update-edit.html rename to src/templates/distro-update-edit.html diff --git a/data/templates/docs-base.html b/src/templates/docs-base.html similarity index 100% rename from data/templates/docs-base.html rename to src/templates/docs-base.html diff --git a/data/templates/docs-build.html b/src/templates/docs-build.html similarity index 100% rename from data/templates/docs-build.html rename to src/templates/docs-build.html diff --git a/data/templates/docs-index.html b/src/templates/docs-index.html similarity index 100% rename from data/templates/docs-index.html rename to src/templates/docs-index.html diff --git a/data/templates/docs-users.html b/src/templates/docs-users.html similarity index 100% rename from data/templates/docs-users.html rename to src/templates/docs-users.html diff --git a/data/templates/docs-whatsthis.html b/src/templates/docs-whatsthis.html similarity index 100% rename from data/templates/docs-whatsthis.html rename to src/templates/docs-whatsthis.html diff --git a/data/templates/errors/error-400.html b/src/templates/errors/error-400.html similarity index 100% rename from data/templates/errors/error-400.html rename to src/templates/errors/error-400.html diff --git a/data/templates/errors/error-403.html b/src/templates/errors/error-403.html similarity index 100% rename from data/templates/errors/error-403.html rename to src/templates/errors/error-403.html diff --git a/data/templates/errors/error-404.html b/src/templates/errors/error-404.html similarity index 100% rename from data/templates/errors/error-404.html rename to src/templates/errors/error-404.html diff --git a/data/templates/errors/error.html b/src/templates/errors/error.html similarity index 100% rename from data/templates/errors/error.html rename to src/templates/errors/error.html diff --git a/data/templates/file-detail.html b/src/templates/file-detail.html similarity index 100% rename from data/templates/file-detail.html rename to src/templates/file-detail.html diff --git a/data/templates/index.html b/src/templates/index.html similarity index 100% rename from data/templates/index.html rename to src/templates/index.html diff --git a/data/templates/job-schedule-rebuild.html b/src/templates/job-schedule-rebuild.html similarity index 100% rename from data/templates/job-schedule-rebuild.html rename to src/templates/job-schedule-rebuild.html diff --git a/data/templates/job-schedule-test.html b/src/templates/job-schedule-test.html similarity index 100% rename from data/templates/job-schedule-test.html rename to src/templates/job-schedule-test.html diff --git a/data/templates/jobs-abort.html b/src/templates/jobs-abort.html similarity index 100% rename from data/templates/jobs-abort.html rename to src/templates/jobs-abort.html diff --git a/data/templates/jobs-buildroot.html b/src/templates/jobs-buildroot.html similarity index 100% rename from data/templates/jobs-buildroot.html rename to src/templates/jobs-buildroot.html diff --git a/data/templates/jobs-detail.html b/src/templates/jobs-detail.html similarity index 100% rename from data/templates/jobs-detail.html rename to src/templates/jobs-detail.html diff --git a/data/templates/jobs-filter.html b/src/templates/jobs-filter.html similarity index 100% rename from data/templates/jobs-filter.html rename to src/templates/jobs-filter.html diff --git a/data/templates/jobs-index.html b/src/templates/jobs-index.html similarity index 100% rename from data/templates/jobs-index.html rename to src/templates/jobs-index.html diff --git a/data/templates/keys-delete.html b/src/templates/keys-delete.html similarity index 100% rename from data/templates/keys-delete.html rename to src/templates/keys-delete.html diff --git a/data/templates/keys-import.html b/src/templates/keys-import.html similarity index 100% rename from data/templates/keys-import.html rename to src/templates/keys-import.html diff --git a/data/templates/keys-list.html b/src/templates/keys-list.html similarity index 100% rename from data/templates/keys-list.html rename to src/templates/keys-list.html diff --git a/data/templates/log.html b/src/templates/log.html similarity index 100% rename from data/templates/log.html rename to src/templates/log.html diff --git a/data/templates/login.html b/src/templates/login.html similarity index 100% rename from data/templates/login.html rename to src/templates/login.html diff --git a/data/templates/mirrors-delete.html b/src/templates/mirrors-delete.html similarity index 100% rename from data/templates/mirrors-delete.html rename to src/templates/mirrors-delete.html diff --git a/data/templates/mirrors-detail.html b/src/templates/mirrors-detail.html similarity index 100% rename from data/templates/mirrors-detail.html rename to src/templates/mirrors-detail.html diff --git a/data/templates/mirrors-edit.html b/src/templates/mirrors-edit.html similarity index 100% rename from data/templates/mirrors-edit.html rename to src/templates/mirrors-edit.html diff --git a/data/templates/mirrors-list.html b/src/templates/mirrors-list.html similarity index 100% rename from data/templates/mirrors-list.html rename to src/templates/mirrors-list.html diff --git a/data/templates/mirrors-new.html b/src/templates/mirrors-new.html similarity index 100% rename from data/templates/mirrors-new.html rename to src/templates/mirrors-new.html diff --git a/data/templates/modules/bugs-table.html b/src/templates/modules/bugs-table.html similarity index 100% rename from data/templates/modules/bugs-table.html rename to src/templates/modules/bugs-table.html diff --git a/data/templates/modules/build-headline.html b/src/templates/modules/build-headline.html similarity index 100% rename from data/templates/modules/build-headline.html rename to src/templates/modules/build-headline.html diff --git a/data/templates/modules/build-log.html b/src/templates/modules/build-log.html similarity index 100% rename from data/templates/modules/build-log.html rename to src/templates/modules/build-log.html diff --git a/data/templates/modules/build-offset.html b/src/templates/modules/build-offset.html similarity index 100% rename from data/templates/modules/build-offset.html rename to src/templates/modules/build-offset.html diff --git a/data/templates/modules/build-state-warnings.html b/src/templates/modules/build-state-warnings.html similarity index 100% rename from data/templates/modules/build-state-warnings.html rename to src/templates/modules/build-state-warnings.html diff --git a/data/templates/modules/build-table.html b/src/templates/modules/build-table.html similarity index 100% rename from data/templates/modules/build-table.html rename to src/templates/modules/build-table.html diff --git a/data/templates/modules/builders/load.html b/src/templates/modules/builders/load.html similarity index 100% rename from data/templates/modules/builders/load.html rename to src/templates/modules/builders/load.html diff --git a/data/templates/modules/changelog/entry.html b/src/templates/modules/changelog/entry.html similarity index 100% rename from data/templates/modules/changelog/entry.html rename to src/templates/modules/changelog/entry.html diff --git a/data/templates/modules/changelog/index.html b/src/templates/modules/changelog/index.html similarity index 100% rename from data/templates/modules/changelog/index.html rename to src/templates/modules/changelog/index.html diff --git a/data/templates/modules/comments-table.html b/src/templates/modules/comments-table.html similarity index 100% rename from data/templates/modules/comments-table.html rename to src/templates/modules/comments-table.html diff --git a/data/templates/modules/commits-table.html b/src/templates/modules/commits-table.html similarity index 100% rename from data/templates/modules/commits-table.html rename to src/templates/modules/commits-table.html diff --git a/data/templates/modules/files-table.html b/src/templates/modules/files-table.html similarity index 100% rename from data/templates/modules/files-table.html rename to src/templates/modules/files-table.html diff --git a/data/templates/modules/footer.html b/src/templates/modules/footer.html similarity index 100% rename from data/templates/modules/footer.html rename to src/templates/modules/footer.html diff --git a/data/templates/modules/jobs-table.html b/src/templates/modules/jobs-table.html similarity index 100% rename from data/templates/modules/jobs-table.html rename to src/templates/modules/jobs-table.html diff --git a/data/templates/modules/jobs/boxes.html b/src/templates/modules/jobs/boxes.html similarity index 100% rename from data/templates/modules/jobs/boxes.html rename to src/templates/modules/jobs/boxes.html diff --git a/data/templates/modules/jobs/list.html b/src/templates/modules/jobs/list.html similarity index 100% rename from data/templates/modules/jobs/list.html rename to src/templates/modules/jobs/list.html diff --git a/data/templates/modules/jobs/status.html b/src/templates/modules/jobs/status.html similarity index 100% rename from data/templates/modules/jobs/status.html rename to src/templates/modules/jobs/status.html diff --git a/data/templates/modules/log-entry-comment.html b/src/templates/modules/log-entry-comment.html similarity index 100% rename from data/templates/modules/log-entry-comment.html rename to src/templates/modules/log-entry-comment.html diff --git a/data/templates/modules/log-entry-small.html b/src/templates/modules/log-entry-small.html similarity index 100% rename from data/templates/modules/log-entry-small.html rename to src/templates/modules/log-entry-small.html diff --git a/data/templates/modules/log-entry.html b/src/templates/modules/log-entry.html similarity index 100% rename from data/templates/modules/log-entry.html rename to src/templates/modules/log-entry.html diff --git a/data/templates/modules/log-files-table.html b/src/templates/modules/log-files-table.html similarity index 100% rename from data/templates/modules/log-files-table.html rename to src/templates/modules/log-files-table.html diff --git a/data/templates/modules/log-table.html b/src/templates/modules/log-table.html similarity index 100% rename from data/templates/modules/log-table.html rename to src/templates/modules/log-table.html diff --git a/data/templates/modules/log.html b/src/templates/modules/log.html similarity index 100% rename from data/templates/modules/log.html rename to src/templates/modules/log.html diff --git a/data/templates/modules/maintainer.html b/src/templates/modules/maintainer.html similarity index 100% rename from data/templates/modules/maintainer.html rename to src/templates/modules/maintainer.html diff --git a/data/templates/modules/modal-base.html b/src/templates/modules/modal-base.html similarity index 100% rename from data/templates/modules/modal-base.html rename to src/templates/modules/modal-base.html diff --git a/data/templates/modules/modal-build-comment.html b/src/templates/modules/modal-build-comment.html similarity index 100% rename from data/templates/modules/modal-build-comment.html rename to src/templates/modules/modal-build-comment.html diff --git a/data/templates/modules/modal-build-push.html b/src/templates/modules/modal-build-push.html similarity index 100% rename from data/templates/modules/modal-build-push.html rename to src/templates/modules/modal-build-push.html diff --git a/data/templates/modules/modal-build-unpush.html b/src/templates/modules/modal-build-unpush.html similarity index 100% rename from data/templates/modules/modal-build-unpush.html rename to src/templates/modules/modal-build-unpush.html diff --git a/data/templates/modules/package-header.html b/src/templates/modules/package-header.html similarity index 100% rename from data/templates/modules/package-header.html rename to src/templates/modules/package-header.html diff --git a/data/templates/modules/package-table-detail.html b/src/templates/modules/package-table-detail.html similarity index 100% rename from data/templates/modules/package-table-detail.html rename to src/templates/modules/package-table-detail.html diff --git a/data/templates/modules/packages-files-table.html b/src/templates/modules/packages-files-table.html similarity index 100% rename from data/templates/modules/packages-files-table.html rename to src/templates/modules/packages-files-table.html diff --git a/data/templates/modules/packages-table.html b/src/templates/modules/packages-table.html similarity index 100% rename from data/templates/modules/packages-table.html rename to src/templates/modules/packages-table.html diff --git a/data/templates/modules/packages/dependency-table.html b/src/templates/modules/packages/dependency-table.html similarity index 100% rename from data/templates/modules/packages/dependency-table.html rename to src/templates/modules/packages/dependency-table.html diff --git a/data/templates/modules/repo-actions-table.html b/src/templates/modules/repo-actions-table.html similarity index 100% rename from data/templates/modules/repo-actions-table.html rename to src/templates/modules/repo-actions-table.html diff --git a/data/templates/modules/repository-table.html b/src/templates/modules/repository-table.html similarity index 100% rename from data/templates/modules/repository-table.html rename to src/templates/modules/repository-table.html diff --git a/data/templates/modules/select/locale.html b/src/templates/modules/select/locale.html similarity index 100% rename from data/templates/modules/select/locale.html rename to src/templates/modules/select/locale.html diff --git a/data/templates/modules/select/timezone.html b/src/templates/modules/select/timezone.html similarity index 100% rename from data/templates/modules/select/timezone.html rename to src/templates/modules/select/timezone.html diff --git a/data/templates/modules/source-table.html b/src/templates/modules/source-table.html similarity index 100% rename from data/templates/modules/source-table.html rename to src/templates/modules/source-table.html diff --git a/data/templates/modules/updates-table.html b/src/templates/modules/updates-table.html similarity index 100% rename from data/templates/modules/updates-table.html rename to src/templates/modules/updates-table.html diff --git a/data/templates/modules/user-table.html b/src/templates/modules/user-table.html similarity index 100% rename from data/templates/modules/user-table.html rename to src/templates/modules/user-table.html diff --git a/data/templates/modules/watchers-sidebar-table.html b/src/templates/modules/watchers-sidebar-table.html similarity index 100% rename from data/templates/modules/watchers-sidebar-table.html rename to src/templates/modules/watchers-sidebar-table.html diff --git a/data/templates/package-detail-list.html b/src/templates/package-detail-list.html similarity index 100% rename from data/templates/package-detail-list.html rename to src/templates/package-detail-list.html diff --git a/data/templates/package-detail.html b/src/templates/package-detail.html similarity index 100% rename from data/templates/package-detail.html rename to src/templates/package-detail.html diff --git a/data/templates/package-properties.html b/src/templates/package-properties.html similarity index 100% rename from data/templates/package-properties.html rename to src/templates/package-properties.html diff --git a/data/templates/packages-list.html b/src/templates/packages-list.html similarity index 100% rename from data/templates/packages-list.html rename to src/templates/packages-list.html diff --git a/data/templates/packages/builds/scratch.html b/src/templates/packages/builds/scratch.html similarity index 100% rename from data/templates/packages/builds/scratch.html rename to src/templates/packages/builds/scratch.html diff --git a/data/templates/packages/builds/times.html b/src/templates/packages/builds/times.html similarity index 100% rename from data/templates/packages/builds/times.html rename to src/templates/packages/builds/times.html diff --git a/data/templates/packages/changelog.html b/src/templates/packages/changelog.html similarity index 100% rename from data/templates/packages/changelog.html rename to src/templates/packages/changelog.html diff --git a/data/templates/packages/view-file.html b/src/templates/packages/view-file.html similarity index 100% rename from data/templates/packages/view-file.html rename to src/templates/packages/view-file.html diff --git a/data/templates/register-activation-fail.html b/src/templates/register-activation-fail.html similarity index 100% rename from data/templates/register-activation-fail.html rename to src/templates/register-activation-fail.html diff --git a/data/templates/register-activation-success.html b/src/templates/register-activation-success.html similarity index 100% rename from data/templates/register-activation-success.html rename to src/templates/register-activation-success.html diff --git a/data/templates/register-fail.html b/src/templates/register-fail.html similarity index 100% rename from data/templates/register-fail.html rename to src/templates/register-fail.html diff --git a/data/templates/register-success.html b/src/templates/register-success.html similarity index 100% rename from data/templates/register-success.html rename to src/templates/register-success.html diff --git a/data/templates/register.html b/src/templates/register.html similarity index 100% rename from data/templates/register.html rename to src/templates/register.html diff --git a/data/templates/repository-detail.html b/src/templates/repository-detail.html similarity index 100% rename from data/templates/repository-detail.html rename to src/templates/repository-detail.html diff --git a/data/templates/repository-edit.html b/src/templates/repository-edit.html similarity index 100% rename from data/templates/repository-edit.html rename to src/templates/repository-edit.html diff --git a/data/templates/search-form.html b/src/templates/search-form.html similarity index 100% rename from data/templates/search-form.html rename to src/templates/search-form.html diff --git a/data/templates/search-results.html b/src/templates/search-results.html similarity index 100% rename from data/templates/search-results.html rename to src/templates/search-results.html diff --git a/data/templates/sessions/index.html b/src/templates/sessions/index.html similarity index 100% rename from data/templates/sessions/index.html rename to src/templates/sessions/index.html diff --git a/data/templates/source-list.html b/src/templates/source-list.html similarity index 100% rename from data/templates/source-list.html rename to src/templates/source-list.html diff --git a/data/templates/statistics/index.html b/src/templates/statistics/index.html similarity index 100% rename from data/templates/statistics/index.html rename to src/templates/statistics/index.html diff --git a/data/templates/updates-index.html b/src/templates/updates-index.html similarity index 100% rename from data/templates/updates-index.html rename to src/templates/updates-index.html diff --git a/data/templates/uploads-list.html b/src/templates/uploads-list.html similarity index 100% rename from data/templates/uploads-list.html rename to src/templates/uploads-list.html diff --git a/data/templates/user-comments.html b/src/templates/user-comments.html similarity index 100% rename from data/templates/user-comments.html rename to src/templates/user-comments.html diff --git a/data/templates/user-delete.html b/src/templates/user-delete.html similarity index 100% rename from data/templates/user-delete.html rename to src/templates/user-delete.html diff --git a/data/templates/user-forgot-password.html b/src/templates/user-forgot-password.html similarity index 100% rename from data/templates/user-forgot-password.html rename to src/templates/user-forgot-password.html diff --git a/data/templates/user-impersonation.html b/src/templates/user-impersonation.html similarity index 100% rename from data/templates/user-impersonation.html rename to src/templates/user-impersonation.html diff --git a/data/templates/user-list.html b/src/templates/user-list.html similarity index 100% rename from data/templates/user-list.html rename to src/templates/user-list.html diff --git a/data/templates/user-profile-builds.html b/src/templates/user-profile-builds.html similarity index 100% rename from data/templates/user-profile-builds.html rename to src/templates/user-profile-builds.html diff --git a/data/templates/user-profile-edit-fail.html b/src/templates/user-profile-edit-fail.html similarity index 100% rename from data/templates/user-profile-edit-fail.html rename to src/templates/user-profile-edit-fail.html diff --git a/data/templates/user-profile-edit.html b/src/templates/user-profile-edit.html similarity index 100% rename from data/templates/user-profile-edit.html rename to src/templates/user-profile-edit.html diff --git a/data/templates/user-profile-need-activation.html b/src/templates/user-profile-need-activation.html similarity index 100% rename from data/templates/user-profile-need-activation.html rename to src/templates/user-profile-need-activation.html diff --git a/data/templates/user-profile-passwd-ok.html b/src/templates/user-profile-passwd-ok.html similarity index 100% rename from data/templates/user-profile-passwd-ok.html rename to src/templates/user-profile-passwd-ok.html diff --git a/data/templates/user-profile-passwd.html b/src/templates/user-profile-passwd.html similarity index 100% rename from data/templates/user-profile-passwd.html rename to src/templates/user-profile-passwd.html diff --git a/data/templates/user-profile.html b/src/templates/user-profile.html similarity index 100% rename from data/templates/user-profile.html rename to src/templates/user-profile.html diff --git a/web/__init__.py b/src/web/__init__.py similarity index 100% rename from web/__init__.py rename to src/web/__init__.py diff --git a/web/handlers.py b/src/web/handlers.py similarity index 100% rename from web/handlers.py rename to src/web/handlers.py diff --git a/web/handlers_api.py b/src/web/handlers_api.py similarity index 100% rename from web/handlers_api.py rename to src/web/handlers_api.py diff --git a/web/handlers_auth.py b/src/web/handlers_auth.py similarity index 100% rename from web/handlers_auth.py rename to src/web/handlers_auth.py diff --git a/web/handlers_base.py b/src/web/handlers_base.py similarity index 100% rename from web/handlers_base.py rename to src/web/handlers_base.py diff --git a/web/handlers_builders.py b/src/web/handlers_builders.py similarity index 100% rename from web/handlers_builders.py rename to src/web/handlers_builders.py diff --git a/web/handlers_builds.py b/src/web/handlers_builds.py similarity index 100% rename from web/handlers_builds.py rename to src/web/handlers_builds.py diff --git a/web/handlers_distro.py b/src/web/handlers_distro.py similarity index 100% rename from web/handlers_distro.py rename to src/web/handlers_distro.py diff --git a/web/handlers_jobs.py b/src/web/handlers_jobs.py similarity index 100% rename from web/handlers_jobs.py rename to src/web/handlers_jobs.py diff --git a/web/handlers_keys.py b/src/web/handlers_keys.py similarity index 100% rename from web/handlers_keys.py rename to src/web/handlers_keys.py diff --git a/web/handlers_mirrors.py b/src/web/handlers_mirrors.py similarity index 100% rename from web/handlers_mirrors.py rename to src/web/handlers_mirrors.py diff --git a/web/handlers_packages.py b/src/web/handlers_packages.py similarity index 100% rename from web/handlers_packages.py rename to src/web/handlers_packages.py diff --git a/web/handlers_search.py b/src/web/handlers_search.py similarity index 100% rename from web/handlers_search.py rename to src/web/handlers_search.py diff --git a/web/handlers_updates.py b/src/web/handlers_updates.py similarity index 100% rename from web/handlers_updates.py rename to src/web/handlers_updates.py diff --git a/web/handlers_users.py b/src/web/handlers_users.py similarity index 100% rename from web/handlers_users.py rename to src/web/handlers_users.py diff --git a/web/ui_modules.py b/src/web/ui_modules.py similarity index 100% rename from web/ui_modules.py rename to src/web/ui_modules.py