Skip to content

feat(excel): Align the Excel client with the legacy DMProxy connector - #27

Closed
BatoWa wants to merge 2 commits into
migrationfrom
excel-legacy-parity
Closed

BatoWa wants to merge 2 commits into
migrationfrom
excel-legacy-parity

Conversation

@BatoWa

@BatoWa BatoWa commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

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.

BatoWa and others added 2 commits November 26, 2026 12:01
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>
@BatoWa BatoWa closed this Nov 27, 2026
@BatoWa
BatoWa deleted the excel-legacy-parity branch November 27, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant