Go to file
jordi fita mas 5c4ade15bc Add Debian package
Although it is way too soon to install the application on any server,
i use build.opensuse.org as a kind of CI/CD server: it runs the
migration and executes the test suite on each commit.  For that, i need
to build *some* package, and Debian suits be better because it has all
the Go packages i use; i would have to create the RPM for many libraries
if i were to use openSUSE, for instance.

According to the de facto project layout for Go[0], these files should
go into a `build/package` folder, but since i already broke the rules
with Sqitch’s folders, i do not see why i have to go against Debian’s
conventions of placing them into a `debian` subfolder of the root.

I have spit the package into the binary and the Sqitch migration files
because it is possible to want the PostgreSQL into a separate server,
and there is little point of having Sqitch and all its dependencies
installed on the front-end server where the Go program runs.

The demo package is probably harder to justify, as it is just a single
file, however i will not run out of packages, will i?

Lintian detects htmx@1.9.3.min.js as a “source-less” file, which is
practically true as nobody is ever going to edit a minified source.  I
did not want to include the source in the distribution package, that’s
why i included it in the “missing sources” file, even thought this is a
native debian package and, thus, can not have missing sources.

git-buildpackage creates a lot of extra files that have to be removed
to build it again, otherwise the process detects the new files in the
directory and refuses to build the tarball.  I was getting tired of
doing it manually and added a Makefile rule.

Closes #20
2023-07-27 20:00:08 +02:00
cmd/camper Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
debian Add Debian package 2023-07-27 20:00:08 +02:00
deploy Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
pkg Add profile form, inside a user menu 2023-07-26 20:46:09 +02:00
po Add profile form, inside a user menu 2023-07-26 20:46:09 +02:00
revert Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
test Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
verify Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
web Add profile form, inside a user menu 2023-07-26 20:46:09 +02:00
.gitignore Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
Makefile Add Debian package 2023-07-27 20:00:08 +02:00
demo.sql Add the SQL with demo data 2023-07-27 18:52:01 +02:00
go.mod Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
go.sum Add the skeleton of the web application 2023-07-23 00:11:00 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00