[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] 3 commits: add job for epydoc documentation



Title: GitLab

Ansgar Burchardt pushed to branch master at Debian FTP Team / dak

Commits:

3 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -20,3 +20,16 @@ flake8:
    20 20
         - apt-get update
    
    21 21
         - apt-get install -y python-flake8
    
    22 22
         - python -mflake8
    
    23
    +
    
    24
    +pages:
    
    25
    +  image: debian:9
    
    26
    +  script:
    
    27
    +    - apt-get update
    
    28
    +    - apt-get install -y python-epydoc
    
    29
    +    - mkdir -p public/epydoc
    
    30
    +    - epydoc -q --html --graph all --css blue -n DAK -o public/epydoc --include-log --show-imports dak dakweb
    
    31
    +  artifacts:
    
    32
    +    paths:
    
    33
    +      - public
    
    34
    +  only:
    
    35
    +    - master

  • config/debian/apache.conf-ftp
    ... ... @@ -15,6 +15,7 @@ Use common-debian-service-https-redirect * ftp-master.debian.org
    15 15
       Redirect permanent /oldstable-proposed-updates.html https://release.debian.org/proposed-updates/oldstable.html
    
    16 16
       Redirect permanent /testing/hints/transitions.yaml https://ftp-master.debian.org/transitions.yaml
    
    17 17
       Redirect permanent /git/archvsync.git https://salsa.debian.org/mirror-team/archvsync
    
    18
    +  Redirect permanent /epydoc https://ftp-team.pages.debian.net/dak/epydoc
    
    18 19
       Alias /users/ /srv/ftp.debian.org/web-users/
    
    19 20
       Alias /static/lintian.tags /srv/ftp-master.debian.org/dak/config/debian/lintian.tags
    
    20 21
     
    

  • dakweb/dakwebserver.py
    ... ... @@ -26,7 +26,7 @@ QueryRegister().register_path('/', root_path)
    26 26
     @bottle.route('/list_paths')
    
    27 27
     def list_paths():
    
    28 28
         """Returns a list of available paths"""
    
    29
    -    redirect("https://ftp-master.debian.org/epydoc/dakweb-module.html#__package__")
    
    29
    +    redirect("https://ftp-team.pages.debian.net/dak/epydoc/dakweb-module.html#__package__")
    
    30 30
     QueryRegister().register_path('/list_paths', list_paths)
    
    31 31
     
    
    32 32
     
    
    ... ... @@ -36,7 +36,7 @@ def path_help(path=None):
    36 36
         if path is None:
    
    37 37
             return bottle.HTTPError(503, 'Path not specified.')
    
    38 38
     
    
    39
    -    redirect("https://ftp-master.debian.org/epydoc/%s-module.html#%s" %
    
    39
    +    redirect("https://ftp-team.pages.debian.net/dak/epydoc/%s-module.html#%s" %
    
    40 40
                  (QueryRegister().get_path_help(path), path))
    
    41 41
     QueryRegister().register_path('/path_help', list_paths)
    
    42 42
     
    


  • Reply to: