Bug 219681 - [NEW PORT] databases/pgFormatter: PostgreSQL SQL syntax beautifier
Summary: [NEW PORT] databases/pgFormatter: PostgreSQL SQL syntax beautifier
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Torsten Zuehlsdorff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-31 10:46 UTC by Jov
Modified: 2017-07-05 13:10 UTC (History)
1 user (show)

See Also:


Attachments
pgFormatter.shar (2.24 KB, text/plain)
2017-05-31 10:46 UTC, Jov
no flags Details
pgFormatter_v2.shar (2.20 KB, text/plain)
2017-06-10 02:58 UTC, Jov
no flags Details
pgformatter.shar (2.20 KB, text/plain)
2017-07-05 11:02 UTC, Jov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jov 2017-05-31 10:46:55 UTC
Created attachment 183095 [details]
pgFormatter.shar

This SQL formatter/beautifier supports keywords from SQL-92, SQL-99,
SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. May
works with any other databases too. pgFormatter can work as a console
program or as a CGI. It will automatically detect his environment and
output as text or as HTML following the context. Keywords highlighting
will only be available in CGI context.

WWW: https://github.com/darold/pgFormatter
Comment 1 Jov 2017-06-10 02:58:17 UTC
Created attachment 183371 [details]
pgFormatter_v2.shar

v2:
remove .packlist from plist file to make poudriere happy.

pass poudriere now.
Comment 2 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-07-05 10:52:20 UTC
Aloha Jov,

the Readme of the software states:
"pgFormatter is free software distributed under the PostgreSQL Licence."

But you declare BSD2Clause. Can you please get some clarification about the license?

The rest looks fine :)
Comment 3 Jov 2017-07-05 11:02:02 UTC
Created attachment 184068 [details]
pgformatter.shar

Fix license.
Comment 4 Jov 2017-07-05 11:03:37 UTC
(In reply to Torsten Zuehlsdorff from comment #2)
You are right. new patch changes the LICENSE line to:
LICENSE=        PostgreSQL

Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-07-05 13:09:27 UTC
A commit references this bug:

Author: tz
Date: Wed Jul  5 13:08:13 UTC 2017
New revision: 445078
URL: https://svnweb.freebsd.org/changeset/ports/445078

Log:
  New port: databases/pgFormatter

  This SQL formatter/beautifier supports keywords from SQL-92, SQL-99,
  SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. May
  works with any other databases too. pgFormatter can work as a console
  program or as a CGI. It will automatically detect his environment and
  output as text or as HTML following the context. Keywords highlighting
  will only be available in CGI context.

  WWW: https://github.com/darold/pgFormatter

  PR:           219681
  Submitted by: Jov <amutu@amutu.com>

Changes:
  head/databases/Makefile
  head/databases/pgFormatter/
  head/databases/pgFormatter/Makefile
  head/databases/pgFormatter/distinfo
  head/databases/pgFormatter/pkg-descr
  head/databases/pgFormatter/pkg-plist
Comment 6 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-07-05 13:10:24 UTC
Committed, thanks!