Project

General

Profile

Bug #569

The torrent making code should be integrated into the other repo scripts

xylon - over 5 years ago - . Updated about 1 year ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

10%


Description

This should not be hard, I'll work out what needs to be done.

History

#1

Updated by xylon over 5 years ago

I've made an example file of what needs to be done: https://t67.eu/filebin/integrate_pacman2pacman.bash

#2

Updated by xylon over 5 years ago

  • Project changed from pbot-ng to pacman2pacman
#3

Updated by xylon over 5 years ago

I've divided `make_repo_torrents' into two scripts, `make_individual_torrent' to make the actual torrent and a `make_repo_torrents' wrapper to find any updated packages and call `make_individual_torrent' for each. Then, when I work out where to put it, we can get rid of the wrapper script and have it get called during db-sync or wherever.

#4

Updated by xylon about 5 years ago

  • % Done changed from 0 to 10
  • Assignee set to fauno

lukeshu said on IRC:

put it in db-functions:cleanup(), in the "if (( REPO_MODIFIED ));" section. everything except db-sync calls it.

I guess he means `make_repo_torrents'.

So we need to:
  1. Move `make_repo_torrents' out of the `cron-jobs' folder in dbscripts.
  2. Remove the cron job from crontab.
  3. Make `make_repo_torrents' get called from where lukeshu said above.
#5

Updated by fauno about 4 years ago

why am i assigned to this?

#6

Updated by fauno about 4 years ago

  • Assignee deleted (fauno)
#7

Updated by lukeshu about 1 year ago

  • Project changed from pacman2pacman to dbscripts

Also available in: Atom PDF