aboutsummaryrefslogtreecommitdiff
path: root/build-aux
AgeCommit message (Expand)Author
2024-01-26README: Hard-code releases.•••* README.org (Download): Replace releases dynamic block with hard-coded list of releases. * build-aux/build-website.el (org-dblock-write:releases): Delete function. (main): Do not call org-update-all-dblocks. Arun Isaac
2024-01-26build-aux: Do not list the v0.1.0 release.•••* build-aux/build-website.el (org-dblock-write:releases): Do not list the v0.1.0 release. Arun Isaac
2024-01-26build-aux: Do not infer release information from git tags.•••We now build the website as a computed-file G-expression in a Guix channel. Guix channels always discard the git repository information, and don't have access to the git tags. We can fix this problem later if and when we switch to using tissue for the website. * build-aux/build-website.el (org-dblock-write:releases): Do not infer release information from git tags. Hard-code them. Arun Isaac
2023-01-16Revert "README: Declare that releases are only tagged in git from now on."•••This reverts commit 5cc34d6be3daada501ff952fc9edf1ac04d9c24a. We go back to releasing tarballs since tarballs are still important for package managers other than Guix. e.g., homebrew. Arun Isaac
2023-01-06README: Declare that releases are only tagged in git from now on.•••* README.org (Download): Declare that releases are only tagged in git from now on. * build-aux/build-website.el (org-dblock-write:releases): Exclude releases after and including v0.3.0. Arun Isaac
2023-01-06build-aux: Use --contains to exclude v0.1.0 release.•••* build-aux/build-website.el (org-dblock-write:releases): Use the --contains argument of git for-each-ref to exclude the v0.1.0 release. Arun Isaac
2023-01-03build-aux: Pass fail directory from main in test-corpus.scm.•••* build-aux/test-corpus.scm (test-corpus): Accept fail-directory argument. * build-aux/test-corpus.scm (main): Pass fail-directory argument to test-corpus. Arun Isaac
2023-01-03build-aux: Assume fail directory exists when testing corpus.•••Assume fail directory exists and do not attempt to clear it. * build-aux/test-corpus.scm (main): Do not create or delete fail directory. Arun Isaac
2023-01-03build-aux: Make test-corpus.scm a loadable script.•••Make test-corpus.scm a script loadable from the REPL rather than something that must be run on the shell. Loadable scripts are easier to deal with since one does not have to deal with command-line arguments. * build-aux/test-corpus.scm (%fail-directory): Delete variable. (write-failed-email): Add fail-directory argument. (main): New function. Arun Isaac
2023-01-03build-aux: Bump copyright year on test-driver.scm.•••* build-aux/test-driver.scm: Bump copyright year for Arun Isaac. Arun Isaac
2023-01-03Quit the autotools build system.•••For a simple package like guile-email, the autotools build system is more trouble than it is worth. We prefer a hand-written Makefile. As the commit summary suggests, the autotools are indeed a bad habit that we must "quit". * Makefile: New file. * Makefile.am, bootstrap.sh, configure.ac, pre-inst-env.in: Delete files. * build-aux/test-corpus.scm.in: Rename to ... * build-aux/test-corpus.scm: ... this. Remove shebang. * build-aux/test-driver.scm.in: Rename to ... * build-aux/test-driver.scm: ... this. Remove autotools specific parts. * guix.scm: Import (guix utils). (guile-email)[arguments]: Add prefix to #:make-flags. Delete configure phase. * .gitignore: Remove INSTALL, Makefile, Makefile.in, aclocal.m4, autom4te.cache, build-aux/install-sh, build-aux/missing, build-aux/test-corpus.scm, config.log, config.status, configure, doc/.dirstamp, pre-inst-env, test-suite.log, tests/*.log and tests/*.trs. Arun Isaac
2021-10-24build-aux: Test bug-guix corpus.•••* build-aux/pull-corpus.scm: Pull bug-guix mailing list archives. * build-aux/test-corpus.scm.in: Test bug-guix corpus. Arun Isaac
2021-10-24build-aux: Create corpus directory if it does not exist.•••* build-aux/pull-corpus.scm (pull-mailing-list): Create corpus directory if it does not exist. Arun Isaac
2021-10-23build-aux: Read emails one by one from mbox corpora.•••Reading emails one by one avoids allocating memory for a list of emails. * build-aux/test-corpus.scm.in (read-next-email-in-mbox): New function. (test-corpus): Use port-transduce to read emails one by one. Arun Isaac
2021-10-23build-aux: Write failed corpus test emails to filesystem.•••* build-aux/test-corpus.scm.in: Import (rnrs io ports), (srfi srfi-26), (srfi srfi-28), (srfi srfi-171), (ice-9 ftw) and (ice-9 match). (%fail-directory): New variable. (directory-files, write-failed-email): New function. Write failed corpus test emails to a "fail directory" specified on the command line. Arun Isaac
2021-09-28README: Use a dynamic block to list releases.•••* README.org (Download): Replace releases with dynamic block. * build-aux/build-website.el: Update dynamic blocks before exporting. (org-dblock-write:releases): New function. Arun Isaac
2021-09-28build-aux: Do not create backup files when building website.•••* build-aux/build-website.el (make-backup-files): Set to nil. Arun Isaac
2021-06-18website: Reference external stylesheet.•••* website/style.css: New file. * Makefile.am (AM_MAKEINFOHTMLFLAGS): Set to --css-ref=/style.css. * build-aux/build-website.el (org-html-head): Set to <link> tag referencing external stylesheet. Arun Isaac
2021-06-18build-aux: Move build-website.el into build-aux directory.•••* build-website.el: Move to build-aux/build-website.el. * Makefile.am (website/index.html): Use build-aux/build-website.el instead of build-website.el. Arun Isaac
2021-06-15build-aux: Add corpus pull script.•••This is a follow-up to commit 7a78c23f6f2f1c32abb508563a700cd535b29ad1 adding a file that was missed out. * build-aux/pull-corpus.scm: New file. Arun Isaac
2021-06-14Add corpus test scripts.•••* build-aux/pull-corpus.scm, build-aux/test-corpus.scm.in: New files. * configure.ac: Configure build-aux/test-corpus.scm. * .gitignore: Add build-aux/test-corpus.scm. Arun Isaac
2019-12-16tests: Log test results to stderr.•••* build-aux/test-driver.scm.in (my-gnu-runner): Log colorized test results to stderr. Arun Isaac
2019-12-16tests: Implement custom test runner group begin and end functions.•••* build-aux/test-driver.scm.in (my-gnu-runner): Add custom test-runner on-group-begin and on-group-end functions. Accept log file port as an argument. Arun Isaac
2019-08-09tests: Run tests with correct path.•••* build-aux/test-driver.scm: Rename to build-aux/test-driver.scm.in. * build-aux/test-driver.scm.in: Specify log file as an absolute path. Change to top level source directory before running tests. * configure.ac: Generate test-driver.scm. * Makefile.am (EXTRA_DIST): Unregister build-aux/test-driver.scm. Register build-aux/test-driver.scm.in. Arun Isaac
2018-09-12Untabify and re-indent all sources.•••* build-aux/test-driver.scm, email/base64.scm, email/email.scm, email/quoted-printable.scm, email/utils.scm, tests/quoted-printable.scm: Untabify and re-indent. Arun Isaac
2018-09-11tests: Add tests for (email quoted-printable).•••* build-aux/test-driver.scm: New file. * tests/quoted-printable.scm: New file. * Makefile.am (TEST_EXTENSIONS, SCM_TESTS, TESTS, SCM_LOG_DRIVER): New variables. (EXTRA_DIST): Register new files for distribution. Arun Isaac