1
0
Fork
You've already forked reprepro
0
My fork of reprepro. CMake build system, better discovery of dependencies, better compiler support
C 97.5%
CMake 1.6%
Shell 0.5%
Assembly 0.3%
Makefile 0.1%
Find a file
2020年07月08日 19:51:37 +03:00
cmake Refactoring the repo structure 2020年07月08日 19:51:37 +03:00
docs mark 'dumpcontents' command as deprecated 2019年08月04日 14:22:46 +02:00
include/reprepro Refactoring the repo structure 2020年07月08日 19:51:37 +03:00
src Refactoring the repo structure 2020年07月08日 19:51:37 +03:00
tests [tests] depend less on dumpreferences output order 2019年08月04日 14:12:45 +02:00
.gitignore Refactoring the repo structure 2020年07月08日 19:51:37 +03:00
AUTHORS Initial revision 2003年04月01日 15:53:13 +00:00
ChangeLog mark 'dumpcontents' command as deprecated 2019年08月04日 14:22:46 +02:00
CMakeLists.txt Refactoring the repo structure 2020年07月08日 19:51:37 +03:00
config.h.in Refactoring the repo structure 2020年07月08日 19:51:37 +03:00
COPYING new FSF address 2005年09月24日 15:42:30 +00:00
HACKING add start of a HACKING file 2013年11月24日 00:15:16 +01:00
INSTALL update INSTALL 2011年03月04日 13:18:40 +01:00
NEWS release 5.3.0 2019年02月02日 13:38:27 +01:00
README update libraries in README 2012年03月26日 15:16:51 +02:00
TODO update TODO file 2012年11月17日 16:37:35 +01:00
valgrind.nodebug.supp update 2009年07月14日 16:57:32 +00:00

* 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...