NEWS: Fix formatting of 0.3 entry.
build.scm: Use set-file-modes! rather than execing chmod.
build.scm (build-core-pkg): Delete build directory upon success.
build.scm (build-plugin-dpkg): Set .buildinfo and dbgsym .ddeb read-only.
devops.scm (git-tag-create-options): New variable to config tag signing.
devops.scm (release-core, release-plugin): Use new variable to config
tag signing.
along with this plugin; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-mit-scheme-pucked-devops 0.3 - Matt Birkholz, 2017-12-28
+mit-scheme-pucked-devops 0.4 - Matt Birkholz, 2018-01-02
========================================================
- * New upstream. New devops:status parameter (plugin name). Filenames
- and "warning:" in lint reports.
+Add new variable, git-tag-create-options, for configuring optional tag
+signing. Improve support for new .buildinfo and dbgsym .ddeb build
+products.
+
+mit-scheme-pucked-devops 0.3 - Matt Birkholz, 2017-12-28
+========================================================
- -- Matt Birkholz <matt@birchwood-abbey.net> Thu, 28 Dec 2017 00:00:00 -0000
+New devops:status parameter (plugin name). Filenames and "warning:"
+in lint reports.
mit-scheme-pucked-devops 0.2 - Matt Birkholz, 2017-11-06
========================================================
#| -*-Scheme-*-
-Copyright (C) 2016, 2017 Matthew Birkholz
+Copyright (C) 2016, 2017, 2018 Matthew Birkholz
This file is part of a devops plugin for MIT/GNU Scheme Pucked.
(run "cd "pkgdir"/doc && make")
(run "chmod -R go-w "pkgdir)
(run "cd "build-dir" && tar czf "name"-"vers"-"sarch".tar.gz "name"-"vers)
- (run "chmod 444 "pkgdir"-"sarch".tar.gz")
+ (set-file-modes! (string pkgdir"-"sarch".tar.gz") #o444)
(run "rm -rf "pkgdir)
(run "cd "build-dir" && tar xzf "name"-"vers"-"sarch".tar.gz")
(run "cd "pkgdir"/src && ./configure"cross" --enable-native-code="target)
(run "cd "pkgdir"/src && make compile-microcode")
(run "cd "pkgdir"/src && umask 022 && make install")
(run "cd "pkgdir"/doc && ./configure")
- (run "cd "pkgdir"/doc && umask 022 && make install install-pdf")))
+ (run "cd "pkgdir"/doc && umask 022 && make install install-pdf")
+ (run "rm -rf "pkgdir)))
(define (build-core-dpkg name vers)
(let ((pkgdir (string build-dir"/"name"-"vers)))
(run "cd "build-dir" && tar xJf "name"_"vers".tar.xz")
(run "cd "pkgdir" && dpkg-buildpackage -b -uc")
(let ((darch build-debian-architecture))
- (run "chmod 444 "build-dir"/"name"_"vers"_"darch".deb")
- (run "chmod 444 "build-dir"/"name"_"vers"_"darch".changes")
+ (set-file-modes! (string build-dir"/"name"_"vers"_"darch".deb") #o444)
+ (set-file-modes! (string build-dir"/"name"_"vers"_"darch".changes") #o444)
(run "rm -rf "pkgdir)
(run "sudo "project-name"-install "name"_"vers"_"darch".deb"))))
(lambda ()
(run "cd "pkgdir" && dpkg-buildpackage -b -uc")))
(let ((darch build-debian-architecture))
- (run "chmod 444 "build-dir"/"name"_"vers"_"darch".deb")
- (run "chmod 444 "build-dir"/"name"_"vers"_"darch".changes")
+ (set-file-modes! (string build-dir"/"name"_"vers"_"darch".deb") #o444)
+ (set-file-modes! (string build-dir"/"name"_"vers"_"darch".changes") #o444)
+ (let ((f (string build-dir"/"name"_"vers"_"darch".buildinfo")))
+ (if (file-exists? f) (set-file-modes! f #o444)))
+ (let ((f (string build-dir"/"name"-dbgsym_"vers"_"darch".ddeb")))
+ (if (file-exists? f) (set-file-modes! f #o444)))
(run "rm -rf "pkgdir)
(run "sudo "project-name"-install "name"_"vers"_"darch".deb"))))
dnl Process this file with autoconf to produce a configure script.
AC_INIT([MIT/GNU Scheme Pucked Developer Operations plugin],
- [0.3],
+ [0.4],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-devops])
AC_CONFIG_SRCDIR([devops.pkg])
+mit-scheme-pucked-devops (0.4) birchwood; urgency=low
+
+ * New git-tag-create-options, for configuring optional tag signing.
+ Improve support for new .buildinfo and dbgsym .ddeb build products.
+ Delete core build directories upon success.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Tue, 02 Jan 2018 00:00:00 -0000
+
mit-scheme-pucked-devops (0.3) birchwood; urgency=low
- * New upstream. New devops:status parameter (plugin name). Filenames
- and "warning:" in lint reports.
+ * New devops:status parameter (plugin name). Filenames and
+ "warning:" in lint reports.
-- Matt Birkholz <matt@birchwood-abbey.net> Thu, 28 Dec 2017 00:00:00 -0000
#| -*-Scheme-*-
-Copyright (C) 2016, 2017 Matthew Birkholz
+Copyright (C) 2016, 2017, 2018 Matthew Birkholz
This file is part of a devops plugin for MIT/GNU Scheme Pucked.
\f
;;;; Release
+(define git-tag-create-options "")
+
(define (devops:release #!optional plugin)
(let ((dirt (shell-lines "git status --porcelain --untracked-files=no")))
(cond ((default-object? plugin)
(run "git archive --prefix="project"/ HEAD"
" | ( cd devops/"pkgvers" && tar xf - )")
(begin
- (run "git tag -s -m \"\" "pkgvers)
+ (run "git tag "git-tag-create-options" -m \"\" "pkgvers)
(run "git archive --prefix="project"/ "pkgvers
" | ( cd devops/"pkgvers" && tar xf - )")))
(run "cd devops/"pkgvers" && "project"/dist/make-src-files standard")
(run "git archive --prefix="pkgvers"/ HEAD -- "dir
" | ( cd devops && tar xf - )")
(begin
- (run "git tag -s -m \"\" "pkgvers)
+ (run "git tag "git-tag-create-options" -m \"\" "pkgvers)
(run "git archive --prefix="pkgvers"/ "pkgvers" -- "dir
" | ( cd devops && tar xf - )")))
(run "cd devops/"pkgvers"/"dir" && ./autogen.sh")
(with-loader-base-uri (system-library-uri "devops/")
(lambda ()
(load-package-set "devops")))
-(add-subsystem-identification! "DevOps" '(0 3))
\ No newline at end of file
+(add-subsystem-identification! "DevOps" '(0 4))
\ No newline at end of file