<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/74b865b4fd36ffefdc77d25fd029fb64289b8e95">https://github.com/macports/macports-ports/commit/74b865b4fd36ffefdc77d25fd029fb64289b8e95</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 74b865b4fd3 pgroll: new port (version 0.2.0)
</span>74b865b4fd3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 74b865b4fd36ffefdc77d25fd029fb64289b8e95
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue Oct 3 13:27:08 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> pgroll: new port (version 0.2.0)
</span>---
databases/pgroll/Portfile | 68 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/pgroll/Portfile b/databases/pgroll/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8a789c3247e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/pgroll/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,68 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup golang 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/xataio/pgroll 0.2.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://xata.io/blog/pgroll-schema-migrations-postgres
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Postgres zero-downtime migrations made easy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name} is an open source command-line tool that offers safe and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reversible schema migrations for PostgreSQL by serving multiple schema \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ versions simultaneously. It takes care of the complex migration \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ operations to ensure that client applications continue working while the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ database schema is being updated. This includes ensuring changes are \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ applied without locking the database, and that both old and new schema \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ versions work simultaneously \(even when breaking changes are being \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ made\!\). This removes risks related to schema migrations, and greatly \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ simplifies client application rollout, also allowing for instant rollbacks.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 29548f45cbd46b5150ef777ca8aff62521a26bad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 51a465be97cefd4deb97d78314c90d3b948733c162850a4f218561425ac445c3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 346640
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -ldflags=\"-X ${go.package}/cmd.Version=${version}\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set comppath ${workpath}/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach shell {bash fish zsh} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${comppath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${worksrcpath}/${name} completion ${shell} > ${comppath}/${name}.${shell}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Shell completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bash_comp_path ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${bash_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${comppath}/${name}.bash ${bash_comp_path}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fish_comp_path ${destroot}${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${fish_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${comppath}/${name}.fish ${fish_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set zsh_comp_path ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${zsh_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${comppath}/${name}.zsh ${zsh_comp_path}/_${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>