Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f990977

Browse filesBrowse files
committed
OrePAN2 now works with --author
1 parent 0b6a36c commit f990977
Copy full SHA for f990977

File tree

Expand file treeCollapse file tree

2 files changed

+16
-9
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-9
lines changed

‎orepan2/Dockerfile

Copy file name to clipboard
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
FROM ubuntu:14.04
22

3-
ENV UPDATED_AT 2014-11-10
3+
ENV UPDATED_AT 2014-11-22
44

55
RUN apt-get update
66

77
RUN apt-get install -y \
88
curl \
99
gcc \
10+
libcurl4-openssl-dev \
1011
make
1112

1213
RUN curl -L http://cpanmin.us | perl - App::cpanminus
1314

15+
# This is a fix, until this ticket is solved: https://github.com/tokuhirom/OrePAN2/pull/31
16+
RUN cpanm IO::Socket::SSL
17+
1418
RUN cpanm OrePAN2

‎orepan2/README.md

Copy file name to clipboard
+11-8Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# OrePAN2
22

3-
This is a dockerized version of perl module [OrePAN2](https://metacpan.org/release/OrePAN2).
3+
This is a dockerized version of perl module
4+
[OrePAN2](https://metacpan.org/release/OrePAN2).
45

56
First you need to build docker image:
67

@@ -12,21 +13,23 @@ And then you can use that image to create dakpan structure.
1213
--rm \
1314
--volume $(pwd)/darkpan:/darkpan \
1415
orepan2 \
15-
orepan2-inject Test::Whitespaces /darkpan
16+
orepan2-inject --author LOGIN Test::Whitespaces /darkpan
1617

1718
This command will download module Test::Whitespaces from the big CPAN and
18-
place in at $(pwd)/darkpan Here the sample of what will be created:
19+
place in at `$(pwd)/darkpan` on your host machine. Here the sample of what
20+
will be created:
1921

2022
$ find $(pwd)/darkpan
2123
/Users/bessarabov/darkpan
2224
/Users/bessarabov/darkpan/authors
2325
/Users/bessarabov/darkpan/authors/id
24-
/Users/bessarabov/darkpan/authors/id/D
25-
/Users/bessarabov/darkpan/authors/id/D/DU
26-
/Users/bessarabov/darkpan/authors/id/D/DU/DUMMY
27-
/Users/bessarabov/darkpan/authors/id/D/DU/DUMMY/Test-Whitespaces-1.2.1.tar.gz
26+
/Users/bessarabov/darkpan/authors/id/L
27+
/Users/bessarabov/darkpan/authors/id/L/LO
28+
/Users/bessarabov/darkpan/authors/id/L/LO/LOGIN
29+
/Users/bessarabov/darkpan/authors/id/L/LO/LOGIN/Test-Whitespaces-1.2.1.tar.gz
2830
/Users/bessarabov/darkpan/modules
2931
/Users/bessarabov/darkpan/modules/02packages.details.txt.gz
3032
/Users/bessarabov/darkpan/orepan2-cache.json
3133

32-
For more examples of using orepan2-inject see the [docs](https://metacpan.org/pod/distribution/OrePAN2/script/orepan2-inject)
34+
For more examples of using orepan2-inject see the
35+
[docs](https://metacpan.org/pod/distribution/OrePAN2/script/orepan2-inject).

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.