# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/xataio/pgroll 0.6.0 v go.offline_build no github.tarball_from archive revision 0 homepage https://xata.io/blog/pgroll-schema-migrations-postgres description Postgres zero-downtime migrations made easy long_description \ ${name} is an open source command-line tool that offers safe and \ reversible schema migrations for PostgreSQL by serving multiple schema \ versions simultaneously. It takes care of the complex migration \ operations to ensure that client applications continue working while the \ database schema is being updated. This includes ensuring changes are \ applied without locking the database, and that both old and new schema \ versions work simultaneously \(even when breaking changes are being \ made\!\). This removes risks related to schema migrations, and greatly \ simplifies client application rollout, also allowing for instant rollbacks. categories databases installs_libs no license Apache-2 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 7bcf87d44ec9a59ec5ae4cba6c2141845238846f \ sha256 db1a9fda834300bd2c861895b6015f6c6332b7f032e1ac57cb331ca2e1944355 \ size 481842 build.pre_args-append \ -ldflags=\"-X ${go.package}/cmd.Version=${version}\" set comppath ${workpath}/completions post-build { file mkdir ${comppath} foreach shell {bash fish zsh} { system -W ${worksrcpath} \ "${worksrcpath}/${name} completion ${shell} > ${comppath}/${name}.${shell}" } } destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ xinstall -d ${destroot}${prefix}/share/${name} copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/ # Shell completions set bash_comp_path ${destroot}${prefix}/share/bash-completion/completions xinstall -d ${bash_comp_path} copy ${comppath}/${name}.bash ${bash_comp_path}/${name} set fish_comp_path ${destroot}${prefix}/share/fish/vendor_completions.d xinstall -d ${fish_comp_path} copy ${comppath}/${name}.fish ${fish_comp_path} set zsh_comp_path ${destroot}${prefix}/share/zsh/site-functions xinstall -d ${zsh_comp_path} copy ${comppath}/${name}.zsh ${zsh_comp_path}/_${name} }