FreeBSD Bugzilla – Attachment 191593 Details for
Bug 226689
[NEW PORT] databases/pgsanity: Check syntax of PostgreSQL SQL files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Shell archive of a new databases/pgsanity port (version: v0.2.8-16-gd82a5be, revision: 2)
pgsanity-v0.2.8-16-gd82a5be--r2.shar (text/plain), 2.40 KB, created by
Mateusz Piotrowski
on 2018-03-18 12:05:34 UTC
(
hide
)
Description:
Shell archive of a new databases/pgsanity port (version: v0.2.8-16-gd82a5be, revision: 2)
Filename:
MIME Type:
Creator:
Mateusz Piotrowski
Created:
2018-03-18 12:05:34 UTC
Size:
2.40 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># databases/pgsanity ># databases/pgsanity/Makefile ># databases/pgsanity/distinfo ># databases/pgsanity/pkg-descr ># >echo c - databases/pgsanity >mkdir -p databases/pgsanity > /dev/null 2>&1 >echo x - databases/pgsanity/Makefile >sed 's/^X//' >databases/pgsanity/Makefile << 'cffbb988e183197769d372fc0f6d8ce2' >X# $FreeBSD$ >X >XPORTNAME= pgsanity >XDISTVERSIONPREFIX= v >XDISTVERSION= 0.2.8-16 >XDISTVERSIONSUFFIX= -gd82a5be >XCATEGORIES= databases python >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= 0mp@FreeBSD.org >XCOMMENT= Check syntax of PostgreSQL SQL files >X >XLICENSE= MIT >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XUSES= pgsql python:2.7+ >XUSE_PYTHON= autoplist distutils allflavors >X >XUSE_GITHUB= yes >XGH_ACCOUNT= markdrago >X >XNO_ARCH= yes >X >XOPTIONS_DEFINE= DOCS >X >XPORTDOCS= README.md >X >Xdo-test: >X @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) >X >Xpost-install-DOCS-on: >X @${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} >X >X.include <bsd.port.mk> >cffbb988e183197769d372fc0f6d8ce2 >echo x - databases/pgsanity/distinfo >sed 's/^X//' >databases/pgsanity/distinfo << '20e2eafe0643bf3b2013ec5a66f3513c' >XTIMESTAMP = 1521374534 >XSHA256 (markdrago-pgsanity-v0.2.8-16-gd82a5be_GH0.tar.gz) = 6f08f723f08d2eee201fff8f0fdb855d7c7bb0b7e9063cff428c03b4b37f7eee >XSIZE (markdrago-pgsanity-v0.2.8-16-gd82a5be_GH0.tar.gz) = 7673 >20e2eafe0643bf3b2013ec5a66f3513c >echo x - databases/pgsanity/pkg-descr >sed 's/^X//' >databases/pgsanity/pkg-descr << 'b1dda17a024e13c119579231df12bd26' >XPgSanity checks the syntax of PostgreSQL SQL files. >X >XIt does this by leveraging the ecpg command which is traditionally used for >Xpreparing C files with embedded SQL for compilation. However, as part of that >Xpreparation, ecpg checks the embedded SQL statements for syntax errors using >Xthe exact same parser that is in PostgreSQL. >X >XSo the approach that PgSanity takes is to take a file that has a list of bare >XSQL in it, make that file look like a C file with embedded SQL, run it through >Xecpg and let ecpg report on the syntax errors of the SQL. >X >XWWW: https://github.com/markdrago/pgsanity >b1dda17a024e13c119579231df12bd26 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
0mp
:
maintainer-approval+
Actions:
View
Attachments on
bug 226689
:
191589
| 191593