Repository navigation
fix(push): исключить файлы проекта из корневого набора DESIGNER - #838
Merged
Merged
Conversation
- Share the root payload rule across the filesystem walk, Git, memory and partial lists. - Keep SFTP full transfer scoped without dropping nested resources. - Fix the Git pathspec for the worktree root and cover both layouts with fixtures.
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.
Связано с Unica #3325.
Результат
Для иерархической конфигурации и расширения DESIGNER в корне проекта
pushиstatusсчитают исходникамиConfiguration.xmlи вложенные файлы выгрузки. Файлы проекта рядом с описанием не входят в частичную загрузку, в старой памяти не выглядят как удалённые исходники и не отправляются при полном SFTP. Существующие вложенные ресурсы и рабочий процессpath: srcсохраняются. Исправлено буквальное представление корня для Git: пустой суффикс pathspec выбирает всё дерево, а литеральная точка искала одноимённый путь.Приёмка
0.19.3прямойpush main --dry-runпланировал 5 файлов дляpath: .и 1 дляpath: src. После исправления на тех же проектах 1 и 1, во всех четырёх случаяхprovider_dispatched: false.Ext.xmlи контрольpath: src. Превью сохраняет память.build/target. Проверка Unix включает ссылку на ресурс и исключённую ссылку на соседний файл проекта.fmtи строгий Clippy на Rust 1.95.0 прошли. 1С во время этих проверок не запускалась.Reintroduction guard
Один предикат отбора файлов верхнего уровня в
change_detection::scannerприменяется к обходу, Git, состоянию обмена, расширению частичного списка и полной передаче по SFTP. Тесты ловят как повторное включение известных YAML и заметки, так и включение под другим именем через добавленный дескриптор или ссылку.