repoinport

About

repoinport will search a directory recursively and make a note of the path of all the .deb files. The program will then go on to import the .deb files into the repository using the reprepro program. The program must be executed while in the root directory of the repository were the new .deb files will be imported

Download:

repoinport (.py file) repoinport (source)

Browse code on Subversion server

Version: 1.0

Language: Python

Platform: Tested on Linux (Ubuntu 7.10)

Use: From running: python repoinport.py –help should explain most of it. Any patches welcome.

NAME

repoinport – import .deb files into repository

SYNOPSIS

repoinport [-v|-h] [-t [directory]] [-r[release]]

DESCRIPTION

repoinport will search a directory recursively and make a note of the path of all the .deb files. The program will then go on to import the .deb files into the repository using the reprepro program. The program must be executed while in the root directory of the repository were the new .deb files will be imported.

OPTIONS

-v :D isplay a lot more output [Not required switch]

-h, –help :D isplay this help then exit

-t, –topdir: The directory to search for .deb files note it will search recursively

-r, –release: The release name that must be used

EXAMPLE

python repoinport -v -t /foo/bar/mydebs -r gutsy :Import all the debs in the /foo/bar/mydebs directory into repository gutsy release

python repoinport -h :Show this help and exit

AUTHOR

Fredre Hattingh [hattingh.fredre@gmail.com]

http://fredreh.wordpress.com

One response

12 03 2008
Create my own apt repository ? « Defcon3 by Fredre

[...] You can download the script here if you like… [...]

Leave a comment