Project

General

Profile

Actions

action #92122

closed

Improve dependency detection via MYMETA.json in cpanspec

Added by tinita over 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2021-05-04
Due date:
2022-03-17
% Done:

0%

Estimated time:

Description

If there are dynamic dependencies, cpanspec runs Makefile.PL/Build.PL etc. and overwrites some of the functions to gather the dependencies.

Instead it should be more reliable and easier now to read from the generated MYMETA.(json|yaml) after running Makefile.PL.


Related issues 3 (1 open2 closed)

Related to QA - action #90047: Improve dependency detection in cpanspecResolvedtinita2021-03-122021-05-07

Actions
Related to QA - action #97535: cpanspec: Fix package (dependency and missing script)Resolvedtinita2021-08-26

Actions
Copied to QA - action #108120: rpm and cpanspec: Support vx.y versions in perl modulesNew

Actions
Actions #1

Updated by tinita over 3 years ago

  • Related to action #90047: Improve dependency detection in cpanspec added
Actions #2

Updated by tinita over 3 years ago

  • Description updated (diff)
Actions #3

Updated by tinita about 3 years ago

  • Related to action #97535: cpanspec: Fix package (dependency and missing script) added
Actions #4

Updated by tinita over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to tinita
Actions #5

Updated by tinita over 2 years ago

I refactored the reading of META.json and META.yml (and other small stuff), so that I can use the same subroutines for reading MYMETA files.
Pushed a branch.
Now need to decide which data I'll use from the MYMETA file(s) (only dependencies?).
Then I can throw away the intrusive.pl code.

Actions #6

Updated by tinita over 2 years ago

Made a draft PR: https://github.com/openSUSE/cpanspec/pull/33
It is running on the autoupdate host, and I will check the updates in the next days and add fixes if necessary.

Actions #7

Updated by tinita over 2 years ago

  • Target version changed from future to Ready

Setting to Ready so it doesn't get lost in our statistics

Actions #8

Updated by openqa_review over 2 years ago

  • Due date set to 2022-03-17

Setting due date based on mean cycle time of SUSE QE Tools

Actions #9

Updated by tinita over 2 years ago

  • Status changed from In Progress to Feedback
Actions #10

Updated by tinita over 2 years ago

I pushed two fixes to the PR and will have another look in the generated updates since then.

Actions #11

Updated by tinita over 2 years ago

A problem with a v version came up:
https://build.opensuse.org/request/show/960460

BuildRequires: perl(Parallel::ForkManager) >= v0.7.6

I need to find out why such versions weren't a problem before.

Actions #12

Updated by tinita over 2 years ago

  • Copied to action #108120: rpm and cpanspec: Support vx.y versions in perl modules added
Actions #13

Updated by tinita over 2 years ago

See my comment https://github.com/openSUSE/cpanspec/pull/33#issuecomment-1064252911 why the problem with the v version isn't a problem with my pull request.
Ready to merge the PR if noone objects, it has been running on the autoupdate host for a while now, and two things have been fixed since then.

Actions #14

Updated by tinita over 2 years ago

  • Status changed from Feedback to In Progress
Actions #15

Updated by tinita over 2 years ago

  • Status changed from In Progress to Feedback
Actions #16

Updated by tinita over 2 years ago

  • Status changed from Feedback to Resolved

Released to Factory

Actions

Also available in: Atom PDF