Home_greyopenFATE - openSUSE feature tracking > #309606
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

cpan2obs w/ cpan2dist && _service

Feature state

Hackweek V
Unconfirmed

Description

With
cpan2dist [0] and
the new _service concept [1] of the openSUSE BuildService we will automatically mirror every CPAN module to OBS -> CPAN2OBS.

[0] http://search.cpan.org/~bingos/CPANPLUS-0.9004/bin/cpan2dist

[1] http://en.opensuse.org/Build_Service/Concepts/SourceService

Discussion


icons/user_comment.png C. D. wrote: (7 years ago)

It exists a CPANPLUS::Dist:SUSE modul. Matthias and I modified it. So it seems that it is working now. After the first test runs we have got a success rate of 70%.

icons/user_comment.png J. W. wrote: (7 years ago)

Are your modifications accessible? I cannot find them in the buildservice or on cpan.

devel:languages:perl:CPAN contains 100 packages, all starting with perl-A*

Is there more?

icons/user_comment.png M. W. wrote: (7 years ago)

> Are your modifications accessible?

Nope, Christian and I haven't pushed our modifications to
CPANPLUS::Dist::SUSE
to upstream yet, but as soon as we have some time free()'d we're gonna send a mail to the author of the package.

> Is there more?

There'll be more. However, at first, we need to improve some parts of the wrapper program which calls cpan2dist. We'd like to achieve a higher rate than 70%.

icons/user_comment.png J. W. wrote: (7 years ago)

I am collecting enhancements to PANPLUS::Dist::SUSE in http://wiki.opensuse.org/openSUSE:Packaging_Perl#cpan2dist

icons/user_comment.png M. W. wrote: (7 years ago)
  • Group should be: Development/Libraries/Perl (almost good, "/Perl" is missing)
    Fixed
  • BuildRequires: for non-perl packages (typically *-devel) are missing.
    Not yet fixed
  • %install section should not do rm -rf %{buildroot}
    Fixed
  • %files section should use %files -f %{name}.files
    Fixed
  • %bcond_with test
    %if %{with test}
    to make a slow test section optional. (osc build --with test)
    Fixed
Last change: 7 years ago
Voting
Score: 3
  • Negative: 0
  • Neutral: 2
  • Positive: 3
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint