Skip to content
Snippets Groups Projects
  1. Feb 15, 2015
  2. Jan 30, 2015
    • Simon Glass's avatar
      patman: Explain how to make doc/git-mailrc work · 3d4de986
      Simon Glass authored
      
      Add an explanation for how to set up git so that patman can find the alias
      file. Fix up the get_maintainers message too.
      
      Reported-by: default avatarScott Wood <scottwood@freescale.com>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3d4de986
    • Scott Wood's avatar
      patman: Check commit_match before stripping leading whitespace · 4b89b813
      Scott Wood authored
      
      True commit lines start at column zero.  Anything that is indented
      is part of the commit message instead.  I noticed this by trying to
      run buildman with commit e3a4facd
      as master, which contained a reference to a Linux commit inside
      the commit message.  ProcessLine saw that as a genuite commit
      line, and thus buildman tried to build it, and died with an
      exception because that SHA is not present in the U-Boot tree.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      4b89b813
    • Peter Tyser's avatar
      patman: Make dry-run output match real functionality · 2181830f
      Peter Tyser authored
      
      When run with the --dry-run argument patman prints out information
      showing what it would do.  This information currently doesn't line up
      with what patman/git send-email really do.  Some basic examples:
      - If an email address is addressed via "Series-cc" and "Patch-cc" patman
        shows that email address would be CC-ed two times.
      - If an email address is addressed via "Series-to" and "Patch-cc" patman
        shows that email address would be sent TO and CC-ed.
      - If an email address is addressed from a combination of tag aliases,
        get_maintainer.pl output, "Series-cc", "Patch-cc", etc patman shows
        that the email address would be CC-ed multiple times.
      
      Patman currently does try to send duplicate emails like the --dry-run
      output shows, but "git send-email" intelligently removes duplicate
      addresses so this patch shouldn't change the non-dry-run functionality.
      
      Change patman's output and email addressing to line up with the
      "git send-email" logic.  This trims down patman's dry-run output and
      prevents confusion about what patman will do when emails are actually
      sent.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
      2181830f
  3. Jan 15, 2015
  4. Nov 27, 2014
  5. Nov 03, 2014
  6. Sep 21, 2014
  7. Sep 09, 2014
  8. Sep 05, 2014
  9. Aug 28, 2014
  10. Aug 22, 2014
  11. 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
  12. Aug 13, 2014
  13. 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
  14. 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
  15. May 16, 2014
  16. May 09, 2014
  17. 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
  18. Nov 21, 2013
  19. Jul 24, 2013
  20. Jul 15, 2013
  21. May 14, 2013
  22. May 09, 2013
  23. Apr 18, 2013
Loading