• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D04-Feb-20211 KiB4037

break1.thriftH A D04-Feb-20215.1 KiB189155

break10.thriftH A D04-Feb-20215.1 KiB191155

break11.thriftH A D04-Feb-20215.1 KiB191155

break12.thriftH A D04-Feb-20215.2 KiB192156

break13.thriftH A D04-Feb-20215.2 KiB192156

break14.thriftH A D04-Feb-20215.2 KiB191156

break15.thriftH A D04-Feb-20215.2 KiB191156

break16.thriftH A D04-Feb-20215.2 KiB192156

break17.thriftH A D04-Feb-20215.2 KiB192156

break18.thriftH A D04-Feb-20215.2 KiB192156

break19.thriftH A D04-Feb-20215.2 KiB192156

break2.thriftH A D04-Feb-20215.2 KiB191156

break20.thriftH A D04-Feb-20215.1 KiB191155

break21.thriftH A D04-Feb-20215.1 KiB191155

break22.thriftH A D04-Feb-20215.2 KiB191155

break23.thriftH A D04-Feb-20215.2 KiB193157

break24.thriftH A D04-Feb-20215.2 KiB192156

break25.thriftH A D04-Feb-20215.2 KiB192156

break26.thriftH A D04-Feb-20215.2 KiB192156

break27.thriftH A D04-Feb-20215.2 KiB191156

break28.thriftH A D04-Feb-20215.2 KiB191156

break29.thriftH A D04-Feb-20215.2 KiB192156

break3.thriftH A D04-Feb-20215.2 KiB192156

break30.thriftH A D04-Feb-20215.2 KiB191156

break31.thriftH A D04-Feb-20215.1 KiB192156

break32.thriftH A D04-Feb-20215.2 KiB192156

break33.thriftH A D04-Feb-20215.2 KiB192156

break34.thriftH A D04-Feb-20215.3 KiB193157

break4.thriftH A D04-Feb-20215.2 KiB191156

break5.thriftH A D04-Feb-20215.2 KiB191156

break6.thriftH A D04-Feb-20215.2 KiB192156

break7.thriftH A D04-Feb-20215.2 KiB191156

break8.thriftH A D04-Feb-20215.2 KiB192156

break9.thriftH A D04-Feb-20215.1 KiB191155

test.thriftH A D04-Feb-20215.1 KiB190155

thrift_audit_test.plH A D04-Feb-20218.7 KiB262157

warning.thriftH A D04-Feb-20215.1 KiB191155

README.md

1Typical usage
2=============
3```
4thrift.exe --audit <oldFile> <newFile>
5```
6Example run
7===========
8```
9> thrift.exe --audit test.thrift break1.thrift
10[Thrift Audit Failure:break1.thrift] New Thrift File has missing function base_function3
11[Thrift Audit Warning:break1.thrift] Constant const3 has different value
12```
13
14Problems that the audit tool can catch
15======================================
16Errors
17* Removing an enum value
18* Changing the type of a struct field
19* Changing the required-ness of a struct field
20* Removing a struct field
21* Adding a required struct field
22* Adding a struct field 'in the middle'.  This usually indicates an old ID has been recycled
23* Struct removed
24* Oneway-ness change
25* Return type change
26* Missing function
27* Missing service
28* Change in service inheritance
29
30Warnings
31* Removing a language namespace declaration
32* Changing a namespace
33* Changing an enum value's name
34* Removing an enum class
35* Default value changed
36* Struct field name change
37* Removed constant
38* Type of constant changed
39* Value of constant changed
40