Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ jobs:
run: >-
gh release create "$GITHUB_REF_NAME" release/* --verify-tag --prerelease
--title "Concourse ${GITHUB_REF_NAME#v} — local qualification preview"
--notes-file docs/helix/05-deploy/release-0.1.0.md
--notes-file "docs/helix/05-deploy/release-${GITHUB_REF_NAME#v}.md"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ Use the installed HELIX catalog; methodology templates are not vendored here.

Concourse is available under `MIT OR Apache-2.0`, at your option. See
[MIT](LICENSE-MIT) and [Apache-2.0](LICENSE-APACHE).

Bundled dependency attribution is retained in [THIRD-PARTY-NOTICES.txt](THIRD-PARTY-NOTICES.txt).
25 changes: 25 additions & 0 deletions THIRD-PARTY-NOTICES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Bundled third-party software

jose 6.2.14

The MIT License (MIT)

Copyright (c) 2018 Filip Skokan

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.
53 changes: 53 additions & 0 deletions docs/helix/05-deploy/release-0.1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
ddx:
id: concourse.release.0.1.1
type: release-notes
activity: deploy
authoring:
home: repo
links:
- id: CONTRACT-001
kind: informed_by
---

# Concourse 0.1.1 — local qualification preview

## Release Scope

Corrects third-party attribution packaging in the first preview. Concourse
remains MIT OR Apache-2.0; bundled jose 6.2.14 retains Filip Skokan's MIT notice.

## Audience and Channels

GitHub prerelease assets carry the complete notice in the archive and Worker
bundle. The private npm package is not registry-published.

## Highlights

The Worker retains dependency attribution even when copied independently from
the archive. The browser manifest derives its version from package metadata.

## Changes and Fixes

The existing hosted infrastructure, runtime, workerd/D1 and Chromium gates run
before publication. The source-bound receipt hashes the notice and actual bundle.

## Breaking Changes and Required Actions

Use 0.1.1 for new downloads. Replace 0.1.0 assets with this corrected bundle and
retain the supplied license/notice files when redistributing it.

## Migration or Rollback Guidance

No runtime, SQL or infrastructure behavior changes. No migration or deployment
is performed; follow the existing separately reviewed deployment procedure.

## Known Issues and Support

The local preview's existing limits remain: live provider/production admission,
retention/restore, moderation, Batten hosting and structured actions are unqualified.

## References

- [Initial scope and qualification](release-0.1.0.md)
- [Deployment procedure](first-slices.md)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@novirhyza/concourse",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import { mkdir, copyFile } from 'node:fs/promises';
const {version} = await Bun.file('package.json').json();
const notice = await Bun.file('THIRD-PARTY-NOTICES.txt').text();
await mkdir('dist', { recursive: true });
await copyFile('THIRD-PARTY-NOTICES.txt', 'dist/THIRD-PARTY-NOTICES.txt');
const result = await Bun.build({ entrypoints: ['src/browser/index.ts'], outdir: 'dist', naming: 'concourse.js', target: 'browser', minify: true });
if (!result.success) throw new AggregateError(result.logs, 'Browser build failed');
await copyFile('src/browser/concourse.css', 'dist/concourse.css');
await copyFile('integrations/hugo/concourse.html', 'dist/concourse.html');
const files: Record<string, string> = {};
for (const name of ['concourse.js', 'concourse.css', 'concourse.html']) files[name] = new Bun.CryptoHasher('sha256').update(await Bun.file(`dist/${name}`).bytes()).digest('hex');
await Bun.write('dist/manifest.json', JSON.stringify({ version: '0.1.0', files }, null, 2) + '\n');
await Bun.write('dist/manifest.json', JSON.stringify({ version, files }, null, 2) + '\n');

if (!process.argv.includes('--browser-only')) {
const worker = await Bun.build({ entrypoints: ['src/server/worker.ts'], outdir: 'dist', naming: 'worker.js', target: 'browser', minify: true });
if (!worker.success) throw new AggregateError(worker.logs, 'Worker build failed');
await Bun.write('dist/worker.js', '/*!\n' + notice + '\n*/\n' + await Bun.file('dist/worker.js').text());
}
2 changes: 1 addition & 1 deletion scripts/package-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
output.mkdir()
stage = output / f"concourse-{version}"
stage.mkdir()
for name in ["dist", "migrations", "integrations", "deploy", "infra", "README.md", "LICENSE-MIT", "LICENSE-APACHE"]:
for name in ["dist", "migrations", "integrations", "deploy", "infra", "README.md", "LICENSE-MIT", "LICENSE-APACHE", "THIRD-PARTY-NOTICES.txt"]:
source = root / name
if source.is_dir():
shutil.copytree(source, stage / name, ignore=shutil.ignore_patterns(".terraform", "*.tfstate*", "*.tfplan"))
Expand Down
Loading