Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11596 (closed)

Opened 6 years ago

Closed 6 years ago

Bug: ant build uses git unconditionally

Reported by: rleigh Owned by: rleigh
Priority: major Milestone: 5.x
Component: Bio-Formats Version: 5.0.0-beta1
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The ant build fails when git is not present, and building in a git repository. It's using git unconditionally without checking for the tool presence.

git should only be run if the following conditions are met:

  • git is present and executable
  • .git directory present in the project root

Change History (5)

comment:1 Changed 6 years ago by rleigh

  • Summary changed from Bug: and build uses git unconditionally to Bug: ant build uses git unconditionally

comment:2 Changed 6 years ago by jburel

Referencing ticket #11593 has changed sprint.

comment:3 Changed 6 years ago by jburel

  • Milestone changed from 5.0.0-beta2 to 5.0.0

Moving to 5 for now. Please move it back if it is a must-have

comment:4 Changed 6 years ago by rleigh

  • Owner changed from mlinkert to rleigh

Fixed in https://github.com/openmicroscopy/bioformats/pull/884

git is only run if .git is present which implies building from git. So git is still required in this case, but that's acceptable (and necessary). When building from a release zip git is not run since .git is not present.

comment:5 Changed 6 years ago by rleigh

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.83004 sec.)

We're Hiring!