diff options
-rwxr-xr-x | filter.py | 4 | ||||
-rw-r--r-- | local_config.example | 10 | ||||
-rwxr-xr-x | repo-state | 11 | ||||
-rwxr-xr-x | repo-update (renamed from main.sh) | 1 |
4 files changed, 4 insertions, 22 deletions
@@ -4,9 +4,9 @@ from glob import glob from repm.config import * import tarfile -def listado(filename,start=0,end=None): +def listado(filename, start=0, end=None): """Obtiene una lista de paquetes de un archivo.""" - fsock = open(filename,"r") + fsock = open(filename, "r") lista = fsock.read().split("\n") fsock.close() if end is not None: diff --git a/local_config.example b/local_config.example index 2c0ef3e..0a827f4 100644 --- a/local_config.example +++ b/local_config.example @@ -3,9 +3,7 @@ mirror="mirrors.eu.kernel.org" mirrorpath="::mirrors/archlinux" # Directories: they should end without / -## Optionals -paraboladir= -## Must be defined +paraboladir=~/parabolagnulinux.org tempdir=~/tmp archdb=${tempdir}/db docs_dir=${paraboladir}/docs @@ -20,12 +18,6 @@ whitelist=${docs_dir}/whitelist.txt rsync_blacklist=${docs_dir}/rsyncBlacklist rsync_not_needed=${tmp}/rsync_not_needed -# Repos, arches, and dirs for repo -repo_list="core:extra:community:testing:community-testing:multilib" -dir_list="pool" -arch_list="i686:x86_64" -other="any" - # Rsync commands rsync_list_command="rsync\ -ptgoL\ --list-only\ " rsync_update_command="rsync -ptgoL --exclude='*.abs.tar.*'" diff --git a/repo-state b/repo-state deleted file mode 100755 index 319db83..0000000 --- a/repo-state +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -a=$(date +%Y%m%d+%H%M) -mkdir -p $a -cd $a - -. /home/joshpar/programas/arch2parabola/repo-list-diff -# scp parabolavnx@parabolagnulinux.org:~/tmp/rsyncBlacklist.txt ./ - -cd .. -exit 0
\ No newline at end of file @@ -27,6 +27,7 @@ for repo in ${PKGREPOS[@]}; do -b ${repodir}/${repo}/${repo}${DBEXT} fi clean_repo.py -k ${blacklist} -d ${repodir}/${repo} + done done db-update |