1. 20 Apr, 2021 5 commits
  2. 19 Mar, 2021 1 commit
  3. 25 Feb, 2021 1 commit
  4. 22 Feb, 2021 11 commits
  5. 15 Oct, 2020 2 commits
    • afarrell's avatar
      Merge branch '2dfdr_pipeline_debug' into 'master' · 85a079a1
      afarrell authored
      2dfdr pipeline fix
      
      !1 caused 2dfdr_ac pipeline to fail (see https://dev.aao.org.au/rds/2dfdr/2dfdr_ac/-/jobs/1286), whilst it was running aaoBuildFetch, fetching the 2dfdr_ac folder itself (not submodules).
      This is due to !1 introducing a change that made the aaoBuildFetch script attempt to fetch the origin and run a `git remote set-head origin -a`. This failed on the 2dfdr_ac pipeline, which meant there was no origin/HEAD, which caused the script to fail fatally.
      
      This fix works around the issue by changing origin/HEAD to just HEAD if origin/HEAD fails to be created.
      I have not yet determined why `git remote set-head origin -a` fails on the 2dfdr_ac pipeline.
      
      See merge request !2
      85a079a1
    • afarrell's avatar
      Attempt at fix for failing pipelines · fc9dc4f7
      afarrell authored
      The pipelines were failing because they could not do a
      git remote set-head -a. This commit implements a workaround that ensures
      if origin/HEAD is unreachable but needed, then HEAD will be used instead.
      
      Also addssome logging to help debug said failure.
      fc9dc4f7
  6. 12 Oct, 2020 1 commit
  7. 28 Sep, 2020 1 commit
  8. 21 Sep, 2020 1 commit
    • afarrell's avatar
      Update to make all git fetching consistent. · 53853429
      afarrell authored
      This commit should resolve #1.
      The behaviour of aaoBuildFetch is changed such that it will always try
      to fetch from origin, even updating the origin URL itself.
      (Updates to the origin URL might happen in practice if the .cfg file
      changes). But it also ensures that origin/HEAD always works (even
      on repositories without an origin).
      We resolve this to be that subsystems and the system itself will always
      be kept up-to-date except for one reason: If the system doesn't have
      an origin in it's git repo, and a URL isn't given on the command-line.
      ff-only pull stuff is completley removed as it's not nessecary, because
      I made the URL optional to fetchFromGit function. subsystems should now
      use origin/<branch> or <tag> or origin/HEAD for the subsys.Checkout line
      53853429
  9. 14 Sep, 2020 1 commit
  10. 11 Sep, 2020 8 commits
  11. 10 Sep, 2020 3 commits
    • afarrell's avatar
    • afarrell's avatar
      Removed the need for acmmSystemTee (used in acmmSystemBuild) · 33aaed3e
      afarrell authored
      acmmSystemTee was doing the job of redirecting pipes such that stderr
      and stdout of the build script were both put into the logfile, whilst
      simeltaneously stderr was copied to the terminal's stderr.
      
      I believe this is doable just using the tee, so those are the beginnings
      of those changes. I have not yet removed acmmSystemTee.c or its makefile
      33aaed3e
    • afarrell's avatar
      Fixed the acmmVersion not being found · e6142bc2
      afarrell authored
      In the "Changed all ACMM_LIBDIR to AAOBUILD_LIBDIR" commit, I removed
      ACMM_LIBDIR in some acmmSystem commands, and I removed the PATH being
      set. However, acmmVersion, acmmClient and acmmLogHeader are all *not*
      in /usr/local/bin/ or wherever acmmCopy and others are. They are only in
      $ACMM_LIBDIR. With said commit removing ACMM_LIBDIR from PATH, those
      commands were no longer being found.
      
      This commit fixes the issue by using ACMM_LIBDIR directly when those
      commands are needed.
      e6142bc2
  12. 07 Sep, 2020 2 commits
    • afarrell's avatar
      Fetch origin if the subsys checkout is a branch or remote branch. · 631e81b7
      afarrell authored
      Also force all tags to be fetched, just in case.
      631e81b7
    • afarrell's avatar
      Better updating behaviour for the system · 0019f247
      afarrell authored
      A git pull is now run when possible, only allowing fast-forward, when
      acmmSystemFetch runs, for a system.
      Also, repositories which are detached or which are on branches that
      don't have remotes aren't attempted to be git pulled.
      
      This allows for developing modifications on local branches and testing
      those modifications with acmmSystemFetch, without pushing to origin/HEAD
      0019f247
  13. 04 Sep, 2020 3 commits