Giter Club home page Giter Club logo

cpan2aur2git's Introduction

cpan2aur2git

CPAN2AUR2Git bot (CpanBot)

What this project is

cpan2aur was written a long time ago, when the CPAN operated by uploading tarballs to an FTP server. This project takes those tarballs and creates and pushes the Git commits to the new AUR.

How to use

  1. Set up Git and SSH to be able to push to the AUR. See the Arch wiki for details
  2. Install and set up perl-cpanplus-dist-arch (for cpan2aur command)
  3. Usage: ./cpan2aur2git <Perl::Pkg::Name>

cpan2aur2git's People

Contributors

bence98 avatar

Watchers

 avatar

Forkers

mad-int

cpan2aur2git's Issues

Makedeps/checkdeps sometimes not being picked up

Examples:

  • perl-furl: "Module::Build::Tiny" declared in "prereqs.configure.requires"
  • perl-router-simple: "Module::Build" declared in "prereqs.configure.requires"

Counter-examples:

  • perl-text-format: "Module::Build" declared in "prereqs.configure.requires" and "prereqs.build.requires"
  • perl-datetimex-easy: "Test::Most" declared in "prereqs.test.requires"

[Suggestion] Add previous maintainers as `Contributor:`s?

It is customary to add previous Maintainer:s as Contributor:s when taking over a package. However, cpan2aur (and thus cpan2aur2git) has no support for this.

My stance on this matter has been that:

  1. CpanBot does not use anything from the previous maintainers'/contributors' PKGBUILD, instead it overwrites it wholly by its own generated one. Therefore, from an intellectual property perspective, there is no obligation (in fact, no one holds the IP anymore, since it's 100% computer-generated, that's also part of the reason CpanBot only lists itself as Contributor:).
  2. The packages CpanBot maintains are mostly abandonware: packages not maintained for 3-5-10+ years, sometimes the original maintainer has retired since and actually called for their contact info to be erased.
  3. The technical difficulties would outweigh the benefits of having the bot auto-maintain the packages (see #2 ). If I shut it down until I added this feature, and thoroughly tested with every weirdly obfuscated/misspelled Maintainer: line, it could take up to half a year. And look what happened when a mailing list outage at the college took CpanBot offline for 2 months: people got upset, and several packages were orphaned. Besides, there are more pressing issues at hand, like makedeps/checkdeps not being picked up by cpan2aur, plus a considerable amount of packages don't declare a license in META.json (which is not permitted by the spec, but apparently they don't care).

However, it is true that despite all this, it is customary to list all previous Maintainer:s, and this absolutely needs to be fixed when there's a capacity for it. MarsSeed in particular, has been complaining about this a long time.

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.