gbp-import-dscs.sgml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <refentry id="man.gbp.import.dscs">
  2. <refentryinfo>
  3. <address>
  4. &dhemail;
  5. </address>
  6. <author>
  7. &dhfirstname;
  8. &dhsurname;
  9. </author>
  10. </refentryinfo>
  11. <refmeta>
  12. <refentrytitle>gbp-import-dscs</refentrytitle>
  13. &dhsection;
  14. </refmeta>
  15. <refnamediv>
  16. <refname>gbp-import-dscs</refname>
  17. <refpurpose>Import multiple versions of a Debian source packages into a Git repository</refpurpose>
  18. </refnamediv>
  19. <refsynopsisdiv>
  20. <cmdsynopsis>
  21. &gbp-import-dscs;
  22. <arg><option>options</option></arg>
  23. <arg><option>git-import-dsc options</option></arg>
  24. <arg choice="plain"><replaceable>pkg_1.dsc</replaceable></arg>
  25. <arg choice="plain"><replaceable>pkg_2.dsc</replaceable></arg>
  26. <arg choice="plain"><replaceable>...</replaceable></arg>
  27. </cmdsynopsis>
  28. <para>or</para>
  29. <cmdsynopsis>
  30. &gbp-import-dscs;
  31. <arg choice="req">--debsnap</arg>
  32. <arg><option>options</option></arg>
  33. <arg><option>git-import-dsc options</option></arg>
  34. <arg choice="req"><replaceable>package</replaceable></arg>
  35. </cmdsynopsis>
  36. </refsynopsisdiv>
  37. <refsect1>
  38. <title>DESCRIPTION</title>
  39. <para>
  40. &gbp-import-dscs; imports several versions of a Debian source package into
  41. a &git; repository. To do so, it sorts the packages by their versions first,
  42. and then imports them via calling &gbp-import-dsc; on each package.
  43. </para>
  44. <para>
  45. If the current directory isn't a &git; repository already, the repository is
  46. created in a subdir of the current working directory, named after the first
  47. imported package, otherwise the &git; repository in the current working
  48. directory is being used. This allows for incremental imports.
  49. </para>
  50. </refsect1>
  51. <refsect1>
  52. <title>OPTIONS</title>
  53. <variablelist>
  54. <varlistentry>
  55. <term><option>--debsnap</option>
  56. </term>
  57. <listitem>
  58. <para>Fetch snapshots from snapshots.debian.org using debsnap.</para>
  59. </listitem>
  60. </varlistentry>
  61. <varlistentry>
  62. <term><option>--ignore-repo-config</option>
  63. </term>
  64. <listitem>
  65. <para>Ignore <filename>gbp.conf</filename> files stored in the git
  66. repository itself. This can be useful to ignore branch information and other
  67. options shipped in the package source.</para>
  68. </listitem>
  69. </varlistentry>
  70. </variablelist>
  71. <para>
  72. All other options are passed on verbatim to &gbp-import-dsc;.
  73. </para>
  74. </refsect1>
  75. <refsect1>
  76. <title>SEE ALSO</title>
  77. <para>
  78. <xref linkend="man.gbp.import.dsc"/>,
  79. <xref linkend="man.gbp.buildpackage"/>,
  80. <xref linkend="man.gbp.import.orig"/>,
  81. <xref linkend="man.gbp.dch"/>,
  82. <xref linkend="man.gbp.conf"/>,
  83. &man.seealso.common;
  84. </para>
  85. </refsect1>
  86. <refsect1>
  87. <title>AUTHOR</title>
  88. <para>&dhusername; &dhemail;</para>
  89. </refsect1>
  90. </refentry>