Permalink
Commits on Apr 9, 2010
  1. Backwards-compatible support for cpan2aur's template files.

    [% FI %] will work as if it is an [% END %] in PKGBUILD.tt files.
    committed Apr 9, 2010
  2. Update version strings to 0.19.

    committed Apr 9, 2010
  3. Pretty up a lil bit.

    committed Apr 9, 2010
Commits on Mar 23, 2010
  1. Fix bug where module author leaves META.yml's default abstract.

    The default abstract is:
    Module abstract (<= 44 characters) goes here
    in some cases...
    committed Mar 23, 2010
Commits on Mar 22, 2010
Commits on Mar 19, 2010
  1. Fix bug where pkgdesc is not extracted from POD.

    I for some reason forgot to search inside the lib directory
    from the extracted dist file...?
    committed Mar 19, 2010
Commits on Mar 18, 2010
  1. Fix typo with Template::Toolkit init arguments.

    Template::Toolkit takes a hashref as its constructor arguments
    whereas the other modules take a hash.
    
    Also adds better comments for the new template method and sub.
    committed Mar 18, 2010
Commits on Mar 14, 2010
  1. Remove //= perl 5.10 feature.

    committed Mar 14, 2010
  2. 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.
    committed Mar 14, 2010
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.
    committed Mar 13, 2010
  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.
    committed Mar 13, 2010
  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.
    committed Mar 13, 2010
Commits on Feb 22, 2010
  1. Refactor and organize the pkgdesc searching.

    - Separate out META.yml, POD, and README searching into separate
      subroutines.
    - 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
      later.
    committed Feb 22, 2010
  2. Pretty up READ_CONF for reading makepkg.conf entries a little.

    Fix a typo that I had left with the do block.
    committed Feb 22, 2010
  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.
    committed Feb 22, 2010
  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.
    committed Feb 22, 2010
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.
    committed Feb 18, 2010
  2. Change File::Path's deprecated mktree to make_path.

    Clean up nearby code a little, too.
    committed Feb 18, 2010
  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().
    committed Feb 18, 2010
  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.
    committed Feb 18, 2010
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.
    committed Feb 11, 2010
  2. Add 'pkgrel' as a template variable.

    - Add get_pkgrel(), set_pkgrel()
    - Add 'pkgrel' to get_pkgvars
    - Changed the template text.
    committed Feb 11, 2010
  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.
    committed Feb 11, 2010
  4. Update reporting subs to accept multiple arguments (like print).

    create_pkgdir_pkg() is more informative when it runs makepkg.
    committed Feb 11, 2010