Page MenuHomeFreeBSD

getpatch: do not download obsolete attachments
ClosedPublic

Authored by gonzo on Mar 1 2018, 6:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 6 2024, 5:29 AM
Unknown Object (File)
Jan 10 2024, 5:43 PM
Unknown Object (File)
Dec 20 2023, 5:34 AM
Unknown Object (File)
Nov 14 2023, 8:28 PM
Unknown Object (File)
Nov 12 2023, 10:03 AM
Unknown Object (File)
Nov 7 2023, 3:21 AM
Unknown Object (File)
Oct 10 2023, 7:25 PM
Unknown Object (File)
Oct 9 2023, 8:58 AM
Subscribers

Details

Test Plan

run "Tools/scripts/getpatch 193920"
Only one "[+] patch-uTox.diff created" should message should be printed

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thank you for working on that @gonzo!

LGTM

This revision is now accepted and ready to land.May 16 2018, 8:31 PM

Thanks for reviewing Sofian.

Will you commit the change or do I have your approval to commit it to prts repo? (I am not ports committer, so I need someone with ports bit to approve the change)

Thanks

Ok, in this case, I will commit it later.

This revision was automatically updated to reflect the committed changes.

@gonzo FYI I applied, tested and it looks like the changes had formatting issues (tab/space) with python3.x (which have a parser more strict than python2.x):

python3 getpatch 
  File "getpatch", line 167
    if match is None:
                    ^
TabError: inconsistent use of tabs and spaces in indentation

I fixed them before commit. Committed in r470568. Thank you!