public developer repository for reprepro
C Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
tests
.gitignore
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
NEWS
README
TODO
acinclude.m4
aptmethod.c
aptmethod.h
ar.c fix archive_set_error usage (it expects a format string) Sep 28, 2011
ar.h
archallflood.c
archallflood.h
atoms.c
atoms.h
autogen.sh
binaries.c
binaries.h
byhandhook.c
byhandhook.h
changes.c
changes.h
checkin.c
checkin.h
checkindeb.c
checkindeb.h
checkindsc.c
checkindsc.h
checks.c
checks.h
checksums.c
checksums.h
chunkedit.c
chunkedit.h
chunks.c
chunks.h
configparser.c
configparser.h
configure.ac
contents.c
contents.h
copypackages.c
copypackages.h make database global, don't pass struct database around all the time Apr 15, 2011
database.c
database.h
database_p.h
debfile.c
debfile.h
debfilecontents.c
diffindex.c
diffindex.h
dirs.c
dirs.h
distribution.c
distribution.h
donefile.c
donefile.h
downloadcache.c
downloadcache.h
dpkgversions.c
dpkgversions.h
error.h
exports.c
exports.h
extractcontrol.c
filecntl.c
filecntl.h
filelist.c
filelist.h
files.c
files.h
filterlist.c expand ~/, +b/ and +c/ in config filenames, allow absolute filenames … Mar 26, 2012
filterlist.h
freespace.c
freespace.h
globals.h
globmatch.c
globmatch.h
guesscomponent.c
guesscomponent.h
ignore.c
ignore.h output warning if uploaders files contain key it most likely too long Dec 18, 2011
incoming.c
incoming.h
indexfile.c
indexfile.h
log.c
log.h
main.c
md5.c
md5.h
mprintf.c
mprintf.h
names.c
names.h
needbuild.c
needbuild.h
optionsfile.c
optionsfile.h
override.c
override.h
pool.c
pool.h
printlistformat.c
printlistformat.h
pull.c
pull.h
readrelease.c
readrelease.h
readtextfile.c
readtextfile.h
reference.c
reference.h
release.c
release.h
remoterepository.c
remoterepository.h remove unused functions and prototypes Apr 15, 2011
rredpatch.c
rredpatch.h
rredtool.c
sha1.c
sha1.h
sha256.c
sha256.h
signature.c
signature.h
signature_check.c
signature_p.h fix build with --without-libgpgme Nov 22, 2009
sizes.c
sizes.h
sourcecheck.c make database global, don't pass struct database around all the time Apr 15, 2011
sourcecheck.h
sourceextraction.c
sourceextraction.h
sources.c
sources.h
strlist.c
strlist.h
target.c
target.h
termdecide.c
termdecide.h add , , , , , as special fields in formulas Jul 25, 2009
terms.c
terms.h general disruptive syntax cleanup Apr 15, 2011
tool.c
tracking.c
tracking.h
trackingt.h
uncompression.c
uncompression.h
updates.c
updates.h
upgradelist.c
upgradelist.h
uploaderslist.c
uploaderslist.h
valgrind.nodebug.supp

README

* What it is:

	This project is a leightweight feature complete manager of a debian
	package (i.e. binary .deb and source .dsc+.tar.gz+.diff.gz) repository.
	Emphasis is put on having all packages in the pool/-directory,
	maximal checking of all sources.
	generation of signed Release file, Contents, ...
	Libraries needed are libdb{3,4.?,5.?} and libz.
	Libraries used if available are libgpgme, libbz2 and libarchive.

* Current status:

	The main features work without problems. Some special use cases
	might not be very well tested.

* Some naming conventions:
	basename: the name of a file without any directory information.
	filekey: the position relative to the mirrordir.
	(as found as "Filename:" in Packages.gz)
	full filename: the position relative to /

	architecture: The term like "sparc","i386","mips",...
	component: Things like "main" "non-free" "contrib" ...
		   (somtimes also called sections)
	section: Things like "base" "interpreters" "oldlibs"
		   (sometimes also called subsections)
	type: The kind of packages, currently supported:
		"deb", "udeb" and "dsc".
	target: The smallest unit packages are in. A target
		is specified by the codename of the distribution
		it is in, the architecture, component and type.
		When architecture is "source" exactly when
		the type is "dsc".
	identifier: an internal string to specify a target,
		it has the form "<codename>|<component>|source"
		for type dsc, "<codename>|<component>|<architecture>"
		for type deb and "u|<codename>|<component>|<architecture>"
		for type udeb.

	md5sum: The checksum of a file, being in the format
		"<md5sum of file> <length of file>"


* Differences to how other standard tools handle the situation:

 - mirroring:
 	This makes no real mirror of the distribution, but
	only of it contents. Thus the Index-files will
	be different. (And thus no longer can be verified
	by the offical signatures). This means people using
	this mirror have to trust you to not include anything
	ugly, as they can only check your signature directly.
	(Or in other words: not useful for mirroring things
	 to be used by strangers).
 - location:
 	The directory layout under pool/ is only divided
	by the component and the sourcename. Ecspecially
	woody and updates/woody will share the same space,
	thus avoiding multiple instances of the same file.
	(Can also cause trouble in the rare cases, when both
	 have a file of the same name with different md5sum.
	 Using -f can help here).
 - 'byhand'-section
 	This is currently just implemented as alias for '-',
	to make sure lack of implementation does not cause them
	to land in a byhand-section...
 - Override files:
 	Only the ExtraOverride style of apt-ftparchive(1) is
	supported.
	(i.e. "packagename Section section\npackagename Maintainer maintainer\n")
	Note that other than apt-ftparchive case is most likely
	to be significant. (Having the wrong case in might also
	cause havoc in apt-ftparchive, as that changes the case of
	the fieldname, which might confuse other programms...)

* Things that might be intresting to know:

 - guessing the component:
 	If inserting a binary or source package without naming
	an component, this program has to guess of course.
	This will done the following way: It will take the
	first component with the name of the section, being
	prefix to the section, being suffix to the section
	or having the section as prefix or any.
	Thus having specifiend the components:
	"main non-free contrib non-US/main non-US/non-free non-US/contrib"
	should map .e.g
	"non-US" to "non-US/main" and "contrib/editors" to "contrib",
	while having only "main non-free and contrib" as components should
	map e.g. "non-US/contrib" to "contrib" and "non-US" to "main".

	NOTE: Always specify main as the first component, if you want things
	      to end up there.
	NOTE: unlike in dak, non-US and non-us are different things...