1. 27 4月, 2020 1 次提交
    • S
      patman: Move to absolute imports · bf776679
      Simon Glass 提交于
      At present patman sets the python path on startup so that it can access
      the libraries it needs. If we convert to use absolute imports this is not
      necessary.
      
      Move patman to use absolute imports. This requires changes in tools which
      use the patman libraries (which is most of them).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      bf776679
  2. 14 11月, 2019 1 次提交
  3. 11 7月, 2019 4 次提交
  4. 23 6月, 2018 1 次提交
  5. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  6. 09 6月, 2017 2 次提交
  7. 09 10月, 2016 2 次提交
  8. 19 9月, 2016 1 次提交
  9. 18 3月, 2016 1 次提交
  10. 21 1月, 2016 1 次提交
  11. 09 9月, 2015 1 次提交
    • M
      Revert "patman: use -D option for git format-patch" · 8d3595a4
      Masahiro Yamada 提交于
      This reverts commit 19b4a336.
      
      Since that commit, patman generates useless patches for file removal;
      "git format -D" prints only the header but not the diff when deleting
      files, and "git am" always refuses such patches.
      
      The following is the quotation from "man git-format-patch":
      
        -D, --irreversible-delete
          Omit the preimage for deletes, i.e. print only the header but
          not the diff between the preimage and /dev/null. The resulting
          patch is not meant to be applied with patch nor git apply; this
          is solely for people who want to just concentrate on reviewing
          the text after the change. In addition, the output obviously
          lack enough information to apply such a patch in reverse, even
          manually, hence the name of the option.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      8d3595a4
  12. 26 8月, 2015 1 次提交
  13. 24 4月, 2015 1 次提交
  14. 16 2月, 2015 1 次提交
  15. 31 1月, 2015 1 次提交
    • P
      patman: Make dry-run output match real functionality · 2181830f
      Peter Tyser 提交于
      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: NPeter Tyser <ptyser@xes-inc.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Tested-by: NSimon Glass <sjg@chromium.org>
      2181830f
  16. 15 1月, 2015 2 次提交
  17. 10 9月, 2014 1 次提交
  18. 06 9月, 2014 4 次提交
  19. 28 8月, 2014 1 次提交
  20. 13 8月, 2014 2 次提交
  21. 28 7月, 2014 1 次提交
    • M
      patman: make "No recipient" checking more tolerant · ee860c60
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Simon Glass <sjg@chromium.org>
      Acked-by: NSimon Glass <sjg@chromium.org>
      ee860c60
  22. 08 7月, 2014 1 次提交
    • S
      patman: Only apply patches when we know the original HEAD · 4251978a
      Simon Glass 提交于
      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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      4251978a
  23. 10 5月, 2014 1 次提交
  24. 24 7月, 2013 1 次提交
  25. 15 5月, 2013 1 次提交
  26. 19 4月, 2013 1 次提交
  27. 09 4月, 2013 1 次提交
    • S
      patman: Provide option to ignore bad aliases · a1318f7c
      Simon Glass 提交于
      Often it happens that patches include tags which don't have aliases. It
      is annoying that patman fails in this case, and provides no option to
      continue other than adding empty tags to the .patman file.
      
      Correct this by adding a '-t' option to ignore tags that don't exist.
      Print a warning instead.
      
      Since running the tests is not a common operation, move this to --test
      instead, to reserve -t for this new option.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NDoug Anderson <dianders@chromium.org>
      a1318f7c
  28. 05 4月, 2013 3 次提交