Summary: | Please add gear-import utility | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Sir Raorn <raorn> |
Component: | gear | Assignee: | Dmitry V. Levin <ldv> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | enhancement | ||
Priority: | P3 | CC: | evg, glebfm, ldv, legion, placeholder |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Sir Raorn
2010-04-11 16:47:30 MSD
С тем, что сейчас находится в бранче next, есть одна проблема: gear-update не работает. $ gear-update libpcap-1.1.0.tar.gz libpcap gear-update: /path/to/libpcap/libpcap-1.1.0.tar.gz: unrecognized source type: Проблема в том, что новый gear-update вместе с поддержкой плагинов утратил способность работать не с полным путём, а через $PATH. (В ответ на комментарий №1)
> Проблема в том, что новый gear-update вместе с поддержкой плагинов утратил
> способность работать не с полным путём, а через $PATH.
Хорошо. Посмотрю.
(In reply to comment #1) > С тем, что сейчас находится в бранче next, есть одна проблема: Нет, есть ещё одна проблема: + make check make: Entering directory `/usr/src/RPM/BUILD/gear-1.7.0' cd tests && ./run [done] (gear_import_parse_custom_cwd) [done] (gear_import_parse_simple_cwd) gear-import: Unable to parse archive: foo-1.0 [done] (gear_import_update_cwd) Как-то плохо сочетается fatal error от gear-import и done в тестах. (In reply to comment #2) > (В ответ на комментарий №1) > > Проблема в том, что новый gear-update вместе с поддержкой плагинов утратил > > способность работать не с полным путём, а через $PATH. > > Хорошо. Посмотрю. Я запушил коммит 1.6.0-alt1-26-g142b80a (In reply to comment #3) > Нет, есть ещё одна проблема: > gear-import: Unable to parse archive: foo-1.0 > Как-то плохо сочетается fatal error от gear-import и done в тестах. Тут всё правильно: assertFalse "should fail to update non-existant directory without --create" \ "gear_import_update_run_command .git/.work/foo-1.0.tar.gz .git/.work/foo-1.1.tar.gz .git/.work/foo-1.2.tar.gz" Правда диагностика действительно кривовата. (In reply to comment #5) > Тут всё правильно: > > assertFalse "should fail to update non-existant directory without --create" \ > "gear_import_update_run_command .git/.work/foo-1.0.tar.gz > .git/.work/foo-1.1.tar.gz .git/.work/foo-1.2.tar.gz" > > Правда диагностика действительно кривовата. Предлагаешь оставить всё как есть (1.6.0-alt1-27-g90b5862)? Ну я попытался что-то поправить в 1.6.0-alt1-28-ge40f91d... gear-1.7.0-alt1 -> sisyphus: * Mon Apr 12 2010 Dmitry V. Levin <ldv@altlinux> 1.7.0-alt1 - Bugfixes: + manpages: Quoted dash symbols in command and option names (closes: #22526). - Improvements: + Documented git-config options (Alexey Froloff). + gear-update: - Implemented plugins support (Alexey Gladkov, Alexey Froloff). - Added rubygems support (Alexey Froloff). - Added tests (Alexey Froloff). + gear-import: New utility (Alexey Gladkov, Alexey Froloff; closes: #23320). |