Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git repositories support in cpanfile #132

Closed
koorchik opened this issue Aug 22, 2013 · 9 comments
Closed

Git repositories support in cpanfile #132

koorchik opened this issue Aug 22, 2013 · 9 comments

Comments

@koorchik
Copy link

Is it possible to add git repositories to cpanfile?

For example,

cpanfile:

requires '[email protected]:plack/Plack.git';

I've tryed but carton carton install fails. Firstly, it writes

Successfully installed Plack-1.0028

but after that

Installing the dependencies failed: Module '[email protected]:plack/Plack.git' is not installed`

It is a nice feature to have.

Full output:

Installing modules using /private/tmp/test123/cpanfile
Successfully installed File-ShareDir-Install-0.04
Successfully installed Hash-MultiValue-0.15
Successfully installed Try-Tiny-0.18
Successfully installed URI-1.60
Successfully installed Devel-StackTrace-1.30
Successfully installed Apache-LogFormat-Compiler-0.13
Successfully installed LWP-MediaTypes-6.02
Successfully installed Encode-Locale-1.03
Successfully installed IO-HTML-1.00
Successfully installed HTTP-Date-6.02
Successfully installed HTTP-Message-6.06
Successfully installed Test-Tester-0.109
Successfully installed Test-NoWarnings-1.04
Successfully installed Test-Deep-0.110
Successfully installed HTTP-Body-1.17
Successfully installed Stream-Buffered-0.02
Successfully installed Filesys-Notify-Simple-0.12
Successfully installed ExtUtils-MakeMaker-6.72 (upgraded from 6.57_05)
Successfully installed Class-Inspector-1.28
Successfully installed File-ShareDir-1.03
Successfully installed Test-Requires-0.07
Successfully installed Test-SharedFork-0.21
Successfully installed Test-TCP-2.00
Successfully installed HTTP-Tiny-0.034 (upgraded from 0.012)
Successfully installed Devel-StackTrace-AsHTML-0.14
Successfully installed Plack-1.0028
! Installing the dependencies failed: Module '[email protected]:plack/Plack.git' is not installed
! Bailing out the installation for /private/tmp/test123/.
26 distributions installed
Installing modules failed
@miyagawa
Copy link
Contributor

git support will be added in 1.1, and the syntax is wrong.

See #89 #99

@koorchik
Copy link
Author

Thanks, looking forward for 1.1 :)

@mcallaway
Copy link

You commented above "git support will be added in 1.1" 9 months ago and closed the issue, and I do see a 1.1 branch, but no 1.1 release. Do you have an estimated release date in mind?

@highflying
Copy link

I'd like to know when v1.1 will be available too, need any help getting it released?

@ilia-zaitsev
Copy link

I'am interesting too, when v1.1 will be available.

@oalders
Copy link
Contributor

oalders commented Oct 15, 2014

Bump

@miyagawa
Copy link
Contributor

Just to update you on the situation the "current" (the latest whatever I worked on last year) 1.1 branch has been abandoned due to its complicated and fragile nature.

And we're going to form a new code base to easily add more support for things like git repositories without being tightly integrated to cpanm internals. But who knows when that happens. Since I haven't worked on any perl projects at work for almost 4 years, I could not be the person who does it.

That's the reason i created a new github organization to handle Carton and let other people to handle the future updates, at YAPC::Asia a few weeks ago. I don't know how well it goes, but meanwhile if you need a further integration on carton to support various sources, take a look at creating your own mirror using Pinto or OrePAN2.

@oalders
Copy link
Contributor

oalders commented Oct 15, 2014

Thanks for the update @miyagawa. :)

@shadowcat-mst
Copy link

For people coming along, http://p3rl.org/App::cpm has experimental support for git URLs, and you can install dists with that and just use Carton to generate the cpanfile, or there's also http://p3rl.org/App::opan which I wrote as a lighter weight alternative to Pinto and OrePAN2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants