• Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 3.4
    • Repository (Git)
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      See BSP-4172, BSP-4188, BAM-8252.

      Trying to use https://github.com/crossroads/fat_free_crm.git causes git plugin to throw "Missing unknown

      {rev}

      " exceptions. That repository contains submodules. Apparently JGit doesn't support them yet:

      (I've tried to clone above repository using plain org.eclipse.jgit.pgm in version 0.11.3 but it failed with the similar symptoms. Eclipse's egit fails with the same exception)

            [BAM-8106] Git Repository should support submodules

            Marek Went (Inactive) added a comment - - edited

            You can give a try and use recursive submodules before we release 3.4.1.
            Plugin is available here: https://maven.atlassian.com/repository/public/com/atlassian/bamboo/plugins/atlassian-bamboo-plugin-git/1.7-m6/atlassian-bamboo-plugin-git-1.7-m6.jar

            Should be copied into Bamboo 3.4 WEB-INF/lib - and previous version (1.7-m5) should be removed

            Marek Went (Inactive) added a comment - - edited You can give a try and use recursive submodules before we release 3.4.1. Plugin is available here: https://maven.atlassian.com/repository/public/com/atlassian/bamboo/plugins/atlassian-bamboo-plugin-git/1.7-m6/atlassian-bamboo-plugin-git-1.7-m6.jar Should be copied into Bamboo 3.4 WEB-INF/lib - and previous version (1.7-m5) should be removed

            I've added new story for recursive submodules - please track it here: https://jira.atlassian.com/browse/BAM-10467

            Marek Went (Inactive) added a comment - I've added new story for recursive submodules - please track it here: https://jira.atlassian.com/browse/BAM-10467

            The submodule support in 3.4 is great, but it does not support recursive submodules.
            git (versions 1.7+) supports updating submodules recursively, using "git submodule update --init --recursive" or using "git clone some_url --recurse"

            Please please please fix this so it will actually work for projects that heavily use submodules to organize their code in git.

            Evgeny Zislis added a comment - The submodule support in 3.4 is great, but it does not support recursive submodules. git (versions 1.7+) supports updating submodules recursively, using " git submodule update --init --recursive " or using " git clone some_url --recurse " Please please please fix this so it will actually work for projects that heavily use submodules to organize their code in git.

            Great thank you.


            Marcin Cabaj

            Marcin Cabaj added a comment - Great thank you. – Marcin Cabaj

            AntonA added a comment -

            Hi Marcin,

            Symlinks work as well in Bamboo 3.4. See BAM-8899.

            Cheers,
            Anton

            AntonA added a comment - Hi Marcin, Symlinks work as well in Bamboo 3.4. See BAM-8899 . Cheers, Anton

            symlinks are also supported when you use native git client, so fixed as well.

            Marek Went (Inactive) added a comment - symlinks are also supported when you use native git client, so fixed as well.

            And what about symlikns support?


            Marcin Cabaj

            Marcin Cabaj added a comment - And what about symlikns support? – Marcin Cabaj

            MarkC added a comment -

            Submodules for Git is now available in 3.4. Please ensure you have the Git commandline client available on the agents with the corresponding capability

            MarkC added a comment - Submodules for Git is now available in 3.4. Please ensure you have the Git commandline client available on the agents with the corresponding capability

            please unsubcrib me from those email

            2011/11/11 Piotr Stefan Stefaniak [Atlassian] (JIRA) <jira@atlassian.com>

            Martin Chenier added a comment - please unsubcrib me from those email 2011/11/11 Piotr Stefan Stefaniak [Atlassian] (JIRA) <jira@atlassian.com>

            PiotrA added a comment -

            @Marcin,
            I don't think the newer JGit do support symbolic links, see: here - AFAIK to support it natively (i.e. from JVM) it would have to switch to JDK 1.7. Not sure how that's probable.

            However, you should add yourself as a watcher to the BAM-8899 - I think it might be possible to workaround java limitations using after-checkout system calls to recreate symlinks. If this solution is feasible, working and eventually the symlinks problem is resolved then you would get notice from JIRA. If you're interested in technical details how this solution could work see src (wip).

            PiotrA added a comment - @Marcin, I don't think the newer JGit do support symbolic links, see: here - AFAIK to support it natively (i.e. from JVM) it would have to switch to JDK 1.7. Not sure how that's probable. However, you should add yourself as a watcher to the BAM-8899 - I think it might be possible to workaround java limitations using after-checkout system calls to recreate symlinks. If this solution is feasible, working and eventually the symlinks problem is resolved then you would get notice from JIRA. If you're interested in technical details how this solution could work see src (wip) .

              Unassigned Unassigned
              pstefaniak PiotrA
              Votes:
              26 Vote for this issue
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: