summaryrefslogtreecommitdiffhomepage
path: root/docs/manpages/git-import-dscs.sgml
blob: f14a4339e4290cdf73b55c7cebee6b9ba678a68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<refentry id="gbp.man.git.import.dscs">
  <refentryinfo>
    <address>
      &dhemail;
    </address>
    <author>
      &dhfirstname;
      &dhsurname;
    </author>
  </refentryinfo>
  <refmeta>
    <refentrytitle>git-import-dscs</refentrytitle>
    &dhsection;
  </refmeta>
  <refnamediv>
    <refname>&git-import-dscs;</refname>

    <refpurpose>Import multiple versions of a Debian source packages into a Git repository</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      &git-import-dscs;
      <arg><option>git-import-dsc options</option></arg>
      <arg choice="plain"><replaceable>pkg_1.dsc</replaceable></arg>
      <arg choice="plain"><replaceable>pkg_2.dsc</replaceable></arg>
      <arg choice="plain"><replaceable>...</replaceable></arg>
    </cmdsynopsis>

    <para>or</para>

    <cmdsynopsis>
      &git-import-dscs;
      <arg choice="req">--debsnap</arg>
      <arg><option>git-import-dsc options</option></arg>
      <arg choice="req"><replaceable>package</replaceable></arg>
    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>DESCRIPTION</title>
    <para>
    &git-import-dscs; imports several versions of a Debian source package into
    a &git; repository. To do so it sorts the packages by their versions first
    and then imports them via calling &git-import-dsc; on each package. 
    </para> 

    <para>
    If the current directory isn't a &git; repository already the repository is
    created in a subdir of the current working directory, named after the first
    imported package, otherwise the &git; repository in the current working
    directory is being used. This allows for incremental imports.
    </para>
  </refsect1>
  <refsect1>
    <title>OPTIONS</title>
    <variablelist>
      <varlistentry>
        <term><option>--debsnap</option>
        </term>
        <listitem>
	  <para>Fetch snapshots from snapshots.debian.org using debsnap.</para>
        </listitem>
      </varlistentry>
     </variablelist>
    <para>
    All other options are passed on verbatim to &git-import-dsc;.
    </para>
  </refsect1>
  <refsect1>
    <title>SEE ALSO</title>

    <para>
      <citerefentry>
        <refentrytitle>git-import-dsc</refentrytitle>
        <manvolnum>1</manvolnum>
      </citerefentry>,
      <citerefentry>
        <refentrytitle>git-buildpackage</refentrytitle>
        <manvolnum>1</manvolnum>
      </citerefentry>,
      <citerefentry>
        <refentrytitle>git-import-orig</refentrytitle>
        <manvolnum>1</manvolnum>
      </citerefentry>,
      <citerefentry>
        <refentrytitle>git-dch</refentrytitle>
        <manvolnum>1</manvolnum>
      </citerefentry>,
      &man.seealso.common;
    </para>
  </refsect1>
  <refsect1>
    <title>AUTHOR</title>

    <para>&dhusername; &dhemail;</para>

  </refsect1>
</refentry>