Repository navigation
Conversation
Compared against the connector's own sources and sample files, the client lost or changed several things an existing installation relies on. Configuration and migration - Keep a control field's configured name; `class` is no longer renamed to `classification`. A sync attribute `class` or `classification` reaches the field under either name. - Read `presync.<type>.command` / `postsync.<type>.command` into `commands`, and `status.controlfield.name` to place the connector's state-keyed transitions. - migrate: keep the trailing space of `defect.id.prefix`, and stop reporting the keys above as lost. - Boolean attributes default to `true` / `false` when no labels are set. Behaviour - Write only the row a change is about, through a staged file that replaces the original in one step. Rewriting every mapped column turned the dates and numbers of a whole workbook into text. - Read and write timestamps without a time zone as local time, and keep the time of day of a real date cell under a date-only display format. - Report a refused transition as an INVALID_ATTRIBUTES error, not a warning. - Do not read a boolean cell that matches neither label as false; leave the attribute out and warn. - Run a hook given as a command line with its own arguments, replacing `%1` with the project's defect file. - Match existing ids across whitespace after the prefix, and refuse an id that outgrows the configured digit count. Also silences a mypy return-value error in utils/wizard.py that predates this change and made the pre-commit hook reject any commit importing it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Compared against the connector's own sources and sample files, the client lost or changed several things an existing installation relies on.
Configuration and migration
classis no longer renamed toclassification. A sync attributeclassorclassificationreaches the field under either name.presync.<type>.command/postsync.<type>.commandintocommands, andstatus.controlfield.nameto place the connector's state-keyed transitions.defect.id.prefix, and stop reporting the keys above as lost.true/falsewhen no labels are set.Behaviour
%1with the project's defect file.Also silences a mypy return-value error in utils/wizard.py that predates this change and made the pre-commit hook reject any commit importing it.