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)
Sep 5 2025, 2:43 AM
Unknown Object (File)
Aug 29 2025, 10:00 PM
Unknown Object (File)
Aug 24 2025, 2:12 AM
Unknown Object (File)
Jul 14 2025, 11:29 PM
Unknown Object (File)
Jul 4 2025, 8:58 PM
Unknown Object (File)
Jul 4 2025, 10:53 AM
Unknown Object (File)
Jun 27 2025, 2:31 PM
Unknown Object (File)
Jun 26 2025, 5:41 PM
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!