From: "Alexey V. Vissarionov" <gremlin@altlinux.org> To: devel@lists.altlinux.org Subject: [devel] git submodule + gear Date: Fri, 1 Jun 2018 07:44:06 +0300 Message-ID: <20180601044405.GB17853@altlinux.org> (raw) [-- Attachment #1: Type: text/plain, Size: 885 bytes --] Коллеги, подскажите рабочий способ борьбы с сабжем. Вводная: есть каталог с исходниками, а в нем подкаталог (пусть будет somelib), добавленный в апстриме через git submodule add. Задача: сделать так, чтобы при сборке при посредстве gear этот каталог попадал в дерево исходников. Пробовал: git submodule update --rebase, git submodule deinit, git rm somelib с последующим git add, переименовать somelib в some-lib (это было изрядной глупостью, ибо имя давно и прочно прибито гвоздями в существенной части апстримных исходников). Результат один: `git add --all .` в упор не видит somelib/ Сейчас сделал так, чтобы работало (пакет собирается, заказчик удовлетворен). Теперь хочу сделать красиво. Как? -- Alexey V. Vissarionov gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 801 bytes --]
next reply other threads:[~2018-06-01 4:44 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-06-01 4:44 Alexey V. Vissarionov [this message] 2018-06-01 5:53 ` Anton Farygin 2018-06-01 5:55 ` Alexei Takaseev 2018-06-01 7:02 ` Vladimir D. Seleznev 2018-06-01 7:13 ` Oleg Solovyov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180601044405.GB17853@altlinux.org \ --to=gremlin@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git