Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
2539bc4
packaging(macos): add macOS .app, .dmg, and CLI bundle packaging scripts
hrb9 Nov 20, 2026
aba5b35
packaging(macos): address review feedback on env, cert import, font l…
hrb9 Nov 20, 2026
5af7f7d
packaging(macos): bundle readable egui default font copyright notices
hrb9 Nov 20, 2026
992761c
packaging(macos): strip build metadata from SHORT_VERSION
hrb9 Nov 20, 2026
c676528
packaging(macos): harden cargo build check, version parsing, sed esca…
hrb9 Nov 20, 2026
41a292a
packaging(macos): initialize version vars before validation and resto…
hrb9 Nov 20, 2026
acbd691
packaging(macos): build targets individually, use BSD base64 -D, and …
hrb9 Nov 21, 2026
4235fb4
M6: harden macOS packaging smoke test, cert import, and update releas…
hrb9 Nov 21, 2026
c76dabf
M6: bound CFBundleShortVersionString to 1-3 integers and fail closed …
hrb9 Nov 21, 2026
a099f44
M6: run signing guard after --build-only, print full --help, and avoi…
hrb9 Nov 22, 2026
7193707
M6: document security CLI single-tenant runner requirement and fail c…
hrb9 Nov 22, 2026
1083ea2
M6: emit artifact SHA-256 digests, fix --help range, key work dir by …
hrb9 Nov 22, 2026
2b98f49
M6: remove unused PROJECTCRAFT_BUILD_DATE export and document CI nota…
hrb9 Nov 22, 2026
22b7d3f
M6: check active rustc sysroot for target preflight
hrb9 Nov 23, 2026
9bd7cfa
M6: verify target binaries exist before lipo on --skip-build
hrb9 Nov 24, 2026
9eae910
M6: record build SHA across --skip-build, mark dirty trees, and prune…
hrb9 Nov 24, 2026
bbf4947
packaging(macos): update bundle identifier to io.github.ucslabs.proje…
hrb9 Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Roadmap

> **Last reviewed:** 2026-10-17 · **Last updated:** 2026-10-17 · **Change list:** minor (fix: resource-calendar late start before start, #124) · **Target:** Microsoft Project (desktop)
> **Last reviewed:** 2026-11-21 · **Last updated:** 2026-11-21 · **Change list:** minor (macOS .app, .dmg, and CLI bundle packaging scripts, #140) · **Target:** Microsoft Project (desktop)

ProjectCraft aims for parity with Microsoft Project's scheduling, as its documentation describes it. Each roadmap milestone has a pass/fail checklist; it is reached when every item passes.

Expand Down Expand Up @@ -144,6 +144,7 @@ Import gaps, until later work closes them (each is a line in the import report):
| 2026-10-17 | M2 reached: every item on its checklist passes, levelling (the stretch) included; 11 / 11 tickets |
| 2026-10-17 | M4: As Late As Possible constraint: `task.setConstraint` type `ALAP` (no date), saved in the project file as `"ALAP"` (files without it load as before). The scheduler holds such a task at its late start, as Microsoft's definition has it (ES = calculated LS): as late as it can without delaying its successors, its deadline or the project finish; its successors follow it and lose their slack too, and summaries roll up where it ends up. A subtask is also held to the start its summary's start-to-start and start-to-finish successors allow, the holds are worked out again when moving a subtask changes its summary's span (a few rounds at most), and holds that would still make the project finish later give way (the plan is then scheduled as soon as possible). Plans without it make the same single pass each way. Microsoft Project XML (`ConstraintType` 1) and CSV (`As Late As Possible` or `ALAP`) import it exactly, the Converted report line gone, and Microsoft Project XML export writes it; the orchard parity fixture's As Late As Possible task now matches (its successor's hand-worked dates corrected to follow it, and a task added to set the finish so the branch doesn't run on from another conversion). Worked examples with links, a lag, a start-to-start link, a chain, a milestone, a deadline, a summary and a resource calendar; a property test that it never finishes the project later or moves a task earlier (#122) |
| 2026-10-17 | Fix: a task or milestone with no slack never shows a late start before its start when a resource works outside the project calendar's time. Slack counts on the project calendar, so a late start earlier only by time outside it (a Saturday morning one resource works) is no slack: the late start is then the start, and the late finish never before the finish; before, a summary over a milestone could show a Friday late start beside a Monday start, and a task on that resource's calendar a Saturday one. Plans on the project calendar alone schedule as before. Found by the resource-calendar property test; worked-example regression tests, the shrunk case kept (#124) |
| 2026-11-21 | M6: macOS `.app`, `.dmg`, and CLI `.zip` packaging scripts (`packaging/env.sh`, `packaging/macos/*`, bundled `licenses/egui-default-fonts/`) (#140) |

## Revision history
| Date | Change | Summary |
Expand Down Expand Up @@ -192,3 +193,4 @@ Import gaps, until later work closes them (each is a line in the import report):
| 2026-10-17 | minor | M2 reached |
| 2026-10-17 | minor | As Late As Possible constraint (#122); M4 import gap closed |
| 2026-10-17 | minor | Fix: resource-calendar late start before start (#124) |
| 2026-11-21 | minor | macOS packaging scripts (`packaging/macos/`) (#140) |
14 changes: 9 additions & 5 deletions docs/releasing.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Releasing ProjectCraft

> **Last reviewed:** 2026-10-16 · **Last updated:** 2026-10-16 · **Change:** major (first version) · **Status:** no release workflow exists yet; nothing has been released.
> **Last reviewed:** 2026-11-21 · **Last updated:** 2026-11-21 · **Change:** minor (document macOS packaging scripts in `packaging/macos/`) · **Status:** macOS packaging scripts added; no release workflow or published builds yet.

ProjectCraft has no release workflow, no packaging and no signing yet. There are no published
builds: build from source (`README.md`). This file holds the rules the release workflow must
follow when it is written, so that it starts out safe rather than being made safe later. A
release workflow that breaks one of them is a security bug.
ProjectCraft has no release workflow or published builds yet: build from source (`README.md`) or run the macOS packaging scripts (`packaging/macos/package.sh`). This file holds the rules the release workflow must follow when it is written, so that it starts out safe rather than being made safe later. A release workflow that breaks one of them is a security bug.

## macOS packaging (`packaging/macos/`)

- `packaging/env.sh` resolves workspace metadata (`VERSION`, `APP_ID`, `DIST`, `CARGO_TARGET_DIR`) and copies legal/licence files (`LICENSE-MIT`, `LICENSE-APACHE`, `ATTRIBUTION.md`, `NOTICE`, bundled `licenses/egui-default-fonts/`, and optional `CRAFT_FONTS_DIR` `OFL.txt` files).
- `packaging/macos/package.sh [--arch universal|aarch64|x86_64] [--skip-build | --build-only] [--no-run]` builds `projectcraft` and `projectcraft-cli`, combines universal slices with `lipo`, renders `packaging/macos/Info.plist.in`, signs inside-out with `packaging/macos/entitlements.plist` (falling back to ad-hoc `-` locally when `MACOS_SIGN_IDENTITY` is unset, and failing closed in GitHub Actions unless `MACOS_ALLOW_ADHOC=1`), builds `$DIST/projectcraft-<version>-macos-<arch>.dmg` and `$DIST/projectcraft-cli-<version>-macos-<arch>.zip` with `.sha256` sidecars, notarizes/staples the `.app` and `.dmg` when `MACOS_NOTARY_PROFILE` (or `APPLE_ID`, `APPLE_PASSWORD`, `APPLE_TEAM_ID`) is set (failing closed in GitHub Actions on incomplete notarization credentials unless `MACOS_ALLOW_UNNOTARIZED=1`; prefer `MACOS_NOTARY_PROFILE` on shared machines because `APPLE_PASSWORD` is passed via CLI argv), notarizes the CLI `.zip` for online Gatekeeper verification (`xcrun stapler` only supports bundles/DMGs/pkgs), and smoke-tests the packaged CLI on matching host architectures.
- `packaging/macos/import-cert.sh` imports `APPLE_CERTIFICATE` into a temporary keychain for CI signing and fails closed in GitHub Actions unless `MACOS_ALLOW_ADHOC=1`.

The general recipe for a Craft app is [craftrules `release/playbook.md`](https://github.com/storytold/craftrules/blob/main/release/playbook.md).

Expand Down Expand Up @@ -48,3 +51,4 @@ These are settings, not files, so the workflow can't set them:
| Date | Change | Summary |
|---|---|---|
| 2026-10-16 | major | First version: no release workflow yet; the rules it must follow |
| 2026-11-21 | minor | Document macOS `.app`, `.dmg`, and CLI packaging scripts (`packaging/macos/`) |
31 changes: 31 additions & 0 deletions licenses/egui-default-fonts/Hack-Regular.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
The work in the Hack project is Copyright 2018 Source Foundry Authors and licensed under the MIT License

The work in the DejaVu project was committed to the public domain.

Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera"
MIT License

Copyright (c) 2018 Source Foundry Authors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
BITSTREAM VERA LICENSE

Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:

The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.

The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".

This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names.

The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.

THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.
19 changes: 19 additions & 0 deletions licenses/egui-default-fonts/NOTICES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Bundled egui default fonts (epaint_default_fonts 0.36.2):

- NotoEmoji-Regular.ttf
Copyright 2013 Google Inc. All Rights Reserved.
Licensed under the SIL Open Font License, Version 1.1 (OFL.txt; http://scripts.sil.org/OFL).

- Ubuntu-Light.ttf
Copyright 2011 Canonical Ltd.
Licensed under the Ubuntu Font Licence 1.0 (UFL.txt).

- Hack-Regular.ttf
Copyright (c) 2018 Source Foundry Authors (MIT License);
DejaVu project (public domain);
Bitstream Vera Sans Mono Copyright (c) 2003 Bitstream, Inc. All Rights Reserved.
See Hack-Regular.txt.

- emoji-icon-font.ttf
Copyright (c) 2014 John Slegers.
Licensed under the MIT License (emoji-icon-font-mit-license.txt).
92 changes: 92 additions & 0 deletions licenses/egui-default-fonts/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
This Font Software is licensed under the SIL Open Font License,
Version 1.1.

This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font
creation efforts of academic and linguistic communities, and to
provide a free and open framework in which fonts may be shared and
improved in partnership with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply to
any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software
components as distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to,
deleting, or substituting -- in part or in whole -- any of the
components of the Original Version, by changing formats or by porting
the Font Software to a new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed,
modify, redistribute, and sell modified and unmodified copies of the
Font Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components, in
Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the
corresponding Copyright Holder. This restriction only applies to the
primary font name as presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created using
the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
96 changes: 96 additions & 0 deletions licenses/egui-default-fonts/UFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
-------------------------------
UBUNTU FONT LICENCE Version 1.0
-------------------------------

PREAMBLE
This licence allows the licensed fonts to be used, studied, modified and
redistributed freely. The fonts, including any derivative works, can be
bundled, embedded, and redistributed provided the terms of this licence
are met. The fonts and derivatives, however, cannot be released under
any other licence. The requirement for fonts to remain under this
licence does not require any document created using the fonts or their
derivatives to be published under this licence, as long as the primary
purpose of the document is not to be a vehicle for the distribution of
the fonts.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this licence and clearly marked as such. This may
include source files, build scripts and documentation.

"Original Version" refers to the collection of Font Software components
as received under this licence.

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to
a new environment.

"Copyright Holder(s)" refers to all individuals and companies who have a
copyright ownership of the Font Software.

"Substantially Changed" refers to Modified Versions which can be easily
identified as dissimilar to the Font Software by users of the Font
Software comparing the Original Version with the Modified Version.

To "Propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification and with or without charging
a redistribution fee), making available to the public, and in some
countries other activities as well.

PERMISSION & CONDITIONS
This licence does not grant any rights under trademark law and all such
rights are reserved.

Permission is hereby granted, free of charge, to any person obtaining a
copy of the Font Software, to propagate the Font Software, subject to
the below conditions:

1) Each copy of the Font Software must contain the above copyright
notice and this licence. These can be included either as stand-alone
text files, human-readable headers or in the appropriate machine-
readable metadata fields within text or binary files as long as those
fields can be easily viewed by the user.

2) The font name complies with the following:
(a) The Original Version must retain its name, unmodified.
(b) Modified Versions which are Substantially Changed must be renamed to
avoid use of the name of the Original Version or similar names entirely.
(c) Modified Versions which are not Substantially Changed must be
renamed to both (i) retain the name of the Original Version and (ii) add
additional naming elements to distinguish the Modified Version from the
Original Version. The name of such Modified Versions must be the name of
the Original Version, with "derivative X" where X represents the name of
the new work, appended to that name.

3) The name(s) of the Copyright Holder(s) and any contributor to the
Font Software shall not be used to promote, endorse or advertise any
Modified Version, except (i) as required by this licence, (ii) to
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
their explicit written permission.

4) The Font Software, modified or unmodified, in part or in whole, must
be distributed entirely under this licence, and must not be distributed
under any other licence. The requirement for fonts to remain under this
licence does not affect any document created using the Font Software,
except any version of the Font Software extracted from a document
created using the Font Software may only be distributed under this
licence.

TERMINATION
This licence becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
DEALINGS IN THE FONT SOFTWARE.
Loading