Skip to content
Snippets Groups Projects
  1. Jan 15, 2015
    • Simon Glass's avatar
      buildman: Try to guess the upstream commit · 2a9e2c6a
      Simon Glass authored
      
      Buildman normally obtains the upstream commit by asking git. Provided that
      the branch was created with 'git checkout -b <branch> <some_upstream>' then
      this normally works.
      
      When there is no upstream, we can try to guess one, by looking up through
      the commits until we find a branch. Add a function to try this and print
      a warning if buildman ends up relying on it.
      
      Also update the documentation to match.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Suggested-by: default avatarWolfgang Denk <wd@denx.de>
      2a9e2c6a
  2. Nov 27, 2014
  3. Nov 03, 2014
  4. Sep 21, 2014
  5. Sep 09, 2014
  6. Sep 05, 2014
  7. Aug 28, 2014
  8. Aug 22, 2014
  9. Aug 21, 2014
    • Masahiro Yamada's avatar
      tools, scripts: refactor error-out statements of Python scripts · 31e2141d
      Masahiro Yamada authored
      
      In Python, sys.exit() function can also take an object other
      than an integer.
      
      If an integer is given to the argument, Python exits with the return
      code of it.  If a non-integer argument is given, Python outputs it
      to stderr and exits with the return code of 1.
      
      That means,
      
          print >> sys.stderr, "Blah Blah"
          sys.exit(1)
      
      is equivalent to
      
          sys.exit("Blah Blah")
      
      The latter is a useful shorthand.
      
      Note:
      Some error messages in Buildman and Patman were output to stdout.
      But they should go to stderr.  They are also fixed by this commit.
      This is a nice side effect.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      31e2141d
  10. Aug 13, 2014
  11. Jul 28, 2014
    • Masahiro Yamada's avatar
      patman: make "No recipient" checking more tolerant · ee860c60
      Masahiro Yamada authored
      
      If Series-to tag is missing, Patman exits with a message
      "No recipient".
      
      This is just annoying for those who had already added
      sendemail.to configuration.
      
      I guess many developers have
      
        [sendemail]
                to = u-boot@lists.denx.de
      
      in their .git/config because the 'To: u-boot@lists.denx.de' field
      should always be added when sending patches.
      
      That seems more reasonable rather than adding
      'Series-to: u-boot@lists.denx.de' to every patch series.
      
      Patman should exit only when both Series-to tag and sendemail.to
      configuration are mising.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Simon Glass <sjg@chromium.org>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      ee860c60
  12. Jul 07, 2014
    • Simon Glass's avatar
      patman: Only apply patches when we know the original HEAD · 4251978a
      Simon Glass authored
      
      When patman applies the patches it checks out a new branch, uses 'git am'
      to apply the patches one by one, and then tries to go back to the old
      branch. If you try this when the branch is 'undefined', this doesn't work
      as patman cannot restore the correct branch after applying the patches.
      It seems that 'undefined' is created by git and is persistent after it is
      created, so that you can end up on quite an old branch.
      
      Add a check for the 'undefined' branch to avoid this.
      
      Reported-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      4251978a
  13. May 16, 2014
  14. May 09, 2014
  15. Mar 22, 2014
    • Simon Glass's avatar
      patman: Use Patch-cc: instead of Cc: · 659c89da
      Simon Glass authored
      
      Add a new Patch-cc: tag which performs the service now provided by
      the Cc: tag. The Cc: tag is interpreted by git send-email but
      ignored by patman.
      
      So now:
      
        Cc: patman does nothing. (git send-email can cc patches)
        Patch-cc: patman Cc's patch and removes this tag from the patch
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      659c89da
  16. Nov 21, 2013
  17. Jul 24, 2013
  18. Jul 15, 2013
  19. May 14, 2013
  20. May 09, 2013
  21. Apr 18, 2013
  22. Apr 08, 2013
  23. Apr 04, 2013
Loading