cdist.git
3 years agoTry to fix keychain unlocking.
Carl Hetherington [Mon, 28 Dec 2020 19:23:09 +0000 (20:23 +0100)]
Try to fix keychain unlocking.

3 years agoTry to support universal or arm-only builds.
Carl Hetherington [Sat, 26 Dec 2020 00:45:49 +0000 (01:45 +0100)]
Try to support universal or arm-only builds.

3 years agoAdd bin to OSXSingleTarget.
Carl Hetherington [Sat, 26 Dec 2020 00:42:22 +0000 (01:42 +0100)]
Add bin to OSXSingleTarget.

3 years agoSupport arm64 and building intel-only or intel/arm universal binaries.
Carl Hetherington [Tue, 22 Dec 2020 20:38:43 +0000 (21:38 +0100)]
Support arm64 and building intel-only or intel/arm universal binaries.

3 years agoConfigurable temp dir.
Carl Hetherington [Thu, 10 Dec 2020 20:03:30 +0000 (21:03 +0100)]
Configurable temp dir.

3 years agoFix over-eager debugging.
Carl Hetherington [Fri, 4 Dec 2020 16:04:14 +0000 (17:04 +0100)]
Fix over-eager debugging.

3 years agoDump xcrun output when we don't parse it.
Carl Hetherington [Mon, 30 Nov 2020 15:18:20 +0000 (16:18 +0100)]
Dump xcrun output when we don't parse it.

3 years agoFix format character.
Carl Hetherington [Mon, 30 Nov 2020 00:04:25 +0000 (01:04 +0100)]
Fix format character.

3 years agoMaybe we can't use fstrings on all platforms yet.
Carl Hetherington [Wed, 25 Nov 2020 11:30:12 +0000 (12:30 +0100)]
Maybe we can't use fstrings on all platforms yet.

3 years agoTry another way to use subprocess; previous breaks on Linux.
Carl Hetherington [Mon, 23 Nov 2020 20:36:36 +0000 (21:36 +0100)]
Try another way to use subprocess; previous breaks on Linux.

3 years agoAlso we need to specify posix to shlex.split to avoid it removing backslashes.
Carl Hetherington [Fri, 20 Nov 2020 12:04:38 +0000 (13:04 +0100)]
Also we need to specify posix to shlex.split to avoid it removing backslashes.

3 years agoLooks like we need shell=True on Windows to do things like run\tests
Carl Hetherington [Fri, 20 Nov 2020 11:58:17 +0000 (12:58 +0100)]
Looks like we need shell=True on Windows to do things like run\tests

3 years agoReplace os.system with subprocess.run so that it's easier to report errors correctly...
Carl Hetherington [Fri, 20 Nov 2020 11:05:42 +0000 (12:05 +0100)]
Replace os.system with subprocess.run so that it's easier to report errors correctly on Windows.

3 years agoAdd another ccache target.
Carl Hetherington [Sun, 25 Oct 2020 22:52:49 +0000 (23:52 +0100)]
Add another ccache target.

3 years agoFix source packaging.
Carl Hetherington [Thu, 22 Oct 2020 19:08:35 +0000 (21:08 +0200)]
Fix source packaging.

3 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/cdist
Carl Hetherington [Thu, 22 Oct 2020 17:48:02 +0000 (19:48 +0200)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/cdist

3 years agoRename --latest-major and --latest-minor to --major and --minor.
Carl Hetherington [Thu, 22 Oct 2020 17:47:57 +0000 (19:47 +0200)]
Rename --latest-major and --latest-minor to --major and --minor.

3 years agoFix handling of notarization request.
Carl Hetherington [Tue, 20 Oct 2020 19:07:53 +0000 (21:07 +0200)]
Fix handling of notarization request.

3 years agoAdd WindowsNativeTarget for running tests on Windows.
Carl Hetherington [Sat, 17 Oct 2020 19:33:20 +0000 (21:33 +0200)]
Add WindowsNativeTarget for running tests on Windows.

3 years agoNotarization fix.
Carl Hetherington [Tue, 13 Oct 2020 23:38:16 +0000 (01:38 +0200)]
Notarization fix.

3 years agoMove some options into subparsers, and add --no-implicit-build to test.
Carl Hetherington [Sun, 11 Oct 2020 22:28:15 +0000 (00:28 +0200)]
Move some options into subparsers, and add --no-implicit-build to test.

3 years agoDo the test build before calling test(), not within.
Carl Hetherington [Sun, 11 Oct 2020 22:27:08 +0000 (00:27 +0200)]
Do the test build before calling test(), not within.

3 years agoMake test() method create its own tree.
Carl Hetherington [Sun, 11 Oct 2020 22:18:13 +0000 (00:18 +0200)]
Make test() method create its own tree.

3 years agoFix a comment.
Carl Hetherington [Sun, 11 Oct 2020 22:06:45 +0000 (00:06 +0200)]
Fix a comment.

3 years agoTidy help a little.
Carl Hetherington [Sun, 11 Oct 2020 21:10:19 +0000 (23:10 +0200)]
Tidy help a little.

3 years agoRemove no-version-commit stuff.
Carl Hetherington [Mon, 28 Sep 2020 19:41:48 +0000 (21:41 +0200)]
Remove no-version-commit stuff.

3 years agoAllow notarization of macOS .dmgs.
Carl Hetherington [Mon, 28 Sep 2020 18:53:21 +0000 (20:53 +0200)]
Allow notarization of macOS .dmgs.

3 years agoHelp tweak
Carl Hetherington [Mon, 28 Sep 2020 18:53:12 +0000 (20:53 +0200)]
Help tweak

3 years agoSort imports alphabetically.
Carl Hetherington [Mon, 28 Sep 2020 18:52:43 +0000 (20:52 +0200)]
Sort imports alphabetically.

3 years agoAdd new ccache target.
Carl Hetherington [Mon, 28 Sep 2020 18:16:45 +0000 (20:16 +0200)]
Add new ccache target.

3 years agoDo security unlock-keychain before building on macOS.
Carl Hetherington [Mon, 28 Sep 2020 12:43:00 +0000 (14:43 +0200)]
Do security unlock-keychain before building on macOS.

3 years agoFix bug when checking out submodules.
Carl Hetherington [Thu, 30 Jul 2020 23:22:57 +0000 (01:22 +0200)]
Fix bug when checking out submodules.

3 years agoAdd dependencies command.
Carl Hetherington [Tue, 28 Jul 2020 10:55:50 +0000 (12:55 +0200)]
Add dependencies command.

3 years agoOptionally pass options into test().
Carl Hetherington [Tue, 16 Jun 2020 07:53:45 +0000 (09:53 +0200)]
Optionally pass options into test().

3 years agoMake make-ccache-volume more robust.
Carl Hetherington [Tue, 16 Jun 2020 06:07:55 +0000 (08:07 +0200)]
Make make-ccache-volume more robust.

3 years agoWork around for permissions problems when different users share a ccache.
Carl Hetherington [Thu, 11 Jun 2020 18:20:57 +0000 (20:20 +0200)]
Work around for permissions problems when different users share a ccache.

3 years agoAdd some more ccache stores.
Carl Hetherington [Thu, 11 Jun 2020 09:28:12 +0000 (11:28 +0200)]
Add some more ccache stores.

3 years agoSupport ccache on Windows.
Carl Hetherington [Thu, 11 Jun 2020 09:28:03 +0000 (11:28 +0200)]
Support ccache on Windows.

3 years agoBehave better with symlinks; replace them with the actual path at the earliest opport...
Carl Hetherington [Thu, 4 Jun 2020 19:43:03 +0000 (21:43 +0200)]
Behave better with symlinks; replace them with the actual path at the earliest opportunity.

3 years agoFix unreference variable.
Carl Hetherington [Thu, 4 Jun 2020 18:38:53 +0000 (20:38 +0200)]
Fix unreference variable.

3 years agoAdd script for making the ccache volume.
Carl Hetherington [Thu, 4 Jun 2020 15:15:49 +0000 (17:15 +0200)]
Add script for making the ccache volume.

3 years agoFix missing mount for git reference and change a little how ccache is done.
Carl Hetherington [Thu, 4 Jun 2020 14:02:30 +0000 (16:02 +0200)]
Fix missing mount for git reference and change a little how ccache is done.

3 years agoAdd support for git_reference.
Carl Hetherington [Thu, 4 Jun 2020 12:38:24 +0000 (14:38 +0200)]
Add support for git_reference.

3 years agoGo back to asking for python3.
Carl Hetherington [Thu, 28 May 2020 07:37:27 +0000 (09:37 +0200)]
Go back to asking for python3.

3 years agoMore Python 3 compatibility.
Carl Hetherington [Sun, 24 May 2020 12:11:55 +0000 (14:11 +0200)]
More Python 3 compatibility.

3 years agoMore Python 3 stuff.
Carl Hetherington [Fri, 22 May 2020 10:53:24 +0000 (12:53 +0200)]
More Python 3 stuff.

3 years agoPython 3 fixes.
Carl Hetherington [Fri, 22 May 2020 10:11:11 +0000 (12:11 +0200)]
Python 3 fixes.

4 years agoBuild AppImage with Ubuntu 18.04.
Carl Hetherington [Sat, 25 Apr 2020 18:21:40 +0000 (20:21 +0200)]
Build AppImage with Ubuntu 18.04.

4 years agoHack: add defaults to options before passing to 'package'
Carl Hetherington [Mon, 6 Apr 2020 15:05:58 +0000 (17:05 +0200)]
Hack: add defaults to options before passing to 'package'

4 years agoMore options wrangling.
Carl Hetherington [Thu, 2 Apr 2020 20:34:45 +0000 (22:34 +0200)]
More options wrangling.

4 years agoOption passing fixes and cleanups.
Carl Hetherington [Thu, 2 Apr 2020 19:21:09 +0000 (21:21 +0200)]
Option passing fixes and cleanups.

4 years agoFix mis-named variable and fix building in a specified directory using docker.
Carl Hetherington [Thu, 2 Apr 2020 18:27:13 +0000 (20:27 +0200)]
Fix mis-named variable and fix building in a specified directory using docker.

4 years agoRemove unused changelog command.
Carl Hetherington [Thu, 2 Apr 2020 14:16:52 +0000 (16:16 +0200)]
Remove unused changelog command.

4 years agoFix up options parsing for all cases.
Carl Hetherington [Thu, 2 Apr 2020 14:11:48 +0000 (16:11 +0200)]
Fix up options parsing for all cases.

4 years agoTypo.
Carl Hetherington [Thu, 2 Apr 2020 13:38:24 +0000 (15:38 +0200)]
Typo.

4 years agoChange option_defaults to being a plain dict rather than a method.
Carl Hetherington [Thu, 2 Apr 2020 13:25:35 +0000 (15:25 +0200)]
Change option_defaults to being a plain dict rather than a method.

4 years agoOnly make docker sessions interactive if stdin is a TTY.
Carl Hetherington [Tue, 17 Mar 2020 08:37:11 +0000 (09:37 +0100)]
Only make docker sessions interactive if stdin is a TTY.

4 years agoMake docker sessions interactive so that the 'shell' command works.
Carl Hetherington [Tue, 17 Mar 2020 00:18:58 +0000 (01:18 +0100)]
Make docker sessions interactive so that the 'shell' command works.

4 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/cdist
Carl Hetherington [Thu, 5 Mar 2020 11:45:39 +0000 (12:45 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/cdist

4 years agoAdd a little optional verbosity.
Carl Hetherington [Thu, 5 Mar 2020 11:45:32 +0000 (12:45 +0100)]
Add a little optional verbosity.

4 years agoMake template config file if none exists.
Carl Hetherington [Sun, 23 Feb 2020 18:44:11 +0000 (19:44 +0100)]
Make template config file if none exists.

4 years agoAdd --environment-version, currently just for Windows targets.
Carl Hetherington [Mon, 3 Feb 2020 22:28:44 +0000 (23:28 +0100)]
Add --environment-version, currently just for Windows targets.

4 years agoError if -t is specified multiple times.
Carl Hetherington [Wed, 11 Dec 2019 13:07:31 +0000 (14:07 +0100)]
Error if -t is specified multiple times.

4 years agoMake it possible to ignore submodules.
Carl Hetherington [Thu, 5 Dec 2019 08:09:57 +0000 (09:09 +0100)]
Make it possible to ignore submodules.

4 years agoCheck for errors in command_and_read.
Carl Hetherington [Wed, 4 Dec 2019 21:23:07 +0000 (22:23 +0100)]
Check for errors in command_and_read.

4 years agoRead and pass apple id/password to target.
Carl Hetherington [Sat, 19 Oct 2019 18:37:43 +0000 (20:37 +0200)]
Read and pass apple id/password to target.

4 years agoTry to get some more cache hits with ccache on OS X.
Carl Hetherington [Sun, 13 Oct 2019 10:56:38 +0000 (12:56 +0200)]
Try to get some more cache hits with ccache on OS X.

4 years agoMake it easier to tell osx and osx-64 apart.
Carl Hetherington [Fri, 11 Oct 2019 22:16:55 +0000 (00:16 +0200)]
Make it easier to tell osx and osx-64 apart.

4 years agoTry to support 64-bit-only OS X packaging.
Carl Hetherington [Wed, 9 Oct 2019 21:32:09 +0000 (23:32 +0200)]
Try to support 64-bit-only OS X packaging.

4 years agoTry to guess CPU count correctly.
Carl Hetherington [Fri, 4 Oct 2019 16:17:11 +0000 (18:17 +0200)]
Try to guess CPU count correctly.

4 years agoFix another -u tag elsewhere.
Carl Hetherington [Thu, 3 Oct 2019 22:12:53 +0000 (00:12 +0200)]
Fix another -u tag elsewhere.

4 years agoThinko in previous.
Carl Hetherington [Thu, 3 Oct 2019 22:06:42 +0000 (00:06 +0200)]
Thinko in previous.

4 years agoConfig option to not specify a user when calling docker.
Carl Hetherington [Thu, 3 Oct 2019 22:01:36 +0000 (00:01 +0200)]
Config option to not specify a user when calling docker.

4 years agoFix naming of docker hub references.
Carl Hetherington [Thu, 3 Oct 2019 21:49:30 +0000 (23:49 +0200)]
Fix naming of docker hub references.

4 years agoFix copyright date.
Carl Hetherington [Thu, 3 Oct 2019 21:42:10 +0000 (23:42 +0200)]
Fix copyright date.

4 years agoExperimental support for specifying a docker hub repo.
Carl Hetherington [Thu, 3 Oct 2019 21:41:13 +0000 (23:41 +0200)]
Experimental support for specifying a docker hub repo.

4 years agoCleanup on package failure.
Carl Hetherington [Sun, 12 May 2019 20:09:51 +0000 (21:09 +0100)]
Cleanup on package failure.

4 years agoBuild appimage from 16.04.
Carl Hetherington [Sun, 12 May 2019 19:59:00 +0000 (20:59 +0100)]
Build appimage from 16.04.

4 years agoFix crash with None specifiers.
Carl Hetherington [Tue, 30 Apr 2019 08:48:56 +0000 (09:48 +0100)]
Fix crash with None specifiers.

4 years agoSome ccache bits.
Carl Hetherington [Tue, 30 Apr 2019 08:46:14 +0000 (09:46 +0100)]
Some ccache bits.

5 years agoFix for release builds.
Carl Hetherington [Thu, 29 Nov 2018 02:21:45 +0000 (02:21 +0000)]
Fix for release builds.

5 years agoFix packaging on non-releases.
Carl Hetherington [Wed, 28 Nov 2018 21:21:31 +0000 (21:21 +0000)]
Fix packaging on non-releases.

5 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/cdist
Carl Hetherington [Mon, 24 Sep 2018 19:28:59 +0000 (20:28 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/cdist

5 years agoBuild AppImage on 14.04.
Carl Hetherington [Mon, 24 Sep 2018 19:28:54 +0000 (20:28 +0100)]
Build AppImage on 14.04.

5 years agoFix ccache stuff.
Carl Hetherington [Sun, 19 Aug 2018 15:15:50 +0000 (16:15 +0100)]
Fix ccache stuff.

5 years agoccache hacks.
Carl Hetherington [Thu, 16 Aug 2018 00:55:20 +0000 (01:55 +0100)]
ccache hacks.

5 years agoMissing ccache setup in OS X.
Carl Hetherington [Wed, 15 Aug 2018 23:34:36 +0000 (00:34 +0100)]
Missing ccache setup in OS X.

5 years agoBasic ccache support.
Carl Hetherington [Wed, 15 Aug 2018 23:17:52 +0000 (00:17 +0100)]
Basic ccache support.

5 years agoTweak name of some WindowsTarget stuff.
Carl Hetherington [Fri, 10 Aug 2018 14:57:11 +0000 (15:57 +0100)]
Tweak name of some WindowsTarget stuff.

5 years agoMore appimage tweaks.
Carl Hetherington [Thu, 9 Aug 2018 14:24:09 +0000 (15:24 +0100)]
More appimage tweaks.

5 years agoappimage hacks.
Carl Hetherington [Wed, 8 Aug 2018 09:20:12 +0000 (10:20 +0100)]
appimage hacks.

5 years agoFix has() to actually work.
Carl Hetherington [Sat, 4 Aug 2018 14:43:36 +0000 (15:43 +0100)]
Fix has() to actually work.

5 years agoMake flatpak_state_dir optional.
Carl Hetherington [Thu, 26 Jul 2018 14:58:38 +0000 (15:58 +0100)]
Make flatpak_state_dir optional.

5 years agoTypo fix in yield stuff.
Carl Hetherington [Thu, 26 Jul 2018 11:48:21 +0000 (12:48 +0100)]
Typo fix in yield stuff.

5 years agoUse a common flatpak cache.
Carl Hetherington [Wed, 25 Jul 2018 22:53:30 +0000 (23:53 +0100)]
Use a common flatpak cache.

5 years agoSupport flatpak builds.
Carl Hetherington [Wed, 25 Jul 2018 20:50:49 +0000 (21:50 +0100)]
Support flatpak builds.

5 years agoTweak to arguments for packaging.
Carl Hetherington [Tue, 24 Jul 2018 14:20:36 +0000 (15:20 +0100)]
Tweak to arguments for packaging.

5 years agoMissing parameter in OS X path.
Carl Hetherington [Tue, 29 May 2018 11:40:20 +0000 (12:40 +0100)]
Missing parameter in OS X path.

5 years agoFix reading of default options.
Carl Hetherington [Sat, 26 May 2018 21:56:42 +0000 (22:56 +0100)]
Fix reading of default options.

5 years agoAllow passing of options from the command line into builds.
Carl Hetherington [Sat, 26 May 2018 00:30:57 +0000 (01:30 +0100)]
Allow passing of options from the command line into builds.