mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Merge branch 'docfix' of https://github.com/Temikus/aptly
This commit is contained in:
+3
-3
@@ -45,9 +45,9 @@ repositories, manage local repositories, filter them, merge,
|
|||||||
upgrade individual packages, take snapshots and publish them
|
upgrade individual packages, take snapshots and publish them
|
||||||
back as Debian repositories.
|
back as Debian repositories.
|
||||||
|
|
||||||
aptly goal is to establish repeatiblity and controlled changes
|
aptly's goal is to establish repeatability and controlled changes
|
||||||
in package environment. aptly allows to fix set of packages in
|
in a package-centric environment. aptly allows to fix a set of packages
|
||||||
repository, so that package installation and upgrade becomes
|
in a repository, so that package installation and upgrade becomes
|
||||||
deterministic. At the same time aptly allows to perform controlled,
|
deterministic. At the same time aptly allows to perform controlled,
|
||||||
fine-grained changes in repository contents to transition your
|
fine-grained changes in repository contents to transition your
|
||||||
package environment to new version.`,
|
package environment to new version.`,
|
||||||
|
|||||||
+2
-2
@@ -26,8 +26,8 @@ func makeCmdDbRecover() *commander.Command {
|
|||||||
UsageLine: "recover",
|
UsageLine: "recover",
|
||||||
Short: "recover DB after crash",
|
Short: "recover DB after crash",
|
||||||
Long: `
|
Long: `
|
||||||
Database recover does its best to recover database after crash.
|
Database recover does its' best to recover the database after a crash.
|
||||||
It is recommended to backup DB before running recover.
|
It is recommended to backup the DB before running recover.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -189,7 +189,7 @@ func makeCmdGraph() *commander.Command {
|
|||||||
Long: `
|
Long: `
|
||||||
Command graph displays relationship between mirrors, local repositories,
|
Command graph displays relationship between mirrors, local repositories,
|
||||||
snapshots and published repositories using graphviz package to render
|
snapshots and published repositories using graphviz package to render
|
||||||
graph as image.
|
graph as an image.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ func makeCmdMirrorCreate() *commander.Command {
|
|||||||
Short: "create new mirror",
|
Short: "create new mirror",
|
||||||
Long: `
|
Long: `
|
||||||
Creates mirror <name> of remote repository, aptly supports both regular and flat Debian repositories exported
|
Creates mirror <name> of remote repository, aptly supports both regular and flat Debian repositories exported
|
||||||
via HTTP. aptly would try download Release file from remote repository and verify its signature.
|
via HTTP. aptly would try download Release file from remote repository and verify its' signature.
|
||||||
|
|
||||||
PPA urls could specified in short format:
|
PPA urls could specified in short format:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@ func makeCmdMirrorDrop() *commander.Command {
|
|||||||
Short: "delete mirror",
|
Short: "delete mirror",
|
||||||
Long: `
|
Long: `
|
||||||
Drop deletes information about remote repository mirror <name>. Package data is not deleted
|
Drop deletes information about remote repository mirror <name>. Package data is not deleted
|
||||||
(it could be still used by other mirrors or snapshots). If mirror is used as source
|
(since it could still be used by other mirrors or snapshots). If mirror is used as source
|
||||||
to create a snapshot, aptly would refuse to delete such mirror, use flag -force to override.
|
to create a snapshot, aptly would refuse to delete such mirror, use flag -force to override.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|||||||
+1
-1
@@ -67,7 +67,7 @@ func makeCmdMirrorShow() *commander.Command {
|
|||||||
UsageLine: "show <name>",
|
UsageLine: "show <name>",
|
||||||
Short: "show details about mirror",
|
Short: "show details about mirror",
|
||||||
Long: `
|
Long: `
|
||||||
Shows detailed information about mirror.
|
Shows detailed information about the mirror.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
@@ -58,8 +58,8 @@ func makeCmdMirrorUpdate() *commander.Command {
|
|||||||
Short: "update mirror",
|
Short: "update mirror",
|
||||||
Long: `
|
Long: `
|
||||||
Updates remote mirror (downloads package files and meta information). When mirror is created,
|
Updates remote mirror (downloads package files and meta information). When mirror is created,
|
||||||
this command should be run for the first time to fetch mirror contents. This command could be
|
this command should be run for the first time to fetch mirror contents. This command can be
|
||||||
run many times to get updated repository contents. If interrupted, command could be restarted safely.
|
run multiple times to get updated repository contents. If interrupted, command can be safely restarted.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -187,9 +187,9 @@ func makeCmdRepoAdd() *commander.Command {
|
|||||||
Long: `
|
Long: `
|
||||||
Command adds packages to local repository from .deb (binary packages) and .dsc (source packages) files.
|
Command adds packages to local repository from .deb (binary packages) and .dsc (source packages) files.
|
||||||
When importing from directory aptly would do recursive scan looking for all files matching *.deb or *.dsc
|
When importing from directory aptly would do recursive scan looking for all files matching *.deb or *.dsc
|
||||||
patterns. Every file discovered would be analyzed to extract metadata, package would be created and added
|
patterns. Every file discovered would be analyzed to extract metadata, package would then be created and added
|
||||||
to database. Files would be imported to internal package pool. For source packages, all required files are
|
to the database. Files would be imported to internal package pool. For source packages, all required files are
|
||||||
added as well automatically. Extra files for source package should be in the same directory as *.dsc file.
|
added automatically as well. Extra files for source package should be in the same directory as *.dsc file.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -64,8 +64,8 @@ func makeCmdRepoDrop() *commander.Command {
|
|||||||
UsageLine: "drop <name>",
|
UsageLine: "drop <name>",
|
||||||
Short: "delete local repository",
|
Short: "delete local repository",
|
||||||
Long: `
|
Long: `
|
||||||
Drop deletes information about local repo. Package data is not deleted
|
Drop information about deletions from local repo. Package data is not deleted
|
||||||
(it could be still used by other mirrors or snapshots).
|
(since it could be still used by other mirrors or snapshots).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -61,7 +61,7 @@ func makeCmdRepoList() *commander.Command {
|
|||||||
UsageLine: "list",
|
UsageLine: "list",
|
||||||
Short: "list local repositories",
|
Short: "list local repositories",
|
||||||
Long: `
|
Long: `
|
||||||
List shows full list of local package repositories.
|
List command shows full list of local package repositories.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ func makeCmdRepoShow() *commander.Command {
|
|||||||
UsageLine: "show <name>",
|
UsageLine: "show <name>",
|
||||||
Short: "show details about local repository",
|
Short: "show details about local repository",
|
||||||
Long: `
|
Long: `
|
||||||
Show shows full information about local package repository.
|
Show command shows full information about local package repository.
|
||||||
|
|
||||||
ex:
|
ex:
|
||||||
$ aptly repo show testing
|
$ aptly repo show testing
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ func makeCmdSnapshotDrop() *commander.Command {
|
|||||||
UsageLine: "drop <name>",
|
UsageLine: "drop <name>",
|
||||||
Short: "delete snapshot",
|
Short: "delete snapshot",
|
||||||
Long: `
|
Long: `
|
||||||
Drop removes information about snapshot. If snapshot is published,
|
Drop removes information about a snapshot. If snapshot is published,
|
||||||
it can't be dropped.
|
it can't be dropped.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ func makeCmdSnapshotMerge() *commander.Command {
|
|||||||
UsageLine: "merge <destination> <source> [<source>...]",
|
UsageLine: "merge <destination> <source> [<source>...]",
|
||||||
Short: "merges snapshots",
|
Short: "merges snapshots",
|
||||||
Long: `
|
Long: `
|
||||||
Merge merges several <source> snapshots into one <destination> snapshot.
|
Merge command merges several <source> snapshots into one <destination> snapshot.
|
||||||
Merge happens from left to right. Packages with the same name-architecture
|
Merge happens from left to right. Packages with the same name-architecture
|
||||||
pair are replaced during merge (package from latest snapshot on the list
|
pair are replaced during merge (package from latest snapshot on the list
|
||||||
wins). If run with only one source snapshot, merge copies <source> into
|
wins). If run with only one source snapshot, merge copies <source> into
|
||||||
|
|||||||
@@ -170,10 +170,10 @@ func makeCmdSnapshotPull() *commander.Command {
|
|||||||
UsageLine: "pull <name> <source> <destination> <package-name> ...",
|
UsageLine: "pull <name> <source> <destination> <package-name> ...",
|
||||||
Short: "pull packages from another snapshot",
|
Short: "pull packages from another snapshot",
|
||||||
Long: `
|
Long: `
|
||||||
Command pull pulls new packages along with its dependencies to snapshot <name>
|
Command pull pulls new packages along with its' dependencies to snapshot <name>
|
||||||
from snapshot <source>. Pull can upgrade package version in <name> with
|
from snapshot <source>. Pull can upgrade package version in <name> with
|
||||||
versions from <source> following dependencies. New snapshot <destination>
|
versions from <source> following dependencies. New snapshot <destination>
|
||||||
is created as result of this process. Packages could be specified simply
|
is created as a result of this process. Packages could be specified simply
|
||||||
as 'package-name' or as dependency 'package-name (>= version)'.
|
as 'package-name' or as dependency 'package-name (>= version)'.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ func makeCmdSnapshotShow() *commander.Command {
|
|||||||
UsageLine: "show <name>",
|
UsageLine: "show <name>",
|
||||||
Short: "shows details about snapshot",
|
Short: "shows details about snapshot",
|
||||||
Long: `
|
Long: `
|
||||||
Command show displays full information about snapshot.
|
Command show displays full information about a snapshot.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ func makeCmdSnapshotVerify() *commander.Command {
|
|||||||
UsageLine: "verify <name> [<source> ...]",
|
UsageLine: "verify <name> [<source> ...]",
|
||||||
Short: "verify dependencies in snapshot",
|
Short: "verify dependencies in snapshot",
|
||||||
Long: `
|
Long: `
|
||||||
Verify does depenency resolution in snapshot <name>, possibly using additional
|
Verify does dependency resolution in snapshot <name>, possibly using additional
|
||||||
snapshots <source> as dependency sources. All unsatisfied dependencies are
|
snapshots <source> as dependency sources. All unsatisfied dependencies are
|
||||||
printed.
|
printed.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user