Permalink
Commits on Mar 14, 2010
  1. PKGDEST environment var doesn't seem to override makepkg.conf.

    juster committed Mar 14, 2010
    I'm not sure where the package even ends up???
  2. Remove //= perl 5.10 feature.

    juster committed Mar 14, 2010
  3. Dynamic loading of Template::Toolkit & friends (if available).

    juster committed Mar 14, 2010
    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.

    juster committed Mar 13, 2010
    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.

    juster committed Mar 13, 2010
    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.

    juster committed Mar 13, 2010
    - 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.

    juster committed Feb 22, 2010
    - 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.
  2. Pretty up READ_CONF for reading makepkg.conf entries a little.

    juster committed Feb 22, 2010
    Fix a typo that I had left with the do block.
  3. Fix obscure bug where cpan deps give 0 as 0.0?

    juster committed Feb 22, 2010
    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.

    juster committed Feb 22, 2010
    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.

    juster committed Feb 18, 2010
    - 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.

    juster committed Feb 18, 2010
    Clean up nearby code a little, too.
  3. Add documentation for new methods created. Mention in ChangeLog.

    juster committed Feb 18, 2010
    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.

    juster committed Feb 18, 2010
    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.

    juster committed Feb 11, 2010
    - 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.

    juster committed Feb 11, 2010
    - 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.

    juster committed Feb 11, 2010
    - 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).

    juster committed Feb 11, 2010
    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.

    juster committed Feb 11, 2010
    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

    juster committed Feb 11, 2010
  7. Fix bug/typo in sub pkgbuild_to_tt()

    juster committed Feb 11, 2010
    DIST_NAME= was not properly templatized...
  8. Fix upload_if_old(). Forgot to upload source packages.

    juster committed Feb 11, 2010
    Change warnings into errors.  Add package upload logic.
    Might want to make a package upload sub?
  9. Fixed typo with $TT_DIST_PREFIX

    juster committed Feb 11, 2010
  10. Fix 'setupdistarch' example output in SYNOPSIS of docs.

    juster committed Feb 11, 2010
    Regenerate README as well.
  11. Further modularize the code. Fix a bug in upload_pkgdir.

    juster committed Feb 11, 2010
    - Created the create_new_pkgdir() sub.