Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 14, 2010
  1. PKGDEST environment var doesn't seem to override makepkg.conf.

    I'm not sure where the package even ends up???
  2. Remove //= perl 5.10 feature.

  3. Dynamic loading of Template::Toolkit & friends (if available).

    Changed our builtin template as well, breaks backwards compatibility.
    I used [% FI %] earlier to be different from TT.  Now I switched to
    [% END %] since we are now using TT.
Commits on Mar 13, 2010
  1. Fix up prompt_ask and prompt_yn subs.

    Makes sure to chomp messages, adds a space inbetween question and
    [Yn] in prompt_yn, add more comments, etc.
  2. Fix bug when user doesn't want to auto-increment the pkgrel.

    When the user declines to auto-increment the pkgrel, then the pkgrel is
    always 1 instead of what it should be: the last pkgrel.
  3. Deletes old source package file when automatically updating.

    - Adds the pkgdir_srcpkg sub, which I thought I was going to use
      for automatically deleting srcpkg files in directories...
      This was cut out of the get_pkgdir_info sub.
Commits on Feb 22, 2010
  1. Refactor and organize the pkgdesc searching.

    - Separate out META.yml, POD, and README searching into separate
    - Fixes bug where pkgdesc cannot be found when author's do not
      place .pm files where we expect.
      (Adding more places to search for)
    - Add simple debugging reporting, may add more debug messages
  2. Pretty up READ_CONF for reading makepkg.conf entries a little.

    Fix a typo that I had left with the do block.
  3. Fix obscure bug where cpan deps give 0 as 0.0?

    We check if the deps' version is 0, in which case we don't specify
    a version in the package deps.  But when we received 0.0 as a version
    we caught a little bug.
  4. Fix bug for when double-quotes are in META.yml's abstract.

    When double-quotes are in META.yml's abstract instead of single-quotes,
    these double-quotes end up being in the pkgdesc.  Now we should be able
    to handle double or single quotes properly.
Commits on Feb 19, 2010
Commits on Feb 18, 2010
  1. Fix bug where PKGDEST in makepkg.conf needs shell expansion.

    - Environment variables and tildes are expanded
    - Backslashes (escapes) are removed in a fairly dumb way.
  2. Change File::Path's deprecated mktree to make_path.

    Clean up nearby code a little, too.
  3. Add documentation for new methods created. Mention in ChangeLog.

    Methods: get_pkgname, get_pkgver, get_pkgrel, set_pkgrel.
    Also added 'pkgrel' as a template variable for get_pkgvars().
  4. Fix spammy test debugging output.

    In my fake CPANPLUS::Backend object (used in 03-pkgbuild.t) I added
    the module_tree method, because I switch to module_tree() instead of
    parse_module() in the _translate_cpan_deps() C::D::A method.
Commits on Feb 11, 2010
  1. Add automatic pkgrel bumping.

    - Fix a small bug in msg().
    - Fix prompt_ask() to use msg() instead of print.
    When converting a template to a real PKGBUILD, check if an old PKGBUILD
    exists.  If so, check if the old PKGBUILD version is the same as the
    version of the (uncreated) new PKGBUILD.  If the versions are the same
    then offer to increment the pkgrel.
  2. Add 'pkgrel' as a template variable.

    - Add get_pkgrel(), set_pkgrel()
    - Add 'pkgrel' to get_pkgvars
    - Changed the template text.
  3. Convert get_pkgbuild_info and get_..._info subs to return a hash.

    - Add a 'pkgrel' and 'pkgver' hash key for the upcoming
      pkgrel bumping.
    - Add a warning if user chooses not to convert template to PKGBUILD.
  4. Update reporting subs to accept multiple arguments (like print).

    create_pkgdir_pkg() is more informative when it runs makepkg.
  5. Fix bug when more than one pre-requisite module is in the same dist.

    If a module pre-requisite specifies a version, it is hard to map that
    version into a distribution (CPAN package file) version.
    If two modules are pre-requisites and are bundled in the same
    distribution file one module can override the last module's version
    [to require].  But we want the dist's version!  So if there are
    multiple modules, the module with the same name as the dist file
    has the version that matters.
  6. Set cpan2aur version to 1.0

  7. Fix bug/typo in sub pkgbuild_to_tt()

    DIST_NAME= was not properly templatized...
  8. Fix upload_if_old(). Forgot to upload source packages.

    Change warnings into errors.  Add package upload logic.
    Might want to make a package upload sub?
  9. Fixed typo with $TT_DIST_PREFIX

  10. Fix 'setupdistarch' example output in SYNOPSIS of docs.

    Regenerate README as well.
  11. Further modularize the code. Fix a bug in upload_pkgdir.

    - Created the create_new_pkgdir() sub.
Something went wrong with that request. Please try again.