Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4816

[patching] Fix detection of fabric env when initalizing patch management

    XMLWordPrintable

Details

    • % %
    • 6.3 Sprint 1 (4-Jan->29-Jan)

    Description

      There's info in ENTESB-4014 about problems during patching root ("fusedev") container. After analysis (thanks to originally affected env) we've found out that the problem is in this line:

      boolean hasMasterBranch = new File(localGitRepository, ".git/refs/heads/master").isFile();
      

      In our tests this file was present: jboss-fuse-6.2.0.redhat-133/data/git/local/fabric/.git/refs/heads/master
      But in "fusedev" container there was jboss-fuse-6.2.0.redhat-133_update_fail/data/git/local/fabric/.git/packed-refs

      So both repos had "master" branch, but in one case - as a packed ref

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Roman Jakubco Roman Jakubco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: