cdist.git
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.

5 years agoMerge.
Carl Hetherington [Sun, 6 May 2018 00:46:02 +0000 (01:46 +0100)]
Merge.

5 years agoEscape-space fix.
Carl Hetherington [Sun, 6 May 2018 00:45:19 +0000 (01:45 +0100)]
Escape-space fix.

6 years agoMore adventures in escaping.
Carl Hetherington [Wed, 28 Mar 2018 12:20:17 +0000 (13:20 +0100)]
More adventures in escaping.

6 years agoSyntax error.
Carl Hetherington [Wed, 28 Mar 2018 10:42:41 +0000 (11:42 +0100)]
Syntax error.

6 years agoTry to fix escaping of scp again.
Carl Hetherington [Wed, 28 Mar 2018 09:35:55 +0000 (10:35 +0100)]
Try to fix escaping of scp again.

6 years agoscp to a temporary file first.
Carl Hetherington [Wed, 28 Mar 2018 00:18:26 +0000 (01:18 +0100)]
scp to a temporary file first.

6 years agoFix specification of major/minor with latest.
Carl Hetherington [Sun, 25 Mar 2018 11:09:28 +0000 (12:09 +0100)]
Fix specification of major/minor with latest.

6 years agoAdd --tags so we see 'normal' tags.
Carl Hetherington [Sun, 25 Mar 2018 01:39:33 +0000 (02:39 +0100)]
Add --tags so we see 'normal' tags.

6 years agoRestore git push --tags.
Carl Hetherington [Sat, 17 Mar 2018 10:36:40 +0000 (10:36 +0000)]
Restore git push --tags.

6 years agoTry to cope with projects that use tags for versioning.
Carl Hetherington [Fri, 16 Mar 2018 00:45:26 +0000 (00:45 +0000)]
Try to cope with projects that use tags for versioning.

6 years agoBuild Windows in docker and fix arch.
Carl Hetherington [Wed, 28 Feb 2018 16:26:26 +0000 (16:26 +0000)]
Build Windows in docker and fix arch.

6 years agoCope with no-version linux targets.
Carl Hetherington [Sun, 17 Dec 2017 14:42:21 +0000 (14:42 +0000)]
Cope with no-version linux targets.

6 years agoSupport upload to S3.
Carl Hetherington [Thu, 14 Dec 2017 21:32:20 +0000 (21:32 +0000)]
Support upload to S3.

6 years agoVarious bits -e/-m etc. docker2
Carl Hetherington [Mon, 16 Oct 2017 20:22:33 +0000 (21:22 +0100)]
Various bits -e/-m etc.

6 years agoBasic Mageia support, tweak test() calling, fix error message.
Carl Hetherington [Thu, 31 Aug 2017 09:49:53 +0000 (10:49 +0100)]
Basic Mageia support, tweak test() calling, fix error message.

6 years agoUse /var/tmp when building in Docker containers; better errors about mismatched depen...
Carl Hetherington [Fri, 11 Aug 2017 00:02:35 +0000 (01:02 +0100)]
Use /var/tmp when building in Docker containers; better errors about mismatched dependencies.

6 years agoMissing self.
Carl Hetherington [Mon, 7 Aug 2017 00:21:12 +0000 (01:21 +0100)]
Missing self.

6 years agoUse a volume mount of a local folder to considerably simplify docker code.
Carl Hetherington [Mon, 7 Aug 2017 00:17:04 +0000 (01:17 +0100)]
Use a volume mount of a local folder to considerably simplify docker code.

6 years agoTry to fix command() failure.
Carl Hetherington [Sat, 5 Aug 2017 23:25:44 +0000 (00:25 +0100)]
Try to fix command() failure.

6 years agoMerge branch 'docker2' of git.carlh.net:git/cdist into docker2
Carl Hetherington [Sat, 5 Aug 2017 22:56:08 +0000 (23:56 +0100)]
Merge branch 'docker2' of git.carlh.net:git/cdist into docker2

6 years agoRemove unused option.
Carl Hetherington [Sat, 5 Aug 2017 22:39:14 +0000 (23:39 +0100)]
Remove unused option.

6 years agoAdd command() method to DockerTarget.
Carl Hetherington [Fri, 28 Jul 2017 22:11:46 +0000 (23:11 +0100)]
Add command() method to DockerTarget.

6 years agoTry to fix upload from Docker containers via SCP.
Carl Hetherington [Fri, 28 Jul 2017 21:20:06 +0000 (22:20 +0100)]
Try to fix upload from Docker containers via SCP.

6 years agoLog use of deprecated properties.
Carl Hetherington [Tue, 25 Jul 2017 08:28:24 +0000 (09:28 +0100)]
Log use of deprecated properties.

6 years agoBack compatibility.
Carl Hetherington [Tue, 25 Jul 2017 08:23:47 +0000 (09:23 +0100)]
Back compatibility.

6 years agoFix docker build() target. Use mxe for Windows environment.
Carl Hetherington [Mon, 24 Jul 2017 23:36:05 +0000 (00:36 +0100)]
Fix docker build() target.  Use mxe for Windows environment.

6 years agoFix release.
Carl Hetherington [Tue, 18 Jul 2017 21:19:14 +0000 (22:19 +0100)]
Fix release.

6 years agoRemove cdistvm; allow docker use with sudo.
Carl Hetherington [Tue, 18 Jul 2017 20:57:45 +0000 (21:57 +0100)]
Remove cdistvm; allow docker use with sudo.

6 years agoFix a couple of bits.
Carl Hetherington [Wed, 12 Jul 2017 14:26:59 +0000 (15:26 +0100)]
Fix a couple of bits.

6 years agoAlways try to create output_dir.
Carl Hetherington [Tue, 11 Jul 2017 10:37:38 +0000 (11:37 +0100)]
Always try to create output_dir.

6 years agoVarious docker tweaks.
Carl Hetherington [Mon, 10 Jul 2017 20:11:39 +0000 (21:11 +0100)]
Various docker tweaks.

6 years agoFixz.
Carl Hetherington [Wed, 5 Jul 2017 23:47:11 +0000 (00:47 +0100)]
Fixz.

6 years agoHackz.
Carl Hetherington [Wed, 5 Jul 2017 23:33:20 +0000 (00:33 +0100)]
Hackz.

6 years agoMake dry_run a global and add a few comments.
Carl Hetherington [Mon, 3 Jul 2017 09:38:11 +0000 (10:38 +0100)]
Make dry_run a global and add a few comments.

6 years agoMaybe fix options with dependencies.
Carl Hetherington [Mon, 3 Jul 2017 09:31:59 +0000 (10:31 +0100)]
Maybe fix options with dependencies.

6 years agoDepedency fix-up attempt.
Carl Hetherington [Mon, 3 Jul 2017 00:18:16 +0000 (01:18 +0100)]
Depedency fix-up attempt.

6 years agoMissing function call.
Carl Hetherington [Mon, 3 Jul 2017 00:09:00 +0000 (01:09 +0100)]
Missing function call.

6 years agoMissing handling of None options.
Carl Hetherington [Mon, 3 Jul 2017 00:07:19 +0000 (01:07 +0100)]
Missing handling of None options.

6 years agoMore dry-run stuff.
Carl Hetherington [Mon, 3 Jul 2017 00:05:59 +0000 (01:05 +0100)]
More dry-run stuff.

6 years agoFix missing action on command line argument.
Carl Hetherington [Mon, 3 Jul 2017 00:02:56 +0000 (01:02 +0100)]
Fix missing action on command line argument.

6 years agoTry to fix option parsing and add -n.
Carl Hetherington [Mon, 3 Jul 2017 00:01:50 +0000 (01:01 +0100)]
Try to fix option parsing and add -n.

6 years agoMerge branch 'master' of git.carlh.net:git/cdist
Carl Hetherington [Sun, 2 Jul 2017 23:13:08 +0000 (00:13 +0100)]
Merge branch 'master' of git.carlh.net:git/cdist

6 years agoTry to pass dependency options into dependencies().
Carl Hetherington [Sun, 2 Jul 2017 23:13:06 +0000 (00:13 +0100)]
Try to pass dependency options into dependencies().

7 years agoAdd environment_prefix to OSX target and rename the Windows equivalent.
Carl Hetherington [Mon, 9 Jan 2017 09:48:07 +0000 (09:48 +0000)]
Add environment_prefix to OSX target and rename the Windows equivalent.

7 years agoAdd some comments; add speculative and unfinished Docker support.
Carl Hetherington [Thu, 5 Jan 2017 16:34:32 +0000 (16:34 +0000)]
Add some comments; add speculative and unfinished Docker support.

7 years agoAdd fedora 25 VMs.
Carl Hetherington [Tue, 6 Dec 2016 12:55:21 +0000 (12:55 +0000)]
Add fedora 25 VMs.

7 years agoMerge branch 'master' of git.carlh.net:git/cdist
Carl Hetherington [Fri, 16 Sep 2016 11:00:34 +0000 (12:00 +0100)]
Merge branch 'master' of git.carlh.net:git/cdist

7 years agoAdd fedora 24 VMs to cdistvm.
Carl Hetherington [Fri, 16 Sep 2016 11:00:27 +0000 (12:00 +0100)]
Add fedora 24 VMs to cdistvm.

7 years agoCorrectly throw an error if a required setting is missing.
Carl Hetherington [Sat, 18 Jun 2016 21:40:01 +0000 (22:40 +0100)]
Correctly throw an error if a required setting is missing.