cdist.git
7 days agoClarify. master github/master
Carl Hetherington [Wed, 17 Apr 2024 15:24:55 +0000 (17:24 +0200)]
Clarify.

7 days agoComment improvements.
Carl Hetherington [Wed, 17 Apr 2024 15:24:36 +0000 (17:24 +0200)]
Comment improvements.

7 days agoClarify a log.
Carl Hetherington [Wed, 17 Apr 2024 15:24:22 +0000 (17:24 +0200)]
Clarify a log.

7 days agoDo add_defaults() always at the last minute before calling into the cscript.
Carl Hetherington [Wed, 17 Apr 2024 15:24:17 +0000 (17:24 +0200)]
Do add_defaults() always at the last minute before calling into the cscript.

7 days agoMake add_defaults() return a new dict rather than mutating one.
Carl Hetherington [Wed, 17 Apr 2024 15:23:39 +0000 (17:23 +0200)]
Make add_defaults() return a new dict rather than mutating one.

7 days agoRemove never-used dependencies call (making a graph).
Carl Hetherington [Wed, 17 Apr 2024 15:22:11 +0000 (17:22 +0200)]
Remove never-used dependencies call (making a graph).

10 days agoFix previous.
Carl Hetherington [Mon, 15 Apr 2024 07:24:26 +0000 (09:24 +0200)]
Fix previous.

2 weeks agoFix Windows builds with older cscripts.
Carl Hetherington [Sat, 6 Apr 2024 19:18:04 +0000 (21:18 +0200)]
Fix Windows builds with older cscripts.

3 weeks agoFix LocalTarget to work better (mostly making it work like a normal Linux target).
Carl Hetherington [Fri, 29 Mar 2024 21:18:55 +0000 (22:18 +0100)]
Fix LocalTarget to work better (mostly making it work like a normal Linux target).

3 weeks agoAdd --dependencies-only
Carl Hetherington [Fri, 29 Mar 2024 21:18:38 +0000 (22:18 +0100)]
Add --dependencies-only

4 weeks agoAdd LocalTarget, which isn't really that helpful actually.
Carl Hetherington [Sun, 24 Mar 2024 21:34:09 +0000 (22:34 +0100)]
Add LocalTarget, which isn't really that helpful actually.

You end up needing to delete things from /usr/local so they don't
get picked up by "local" builds.

8 weeks agoPossibly fix OSXUniversalTarget with ccache.
Carl Hetherington [Sat, 24 Feb 2024 21:42:01 +0000 (22:42 +0100)]
Possibly fix OSXUniversalTarget with ccache.

3 months agoAdd new ccache directory.
Carl Hetherington [Sun, 21 Jan 2024 15:08:44 +0000 (16:08 +0100)]
Add new ccache directory.

3 months agoRemove Windows version support (was used for XP).
Carl Hetherington [Sat, 20 Jan 2024 14:25:40 +0000 (15:25 +0100)]
Remove Windows version support (was used for XP).

7 months agoGo back to running Flatpak outside docker; running it inside seems even more painful.
Carl Hetherington [Wed, 30 Aug 2023 22:18:15 +0000 (00:18 +0200)]
Go back to running Flatpak outside docker; running it inside seems even more painful.

7 months agoMake flatpak work better.
Carl Hetherington [Sun, 27 Aug 2023 15:19:38 +0000 (17:19 +0200)]
Make flatpak work better.

8 months agoFix missing attribute.
Carl Hetherington [Sun, 20 Aug 2023 20:53:48 +0000 (22:53 +0200)]
Fix missing attribute.

8 months agoTry to fix incorrect working directory when copying non-universal macOS packages.
Carl Hetherington [Mon, 14 Aug 2023 17:48:39 +0000 (19:48 +0200)]
Try to fix incorrect working directory when copying non-universal macOS packages.

9 months agoCreate temp directory if it doesn't exist.
Carl Hetherington [Wed, 19 Jul 2023 20:29:28 +0000 (22:29 +0200)]
Create temp directory if it doesn't exist.

9 months agoUse notarytool instead of altool for notarizing macOS apps.
Carl Hetherington [Sun, 25 Jun 2023 21:33:24 +0000 (23:33 +0200)]
Use notarytool instead of altool for notarizing macOS apps.

9 months agoCleanup: remove pointless try/except.
Carl Hetherington [Mon, 26 Jun 2023 08:00:05 +0000 (10:00 +0200)]
Cleanup: remove pointless try/except.

10 months agoAdd new ccache volume.
Carl Hetherington [Fri, 2 Jun 2023 20:34:34 +0000 (22:34 +0200)]
Add new ccache volume.

10 months agoFix help.
Carl Hetherington [Fri, 2 Jun 2023 20:34:18 +0000 (22:34 +0200)]
Fix help.

12 months agoNo need to run on Python 2 any more.
Carl Hetherington [Thu, 30 Mar 2023 22:51:38 +0000 (00:51 +0200)]
No need to run on Python 2 any more.

15 months agoUse .tar.zst not .zst for zstd tarballs.
Carl Hetherington [Fri, 30 Dec 2022 15:49:40 +0000 (16:49 +0100)]
Use .tar.zst not .zst for zstd tarballs.

15 months agoBuild .zst as well as .tar.bz2 for source targets (DoM #1705).
Carl Hetherington [Fri, 30 Dec 2022 00:56:17 +0000 (01:56 +0100)]
Build .zst as well as .tar.bz2 for source targets (DoM #1705).

16 months agoTry more to fix git clones.
Carl Hetherington [Thu, 15 Dec 2022 20:05:28 +0000 (21:05 +0100)]
Try more to fix git clones.

16 months agoTry to fix git clones with new security feature.
Carl Hetherington [Thu, 15 Dec 2022 19:11:36 +0000 (19:11 +0000)]
Try to fix git clones with new security feature.

18 months agoPass --rm to docker create
Carl Hetherington [Tue, 4 Oct 2022 07:25:47 +0000 (09:25 +0200)]
Pass --rm to docker create

18 months agoKill docker image on SIGTERM.
cah [Tue, 4 Oct 2022 06:53:45 +0000 (08:53 +0200)]
Kill docker image on SIGTERM.

19 months agoI don't think we need to clean up target if we don't even create it successfully.
Carl Hetherington [Mon, 19 Sep 2022 21:55:54 +0000 (23:55 +0200)]
I don't think we need to clean up target if we don't even create it successfully.

2 years agoAnother attempt to fix unnecessary building while packaging.
Carl Hetherington [Sat, 19 Feb 2022 21:34:45 +0000 (22:34 +0100)]
Another attempt to fix unnecessary building while packaging.

2 years agoRevert "Don't build a tree that is being packaged; the package() method must do it...
Carl Hetherington [Sat, 19 Feb 2022 20:06:10 +0000 (21:06 +0100)]
Revert "Don't build a tree that is being packaged; the package() method must do it (if required)."

This reverts commit 1b9fcb5ab32d501a24f603d8a2e4fe8aff282e95.

On reflection this approach just gets too complicated considering
the override of package() for macOS.

2 years agoDon't build a tree that is being packaged; the package() method must do it (if required).
Carl Hetherington [Sat, 19 Feb 2022 16:31:54 +0000 (17:31 +0100)]
Don't build a tree that is being packaged; the package() method must do it (if required).

This is to make Linux builds more efficient; previously cdist
would build() everything (including the whole of DoM) and then
most linux package() methods would end up building it again
(making the build in build() redundant).

Now the cscript in DoM can call build() if necessary.

I'm a little bit worried that the environment is no longer preserved
during the final build(), but I'm unsure if this is necessary
anyway.

2 years agoRemove duplicate call to cleanup().
cah [Fri, 18 Feb 2022 13:43:10 +0000 (14:43 +0100)]
Remove duplicate call to cleanup().

2 years agoLittle cleanup.
cah [Thu, 17 Feb 2022 23:02:04 +0000 (00:02 +0100)]
Little cleanup.

2 years agoCleanup: rename git_commit -> commit.
cah [Thu, 17 Feb 2022 23:00:53 +0000 (00:00 +0100)]
Cleanup: rename git_commit -> commit.

2 years agoCleanup: rename specifier -> commit_ish.
cah [Thu, 17 Feb 2022 22:58:57 +0000 (23:58 +0100)]
Cleanup: rename specifier -> commit_ish.

2 years agoOut-of-date comment.
cah [Wed, 16 Feb 2022 13:01:23 +0000 (14:01 +0100)]
Out-of-date comment.

2 years agoTry to use finally better to terminate subprocesses when we die.
Carl Hetherington [Mon, 14 Feb 2022 12:38:43 +0000 (13:38 +0100)]
Try to use finally better to terminate subprocesses when we die.

2 years agoMatch only tags that start with v when looking for versions.
cah [Fri, 12 Nov 2021 14:06:22 +0000 (15:06 +0100)]
Match only tags that start with v when looking for versions.

2 years agoAdd a new ccache volume.
cah [Fri, 12 Nov 2021 14:06:09 +0000 (15:06 +0100)]
Add a new ccache volume.

2 years agoTry to fix to not assume master.
Carl Hetherington [Sun, 10 Oct 2021 08:42:56 +0000 (10:42 +0200)]
Try to fix to not assume master.

2 years agoCheckout deps when building manuals for DoM (which requires libdcp to build its manual).
Carl Hetherington [Thu, 7 Oct 2021 20:56:26 +0000 (22:56 +0200)]
Checkout deps when building manuals for DoM (which requires libdcp to build its manual).

2 years agoAdd new ccache volume.
Carl Hetherington [Sun, 4 Jul 2021 20:18:57 +0000 (22:18 +0200)]
Add new ccache volume.

2 years agoFix previous.
Carl Hetherington [Thu, 20 May 2021 19:26:34 +0000 (21:26 +0200)]
Fix previous.

2 years agoCopy .id files back to output for .dmg builds.
Carl Hetherington [Thu, 20 May 2021 17:44:24 +0000 (19:44 +0200)]
Copy .id files back to output for .dmg builds.

2 years agoAdd osx-old target to target 10.8.
Carl Hetherington [Sun, 16 May 2021 17:38:07 +0000 (19:38 +0200)]
Add osx-old target to target 10.8.

2 years agoFix previous.
Carl Hetherington [Thu, 13 May 2021 14:28:13 +0000 (16:28 +0200)]
Fix previous.

2 years agoTry to fix notarization when an upload has already happened.
Carl Hetherington [Thu, 13 May 2021 14:22:31 +0000 (16:22 +0200)]
Try to fix notarization when an upload has already happened.

2 years agoVarious fixes to notarize command that should have been squashed.
Carl Hetherington [Thu, 13 May 2021 12:53:05 +0000 (14:53 +0200)]
Various fixes to notarize command that should have been squashed.

2 years agoAdd notarize command.
Carl Hetherington [Wed, 12 May 2021 17:46:56 +0000 (19:46 +0200)]
Add notarize command.

2 years agoNew ccache volumes.
Carl Hetherington [Wed, 12 May 2021 17:19:16 +0000 (19:19 +0200)]
New ccache volumes.

3 years agoAdd ubuntu-16.04-64; stop using jenkins user.
Carl Hetherington [Sat, 6 Feb 2021 23:48:08 +0000 (00:48 +0100)]
Add ubuntu-16.04-64; stop using jenkins user.

3 years agoTone down previous commit a little.
Carl Hetherington [Wed, 3 Feb 2021 09:07:28 +0000 (10:07 +0100)]
Tone down previous commit a little.

3 years agoMore debugging of flaky xcrun altool.
Carl Hetherington [Wed, 3 Feb 2021 09:03:13 +0000 (10:03 +0100)]
More debugging of flaky xcrun altool.

3 years agoTry to re-add osx-intel target for test builds.
Carl Hetherington [Fri, 8 Jan 2021 01:34:48 +0000 (02:34 +0100)]
Try to re-add osx-intel target for test builds.

3 years agoHappy new year.
Carl Hetherington [Fri, 8 Jan 2021 00:05:03 +0000 (01:05 +0100)]
Happy new year.

3 years agoIt turns out, after all these years, that apparently you can use
Carl Hetherington [Wed, 6 Jan 2021 16:24:38 +0000 (17:24 +0100)]
It turns out, after all these years, that apparently you can use
any SDK you want and just change the deployment target to the minimum
you want to support - who knew?

3 years agoAdapt for changes to environment structure.
Carl Hetherington [Tue, 5 Jan 2021 23:43:51 +0000 (00:43 +0100)]
Adapt for changes to environment structure.

3 years agoDisplay Apple server response in case of failure.
Carl Hetherington [Tue, 5 Jan 2021 13:22:41 +0000 (14:22 +0100)]
Display Apple server response in case of failure.

3 years agoOffer intel_sdk, arm_sdk from OSXUniversalTarget
Carl Hetherington [Tue, 5 Jan 2021 13:21:59 +0000 (14:21 +0100)]
Offer intel_sdk, arm_sdk from OSXUniversalTarget

3 years agoExperiment with different SDKs in the universal OSX binary.
Carl Hetherington [Tue, 5 Jan 2021 10:23:45 +0000 (11:23 +0100)]
Experiment with different SDKs in the universal OSX binary.

3 years agoFix comment.
Carl Hetherington [Sun, 3 Jan 2021 20:47:55 +0000 (21:47 +0100)]
Fix comment.

3 years agoMore 32-bit removal.
Carl Hetherington [Sat, 2 Jan 2021 19:00:10 +0000 (20:00 +0100)]
More 32-bit removal.

3 years agoAdd sdk to OSXUniversalTarget.
Carl Hetherington [Fri, 1 Jan 2021 13:54:18 +0000 (14:54 +0100)]
Add sdk to OSXUniversalTarget.

3 years agoEnviromment multi-SDK changes.
Carl Hetherington [Fri, 1 Jan 2021 13:54:01 +0000 (14:54 +0100)]
Enviromment multi-SDK changes.

3 years agoTry to tidy things up a bit.
Carl Hetherington [Wed, 30 Dec 2020 15:51:21 +0000 (16:51 +0100)]
Try to tidy things up a bit.

3 years ago(Optionally) notarize all macOS builds.
Carl Hetherington [Wed, 30 Dec 2020 00:49:03 +0000 (01:49 +0100)]
(Optionally) notarize all macOS builds.

3 years agoReverse the sense of a bunch of notarize variables.
Carl Hetherington [Wed, 30 Dec 2020 00:35:10 +0000 (01:35 +0100)]
Reverse the sense of a bunch of notarize variables.

3 years agoRename notarize -> notarize_dmg.
Carl Hetherington [Wed, 30 Dec 2020 00:34:35 +0000 (01:34 +0100)]
Rename notarize -> notarize_dmg.

3 years agoCleanup: use _build_packages.
Carl Hetherington [Wed, 30 Dec 2020 00:31:15 +0000 (01:31 +0100)]
Cleanup: use _build_packages.

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