Miscellaneous

Terms of use

Yes, use it. The do303 service was written after another Hey, I’m doing this again, there should a program for it. I’m happy that other people use it also. So tell your friends that it exists. Use it and enjoy it.

Contact

Compliments and/or complains in an email to stappers at stappers dot it.

Definition

Packages files that go in the lookup tables.

#
# YAML
#
---

- top: http://ftp.nl.debian.org/debian
  sn: debian
  suite:
    - jessie
    - jessie-backports
    - stretch
    - stretch-backports
    # stretch-dbg
    - buster
    - sid
    - experimental
  symlink:
    # source : destination
    - jessie: oldstable
    - stretch: stable
    - buster: testing
    - sid: unstable
  component:
    - main
    - contrib
    - non-free
  arch:
    - all
    - armhf
    - arm64
    - aarch64
    - amd64
    - i386
    - mips
- top: http://archive.ubuntu.com/ubuntu
  sn: ubuntu
  arch:
    - amd64
    - i386
  suite:
    - xenial
    - yakkety
  symlink:
    - xenial: 16.04
    - yakkety: 16.10
  component:
    - main
    - universe
    - multiverse
- top: http://ppa.launchpad.net/zorin-os/packages/ubuntu
  sn: zorin-os
  compress: gz
  arch:
    - amd64
    - arm64
  suite:
    - vidid
    - wily
  symlink:
    - vidid: 15.04
    - wily: 15.10
  component:
    - main
- top: http://packages.linuxmint.com
  sn: mint
  compress: gz
  arch:
    - amd64
  suite:
    - rosa
  component:
    - main
- top: http://packages.linuxmint.com
  sn: matrix
  compress: gz
  arch:
    - amd64
  suite:
    - rosa
  component:
    - main
# l l

Daily

To keep the actual lookup table in shape, there is a daily script. Have a glance at it.

#!/bin/bash
#
#  Daily handling for "303"
#  typical use is a cronjob
#
DAY=$( LANG=C date +%a )
LDAY=$( LANG=C date +%A )
# Daily Import Log
DIL=ra/reports/import.${DAY}.txt
# HTMLized D.I.L.
HDIL=ra/_build/html/import.${DAY}.html
#
cd $(dirname ${0})
cd ..  # so we can say 'do'
#
exec > /tmp/daily303.log 2>&1
#
do/generatedownloadscript.py > do/downloadscript
# get those Packages files
bash do/downloadscript
#
# the Packages files into database
do/process.py > ${DIL} 2>&1
#
do/htmlizedil ${DIL} ${HDIL} ${LDAY}
# 
do/report # what is in the database
do/build-sphinx
do/copyHTMLtoWebserver
#
# l l

Importlog

The import log

Feedback

Section reserved for feedback. Created 2016-07-14 and no need for updating yet :-)

See other