Giter Site home page Giter Site logo

cpan--mini--inject's People

Contributors

andya avatar briandfoy avatar davidolrik avatar frodwith avatar jozef avatar karenetheridge avatar rwstauner avatar wchristian avatar yakunink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cpan--mini--inject's Issues

--all-in-meta not getting module version?

Required option not specified: module version at /home/gpan/perl5/bin/mcpani line 102

here's my META.yml


---
abstract: MyPanTest
author:
  - 'Caleb Cushing <[email protected]>'
build_requires:
  English: 0
  File::Find: 0
  File::Temp: 0
  Test::More: 0.88
configure_requires:
  ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300002, CPAN::Meta::Converter version 2.112621'
license: restrictive
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: MyPanTest
no_index:
  file:
    - perlcritic.rc
requires:
  autodie: 0
  perl: 5.014
  strict: 0
  utf8::all: 0
  warnings: 0
resources: {}
version: v0.1.0

full mirror sync never seems to happen

when running the following as cron jobs the --update never seems to happen. I'm thinking because the --inject is keeping the modules/* files newer than what's on the mirror, as deleting them allows me to run an --update manually without the "mirroring" showing them as up to date.

PERL5LIB="/home/gpan/perl5/lib/perl5/x86_64-linux-thread-multi:/home/gpan/perl5/lib/perl5"
7 6 * * * /home/gpan/perl5/bin/mcpani --update
3-59/15 * * * * /home/gpan/perl5/bin/mcpani --inject

Injecting a new version of a module doesn't remove oldest entry

Hi, first of all, thanks for CPAN::Mini::Inject, it's a great tool.

I have an issue though I'd like to fix. When I inject a new version of module that has already been injected (like injecting Foo 0.02 in a mirror where Foo 0.01 exist) the old line is not removed from 02packages.default.txt.gz

This makes cpanminus fail at downloading the correct version (it takes the first line it finds in the txt.gz file, which is the oldest one).

Would it be possible to make CPAN::Mini::Inject produce a file with only the last version injected?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.