Project

General

Profile

Bug #569

pacman2pacman - Bug #29: Create P2P mirror infrastructure

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

xylon - almost 10 years ago - . Updated about 2 years 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 almost 10 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 almost 10 years ago

  • Project changed from pbot-ng to pacman2pacman
#3

Updated by xylon over 9 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 over 9 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 over 8 years ago

why am i assigned to this?

#6

Updated by fauno over 8 years ago

  • Assignee deleted (fauno)
#7

Updated by lukeshu over 5 years ago

  • Project changed from pacman2pacman to dbscripts
#8

Updated by bill-auger about 2 years ago

  • Parent task set to #29

Also available in: Atom PDF