GithubHelp home page GithubHelp logo

pombredanne / packages.debian.org-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rirror/packages.debian.org

0.0 1.0 0.0 1.96 MB

git://anonscm.debian.org/webwml/packages.git

Home Page: https://packages.debian.org/about/

License: GNU General Public License v2.0

Perl 85.51% Shell 5.58% CSS 7.26% JavaScript 1.36% SourcePawn 0.28%

packages.debian.org-1's Introduction

README
======

This README provides an overview over the source code.
For installation instructions see INSTALL.

Request
-------

What code gets executed for a request and in which order?
Perl modules referenced can be found under lib/

       HTTP request
             |
             |
      Apache rewrites       --        serves static files
 (conf/apache.conf.sed.in)         (generated by cron script,
             |                      or installed from static)
             |
     CGI/mod_perl wrapper
    (cgi-bin/dispatcher.pl)
             |
             |
      Request parsing
    (Packages::Dispatcher)
             |
             |
      Execute Action
    (Packages::Do*::do_*,
    uses data from files/)
             |
             |
      generate Output
     (Packages::Template,
  uses templates under templates/<format>/)

Cron
----

./bin/daily executes scripts from cron.d/ with run-parts:
(these are mostly just wrappers for scripts from bin/)

010git                     -- pull changes from git
050checkinst               -- check if all needed packages are installed
100syncarchive             -- retrieve data from main Debian archive
100syncarchive_debports    -- retrieve data from debian-ports.org (m68k)
100syncarchive_installer   -- retrieve d-i data
100syncarchive_maintainers -- retrieve maintainer index
110debtags                 -- retrieve debtags vocabular
120synctrans               -- retrieve DDTP translations
200process_archive         -- convert all retrieved data to databases
                              (see BACKEND)
300maintainerdb            -- create data for @packages.d.o aliases
400changelogs_map          -- create changelogs map (for changelog: shortcut)
500update_po               -- update .pot and .po files and generate .gmo
600index_pages             -- create static index pages
                              <suite>/, <suite>/<subsection>, and
                              allpackages
600prepare_newpkg          -- prepare data for newpkg sites
700install_static          -- install data from static/ to www/

After that ./bin/daily runs ./bin/extract_changelogs to update
the changelogs in www/changelogs.

logs can be found in files/logs/{cron,changelogs,git}.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.