1OSTREE PULL(1)                    ostree pull                   OSTREE PULL(1)
2
3
4

NAME

6       ostree-pull - Download data from a remote repository
7

SYNOPSIS

9       ostree pull {REMOTE} [BRANCH]
10

OPTIONS

12       --commit-metadata-only
13           Fetch only the commit metadata.
14
15       --cache-dir=DIR
16           Use an alternate cache directory in DIR.
17
18       --disable-fsync
19           Do no invoke fsync().
20
21       --localcache-repo
22           Like git's clone --reference. Reuse the provided OSTree repo as a
23           local object cache when doing HTTP fetches. May be specified
24           multiple times.
25
26       --untrusted
27           Do not trust local sources, verify checksums and don't hardlink
28           into source.
29
30       --disable-static-deltas
31           Do not use static deltas.
32
33       --mirror
34           Write refs suitable for a mirror, i.e. refs are stored in the
35           heads/ directory rather than the remotes/ directory. This makes the
36           target repo suitable to be exported for other clients to pull from
37           as an ostree remote. If no specific refs are specified, all refs
38           will be fetched (the remote must have a summary file present).
39
40       --subpath=SUBPATH
41           Only pull the provided subpath.
42
43       --depth=DEPTH
44           Traverse DEPTH parents (-1=infinite) (default: 0).
45
46       --network-retries=N
47           Specifies how many times each download should be retried upon error
48           (default: 5)
49
50       --disable-retry-on-network-errors
51           Do not retry when network issues happen, instead fail
52           automatically. (Currently only affects libcurl)
53
54       --low-speed-limit-bytes=N
55           The average transfer speed per second of a transfer during the time
56           set via 'low-speed-time-seconds' for libcurl to abort (default:
57           1000)
58
59       --low-speed-time-seconds=N
60           The time in number seconds that the transfer speed should be below
61           the 'low-speed-limit-bytes' setting for libcurl to abort (default:
62           30)
63
64       --max-outstanding-fetcher-requests=N
65           The max amount of concurrent connections allowed. (default: 8)
66
67       --disable-verify-bindings
68           Disable verification of commit metadata bindings.
69

DESCRIPTION

71       Without --mirror, this command will create new refs under
72       remotes/REMOTE/ directory for each pulled branch unless they are
73       already created. Such refs can be then referenced by REMOTE:BRANCH in
74       ostree subcommands (e.g.  ostree log origin:exampleos/x86_64/standard).
75
76       This command can retrieve just a specific commit, or go all the way to
77       performing a full mirror of the remote repository. If no BRANCH is
78       specified, all configured branches are retrieved.
79
80       A special syntax in the @ character allows specifying a specific commit
81       to retrieve from a branch. The use cases for this are somewhat similar
82       to pulling a specific git tag; one could e.g. script a system upgrade
83       to a known-good version, rather than the latest from the content
84       provider.
85

EXAMPLE

87       $ ostree --repo=repo pull --depth=-1 --mirror remote_name
88
89       Perform a complete mirror of the remote. (This is likely most useful if
90       your repository is also archive mode)
91
92       $ ostree --repo=repo pull remote_name exampleos/x86_64/standard
93
94       Fetch the most recent commit to exampleos/x86_64/standard.
95
96       $ ostree --repo=repo pull remote_name
97       exampleos/x86_64/standard@98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4
98
99       Download the specific commit starting with 98ea6e as if it was the
100       latest commit for exampleos/x86_64/standard.
101
102
103
104OSTree                                                          OSTREE PULL(1)
Impressum