Repository navigation
docs(cleanroom): revit-ifc is an accepted source for what Revit's export writes - #778
Merged
Merged
Conversation
…ort writes Autodesk's open-source IFC exporter (LGPL v2) was neither accepted nor forbidden, while the type GlobalIds of RE-167 rest on how it forms an identifier. It is now an accepted source for the export's behaviour, never for the file format, on three conditions: cite the file and class, write the code from a description of the behaviour rather than copying or translating it, and check every finding against Revit's own export of a real model. Constants and short strings the exporter feeds an identifier may be reproduced where the same identifier needs them. The contributor declaration names revit-ifc.
DrunkOnJava
enabled auto-merge (squash)
October 18, 2026 11:30
DrunkOnJava
added a commit
that referenced
this pull request
Oct 18, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Oct 18, 2026
## Summary Prepare v0.5.0. Merging this is not the release: the release is the signed `v0.5.0` tag on the merged commit, which runs `publish.yml` (crates.io, PyPI, the release binaries and the container image). The tag waits for the maintainer's go-ahead. ## Motivation `main` is 0.4.0 plus everything under `[Unreleased]`: Revit 2026 projects (experimental), MEP ports, connections and systems, Revit's level, category, family, type and phase properties, rooms aggregated into their storeys, Snowdon Towers exporting again, and the first pull requests from outside contributors. Before 1.0 a breaking change bumps the minor version, and these are breaking for a 0.4 user: - The MSRV is 1.87 (was 1.85). - `rvt` has no `wasm` feature; the bindings are the `rvt-wasm` crate (C6). - Each `IfcSpace` is aggregated into its storey instead of contained in it (#744). - `ElemTableHeader::record_count` is a `u32` (#764). - Type objects take Revit's GlobalIds (RE-167). ## Changes - **Versions 0.4.0 → 0.5.0:** `rvt`, `rvt-py` and its pin, `rvt-wasm`, the `stream_evidence` pin, both lockfiles (only the workspace crates' version lines change), `.release-please-manifest.json` and `viewer/package.json`. - **`CHANGELOG.md`:** `[Unreleased]` becomes `[0.5.0] — 2026-10-18`. - An introduction, the contributors, and an **Upgrading from 0.4** section. - The community pull requests' entries are added and credited (#737, #738, #744, #751, #752, #753, #755, #757, #758). - The repeated Added, Changed, Fixed and Research headings, which later merges had appended, are folded into one each. All 107 entries are kept as written (checked as a multiset) and in their order, and everything from `[0.4.0]` down is byte-identical. - #778's clean-room policy change is added under Changed, so the section has 108 entries. - **`CITATION.cff`:** it said 0.1.2 (2026-04-20), though `RELEASE.md` has it agree with `Cargo.toml` at every tag. Its abstract now describes the project as the README does, without the "first open-source tool" and "verified against 11 releases" claims. - **Registry descriptions:** crates.io showed 0.4.0's description, which leaves out Revit 2023, and PyPI one that called element extraction and geometry "active research" and the export "document-level IFC4 scaffolding". `Cargo.toml` and `pyproject.toml` now say what the README says: typed elements from Revit 2023 to 2025 projects, 2026 experimental. - **Witnesses:** the IFC header carries the version (#417), so both Core Interior `rvt-rs.json` observations and their verdicts are refreshed from this pull request's CI run. ## Testing - CI on this pull request: every job `CI passed` requires, the witness replays among them. - On the tag, the publish workflow runs its own checks before anything is published: wheel install and model open on each OS, `cargo install` and the CLI sample smoke, the docs.rs build preview and the viewer load smoke. crates.io and PyPI publish only after all of them pass, and PyPI only after crates.io. ## Audit-honesty checklist - The docs keep describing 0.4.0 as the latest release until each 0.5.0 channel has been checked from what was published. That follows in a separate pull request (`docs/install.md`, `docs/python.md`, `docs/status.md`, `docs/supported-profile.md` and the README's release section). - crates.io's trusted publisher (repository DrunkOnJava/rvt-rs, workflow `publish.yml`, environment `crates-io`) has to be in place before the tag, as `docs/maintaining.md` says; it is a registry-side setting this repository cannot check. ## Legal and contribution hygiene N/A: release metadata only. Contributors are credited by their GitHub names in the CHANGELOG. ## Breaking changes Listed under Motivation, with the migration for each in the CHANGELOG's **Upgrading from 0.4**.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLEANROOM.mdaccepts Autodesk's open-source IFC exporter, revit-ifc (LGPL v2 per its README), as a source for what Revit's own IFC export writes, never for the file format. Its code may be read but never copied or translated. The contributor declaration says so.Motivation
The policy named no rule for revit-ifc, while merged code rests on it: Revit's export computes some type GlobalIds by hashing, and RE-167 / B72 / B73 reproduce how. The maintainer's decision is to accept it for the export's behaviour, with the current uses audited against the new rule (below).
Changes
Audit of the current uses (main at 92a902a)
Every revit-ifc citation on
main, against the rule:src/revit_global_ids.rshashed_global_idGUIDUtil.GenerateIFCGuidFrom: a GlobalId is the MD5 of a key, read as a .NET GUIDmd5crate and rvt-rs's own GUID byte order and compressiontests/type_global_ids.rs,tests/door_type_global_ids.rssrc/revit_global_ids.rssub_element_global_idExporterIFCUtils.CreateSubElementGUID, a Revit API method)src/ifc/mod.rsINSTANCE_AS_TYPEIFCFamilyInstanceSubElements.InstanceAsType)tests/space_types.rs)src/ifc/mod.rsdoor_type_global_id<symbol GlobalId>Sub-element:Flipped: True|False, withInAssembly: Falsefrom revit-ifc 25.4format!of the keysrc/ifc/export_content.rsdoor_symbol_flippedDoorWindowInfo.CalculateDoorWindowInformation)src/ifc/step_writer.rsrevit_ifc_type_entity_nameIFCEntityType)src/partition_schema_mvp.rs,tests/port_nesting.rs,tests/proxy_ports.rs,tests/door_type_global_ids.rsGetOriginalSymbol,ConnectorExporter,DoorWindowInfo)None of them copies or translates revit-ifc code. Each is a constant, a key string, an algorithm stated in one sentence, or a behaviour reimplemented from its description, and each identifier is checked against Revit's own IFC export.
Testing
N/A: policy text only.
Legal and contribution hygiene
Breaking changes
None.