Skip to content
Snippets Groups Projects
  1. Nov 13, 2012
    • Iustin Pop's avatar
      Improve make regen-vcs-version · 6376dcc0
      Iustin Pop authored
      
      "make regen-vcs-version" is run at every ./devel/upload time, in order
      to have reasonably up-to-date information in the uploaded
      scripts/binaries. However, this means it currently triggers
      recompilation of (at least) Ganeti/Version.hs, and sometimes more than
      that.
      
      Since we only care about the contents of the file and not the
      timestamp, let's change the make rule so that it only updates the file
      if there are actually changes in the content, as checked by
      "cmp". This results in a much faster ./devel/upload, especially for
      small changes in the (non-Haskell) code, or when the code has already
      been compiled.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      6376dcc0
    • Iustin Pop's avatar
      Fix two hlint warnings · 67e4fcf4
      Iustin Pop authored
      
      Sorry, I broke lint again :), by introducing two sub-standard changes.
      
      Additionally, this silences an older existing warning that only
      triggers with some versions of hlint (e.g. 1.8.28 which is present in
      Wheezy).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      67e4fcf4
  2. Nov 12, 2012
  3. Nov 09, 2012
  4. Nov 08, 2012
  5. Nov 07, 2012
Loading