Skip to content
Commits on Dec 16, 2015
  1. @theory
Commits on Aug 31, 2015
  1. @theory

    Increment to v0.16.1.

    theory committed Aug 31, 2015
  2. @theory

    Timestmp v0.16.0.

    theory committed Aug 31, 2015
  3. @theory

    Increment to v0.16.0.

    theory committed Aug 30, 2015
  4. @theory

    Make sure errors display correctly.

    Requires passing through Locale::TextDomain in PGXN::Manager::Maint.
    theory committed Aug 30, 2015
  5. @theory

    Always strip out context.

    theory committed Aug 30, 2015
  6. @theory
  7. @theory

    Make new db errors localizable.

    theory committed Aug 30, 2015
  8. @theory

    Compare distribution and extension versions.

    For new distributions, raise an error when the version is lower than the
    latest release, and raise an error for any extensions that have versions lower
    than extensions in previous releases.
    
    For existing distribution releases that are being reindexed, just make sure
    the extension versions are not lower than in previous releases and are not
    higher than subsequent releases.
    
    Closes #32.
    theory committed Aug 30, 2015
  9. @theory
  10. @theory

    Test and fix version check functions.

    Need to be more comprehensive checking extension versions. It doesn't matter
    what distribution they're in, only that we check for a version lower than in
    previous releases or higher than in later releases. So abandon looking at a
    specific distribution and version, and instead rely entirely on the date. In
    `update_distribution()`, we pass the date of the release by looking it up in
    the `distributions` table. In `add_distribution()`, we only need to look at
    all previous releases, so no need to look at the date.
    
    So now there are two extension version-checking functions:
    `check_prev_versions()` and `check_later_versions()`. The former is called by
    both `add_distribution()` and `update_distribution()`, while the latter is
    called only by `update_distribution()`. And there are tests for these
    new functions!
    theory committed Aug 30, 2015
Commits on Aug 30, 2015
  1. @theory
  2. @theory

    Rename file again.

    theory committed Aug 30, 2015
  3. @theory

    Add version checking to update_distribution().

    Requires checking only extension versions, since the distribution version
    should be unchanged on re-indexing. So separate dist version and extension
    version checking into two separate functions.
    
    Also requires moving update_distribution() to change 14, so do that. Also no
    longer need to declare add_distribution() in 11, not even a placeholder, so
    just remove it.
    theory committed Aug 30, 2015
Commits on Aug 29, 2015
  1. @theory

    Rename file.

    theory committed Aug 29, 2015
  2. @theory
  3. @theory

    Check versions on upload

    When adding a new release to the database, make sure the distribution version
    is greater than any previous version, and that all extension versions are
    greater than or equal to the extension as seen before. Required rejiggering
    the tests which had been adding a lower-versioned extension than before! But
    still need to add this functionality to `update_distribution()` and to write
    tests.
    theory committed Aug 28, 2015
  4. @theory

    Allow archive file args to `pgxn_maint reindex`.

    Add the ability to pass the path to a zip archive to `pgxn_maint index`.
    Previously, you had to pass a distribution name and release version (and you
    still can), but that required that one manually place the archive where the
    existing one is, first. This is cleaner, as now `pgxn_maint` will process the
    file from wherever you have it and put it where it belongs.
    theory committed Aug 28, 2015
Commits on Aug 2, 2015
  1. @theory
  2. @theory

    Turn off merge_slashes on NGINX.

    Because otherwise it mucks with the interface for editing mirrors, which pass
    mirror URLs in the path as resource names. Resolves #45.
    theory committed Aug 1, 2015
Commits on Jul 22, 2015
  1. @theory

    Add period, whitespace.

    theory committed Jul 22, 2015
Commits on Jul 14, 2015
  1. @theory

    Have reindexing fail loudly.

    Previously, Reindexing failed quietly, with no output and the exit val
    indicating success. So check for failures, emit error messages, and set the
    exit value appropriately.
    theory committed Jul 13, 2015
Commits on Aug 15, 2014
  1. @theory

    Fix encoding issues.

    Either DBD::Pg 3.0 or Perl 5.20 is stricter about things, but encodings were
    messed up in a couple of places. So use `encode()` and `decode()` instead of
    `encode_utf8()` and `decode_utf8()` for stricter encoding enforcement, and add
    a couple of decodings that were missing: username and password for basic auth,
    and reading a file from Archive::Zip.
    
    Also fix a couple of warnings for `returns` that were never reached, and
    from Twitter::Lite requiring SSL.
    theory committed Aug 15, 2014
Commits on Jan 15, 2014
  1. @theory

    Use SSL to post to Twitter.

    theory committed Jan 14, 2014
Commits on Jan 4, 2014
  1. @theory
Commits on Nov 24, 2013
  1. @theory

    repository metadata fix.

    theory committed Nov 24, 2013
Commits on Sep 6, 2013
  1. @theory
Commits on Jun 19, 2013
  1. @theory

    Increment to v0.15.1.

    theory committed Jun 18, 2013
  2. @theory

    Timestamp v0.15.0.

    theory committed Jun 18, 2013
Commits on Jun 12, 2013
  1. @theory

    Note Twitter v1.1 fix.

    Ref issue #40.
    theory committed Jun 12, 2013
Commits on Jun 5, 2013
  1. @theory

    Increment to v0.15.0.

    theory committed Jun 4, 2013
  2. @theory

    Indicate that nickname == username.

    Just by tweaking the hint in the registration form. Closes #36.
    theory committed Jun 4, 2013
  3. @theory

    Add `remote_host()` and `address()` to Request.

    They prefer forwarded host and address information, when present. This should
    allow the proper remote host name to be included in the registration
    administration email when PGXN Manager is running behind a rerverse proxy.
    Closes #38.
    theory committed Jun 4, 2013
Commits on Jun 4, 2013
  1. @theory

    Restore `?=` for setting PG_CONFIG.

    And add a note about how it allows an environment variable to be used.
    theory committed Jun 4, 2013
  2. @theory

    Read extension name and version from META.json`.

    Also, remove `?=`, as it is only needed for environment variables, not parameters.
    theory committed Jun 4, 2013
Something went wrong with that request. Please try again.