1. Нам важно Ваше мнение!
    и обсуждайте вместе! Нажимайте "мне нравится" и рекомендуйте друзьям ;)
    Понравилось тема? Напишите в ней свой отзыв.
    Считаете что тема не достаточно полно раскрыта? Расскажите свою точку зрения!
    С Вашей помощью сделаем форум еще лучше!
NashvilleEn

Top news articles - REMMONT.COM

Тема в разделе 'Свободное общение и OFF-топик', создана пользователем NashvilleEn, 19 май 2021.

  1. NashvilleEn

    NashvilleEn Member

    Azure devops git submodule - Eduard Kabrinskiy


    <h1>Azure devops git submodule</h1>
    <p>[youtube]</p>
    Azure devops git submodule <a href="http://remmont.com">News sites</a> Azure devops git submodule
    <h1>Documentation of submodules from other projects is insufficient #3520</h1>
    <h2>Comments</h2>
    <p>Copy link Quote reply</p>
    <h3>jonstelly </strong> commented Feb 28, 2019 ? with docs.microsoft.com </h3>
    <p>I have 2 private azure devops projects, A and B. B has a submodule that points to a repository that's in project A. I've been digging around in the VSTS UI for over half an hour and I don't see how to do this:</p>
    <p>> If the repository is in a different project than your pipeline, you must have read access to the project and repository.</p>
    <h4>Document Details</h4>
    <p>? <em>Do not edit this section. It is required for docs.microsoft.com ? GitHub issue linking.</em></p>
    <p><ul>
    <li>ID: 8b846aea-82f7-a988-67d8-1b5e74b61ed2</li>
    <li>Version Independent ID: 2d632729-bb33-c0a0-c996-e1d8e86c2e23</li>
    <li>Content: Build Azure Repos Git repositories - Azure Pipelines</li>
    <li>Content Source: docs/pipelines/repos/azure-repos-git.md</li>
    <li>Product: <strong>devops</strong></li>
    <li>GitHub Login: @steved0x</li>
    <li>Microsoft Alias: <strong>sdanie</strong></li>
    </ul>
    </td></tr></tbody></table></p>
    <h3>jonstelly </strong> commented Feb 28, 2019 </h3>
    <p style="clear: both">I now think I see part of the issue. I'm trying to get this working on a YAML build which means the 'Options' tab in the pipeline edit UI is not present. In the UI it seems that there's an option to set the authorization scope to Project Collection: <br /><img style="float: left; margin: 0 10px 5px 0;" src="https://user-images.githubusercontent.com/967068/53589220-781d7980-3b54-11e9-9c73-7c229e3d1111.png" /></p>
    <p>But I don't see any documentation of the yaml schema that lets me configure that setting. Is that the problem I'm running into or is it something else?</p>
    <h3>jonstelly </strong> commented Feb 28, 2019 </h3>
    <p>Auth Scope and Yaml builds aren't the issue. Even moving the submodule repository to the same project didn't fix it. It seems that submodule checkouts are just broken right now (is it due to the vsts -> azure devops move and organization names now showing up as the user in the git url?)</p>
    <p>i.e. https://organization.visualstudio.com/ turned into https://organization@dev.azure.com/</p>
    <p>I've now got 2 repositories in the same Azure Devops project, One has a submodule pointing to the other using HTTPS and the Get Sources step is still failing with:</p>
    <p>This is immensely frustrating, I found a developer community post about this but it seems a bit different, I'm not sure if it'll work.</p>
    <h3>jonstelly </strong> commented Mar 18, 2019 </h3>
    <p>For anyone else running into this issue, submodule checkout for private azure devops git repositories just doesn't work right now. I tried opening a ticket with Microsoft support to get this issue elevated to the product team but they suggested that I submit an issue on developer community and there are already a handful of issues out there starting in November.</p>
    <p>As a workaround I moved my code to github private repositories and the github source code connector works for private submodules.</p>
    <h3>BrandonCookeDev </strong> commented Mar 29, 2019 </h3>
    <h3>planetmarshall </strong> commented Apr 17, 2019 ? with docs.microsoft.com </h3>
    <p>I am having the same issue but for git-lfs data rather than submodules.</p>
    <h3>BradAF </strong> commented May 14, 2019 </h3>
    <h3>steved0x </strong> commented May 23, 2019 </h3>
    <p>I'm actively tracking this down and hope to have an update soon.</p>
    <h3>steved0x </strong> commented May 23, 2019 </h3>
    <p>Just on the off chance that anyone hasn't seen this it, there is this info here: Pipeline options for Git - Checkout submodules</p>
    <p>I am still checking this but wanted to post this info.</p>
    <h3>jonstelly </strong> commented May 23, 2019 ?</h3>
    <p>I hadn't seen that relative submodule path information but at some point I did have both repositories in a single Project and it still didn't work. So do submodules from the same project also have to be relative URLs?</p>
    <p>And to understand the relative path for the submodules, does the effective directory structure mirror the git repository url:</p>
    <p>So if I wanted to add A as a submodule to B, I'd do this?</p>
    <p>git submodule add ../../../PROJECTA/_git/PROJECTA</p>
    <p>From the documentation I'm not clear if the _git part of the URL needs to be used and if the PROJECTA/B at the end is considered a file or directory for .. processing, and the example doesn't really feel like a real-world example and also doesn't explain the project/repository structure. If you could beef up the authenticated submodule relative path example, maybe have one example with a submodule from the same project, and another from a different project, that would be really helpful.</p>
    <p>Also, I had to go look it up and it looks like git supports relative urls for submodules but I didn't know until seeing your link that was even a valid thing. I'm not a git expert but I'm pretty proficient and I'd be surprised to learn that more than 10% of the git userbase knows they can use relative URLs for submodules. My point is just that it would be nice if the much more common case (absolute URLs) could be supported too.</p>
    <h2>Azure devops git submodule</h2>

    <h3>Azure devops git submodule</h3>
    <p>[youtube]</p>
    Azure devops git submodule <a href="http://remmont.com">World news today live</a> Azure devops git submodule
    <h4>Azure devops git submodule</h4>
    https://docs.microsoft.com/en-us/az...-devops#authorize-access-to-your-repositories I have 2 private azure devops projects, A and B. B has a submodule that points to a repository that's i...
    <h5>Azure devops git submodule</h5>
    Azure devops git submodule <a href="http://remmont.com">Azure devops git submodule</a> Azure devops git submodule
    SOURCE: <h6>Azure devops git submodule</h6> <a href="https://dev-ops.engineer/">Azure devops git submodule</a> Azure devops git submodule
    #tags#[replace: -,-Azure devops git submodule] Azure devops git submodule#tags#
    https://ssylki.info/?who=home-improvement-loans.remmont.com https://ssylki.info/?who=foreclosed-properties.remmont.com https://ssylki.info/?who=zillow-apartments.remmont.com https://ssylki.info/?who=new-and-used-cars.remmont.com https://ssylki.info/?who=instant-loan-online.remmont.com

Поделиться этой страницей