1Git::CPAN::Patch::CommaUnsde:r:ICmopnotrrti(b3u)ted PerlGiDto:c:uCmPeAnNt:a:tPiaotnch::Command::Import(3)
2
3
4

NAME

6       Git::CPAN::Patch::Command::Import - Import a module into a git
7       repository
8

VERSION

10       version 2.5.0
11

SYNOPSIS

13           # takes any string CPANPLUS handles:
14
15           % git-cpan import Foo::Bar
16           % git-cpan import A/AU/AUTHORID/Foo-Bar-0.03.tar.gz
17           % git-cpan import http://backpan.cpan.org/authors/id/A/AU/AUTHORID/Foo-Bar-0.03.tar.gz
18
19           # If the repository is already initialized, can be run with no arguments to
20           # import the latest version
21           git-cpan import
22

DESCRIPTION

24       This command is used internally by "git-cpan-init", "git-cpan-update"
25       and "git-backpan-init".
26
27       This command takes a tarball, extracts it, and imports it into the
28       repository.
29
30       It is only possible to update to a newer version of a module.
31
32       The module history is tracked in "refs/remotes/cpan/master".
33
34       Tags are created for each version of the module.
35
36       This command does not touch the working directory, and is safe to run
37       even if you have pending work.
38

OPTIONS

40       --check, --nocheck
41           Explicitly enables/disables version checking.  If version checking
42           is enabled, which is the default, git-cpan-import will refuse to
43           import a version of the package that has a smaller version number
44           than the HEAD of the branch cpan/master.
45
46       --parent
47           Allows adding extra parents when importing, so that when a patch
48           has been incorporated into an upstream version the generated commit
49           is like a merge commit, incorporating both the CPAN history and the
50           user's local history.
51
52           For example, this will set the current HEAD of the master branch as
53           a parent of the imported CPAN package:
54
55               $ git checkout master
56               $ git-cpan import --parent HEAD My-Module
57
58           More than one '--parent' can be specified.
59
60       --author_name
61           Forces the author name to the given value, instead of trying to
62           resolve it from the release metadata.
63
64       --author_email
65           Forces the author email to the given value, instead of trying to
66           resolve it from the release metadata.
67

AUTHORS

69       Yuval Kogman "<nothingmuch@woobling.org>"
70
71       Yanick Champoux "<yanick@cpan.org>"
72

SEE ALSO

74       Git::CPAN::Patch
75

AUTHOR

77       Yanick Champoux <yanick@cpan.org>
78
80       This software is copyright (c) 2022, 2021, 2018, 2017, 2016, 2015,
81       2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux.
82
83       This is free software; you can redistribute it and/or modify it under
84       the same terms as the Perl 5 programming language system itself.
85
86
87
88perl v5.34.0                      2022-03-2G3it::CPAN::Patch::Command::Import(3)
Impressum