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

..--

README.mdD11-Mar-20241 KiB4037

break1.thriftD11-Mar-20245.1 KiB189155

break10.thriftD11-Mar-20245.1 KiB191155

break11.thriftD11-Mar-20245.1 KiB191155

break12.thriftD11-Mar-20245.2 KiB192156

break13.thriftD11-Mar-20245.2 KiB192156

break14.thriftD11-Mar-20245.2 KiB191156

break15.thriftD11-Mar-20245.2 KiB191156

break16.thriftD11-Mar-20245.2 KiB192156

break17.thriftD11-Mar-20245.2 KiB192156

break18.thriftD11-Mar-20245.2 KiB192156

break19.thriftD11-Mar-20245.2 KiB192156

break2.thriftD11-Mar-20245.2 KiB191156

break20.thriftD11-Mar-20245.1 KiB191155

break21.thriftD11-Mar-20245.1 KiB191155

break22.thriftD11-Mar-20245.2 KiB191155

break23.thriftD11-Mar-20245.2 KiB193157

break24.thriftD11-Mar-20245.2 KiB192156

break25.thriftD11-Mar-20245.2 KiB192156

break26.thriftD11-Mar-20245.2 KiB192156

break27.thriftD11-Mar-20245.2 KiB191156

break28.thriftD11-Mar-20245.2 KiB191156

break29.thriftD11-Mar-20245.2 KiB192156

break3.thriftD11-Mar-20245.2 KiB192156

break30.thriftD11-Mar-20245.2 KiB191156

break31.thriftD11-Mar-20245.1 KiB192156

break32.thriftD11-Mar-20245.2 KiB192156

break33.thriftD11-Mar-20245.2 KiB192156

break34.thriftD11-Mar-20245.3 KiB193157

break4.thriftD11-Mar-20245.2 KiB191156

break5.thriftD11-Mar-20245.2 KiB191156

break6.thriftD11-Mar-20245.2 KiB192156

break7.thriftD11-Mar-20245.2 KiB191156

break8.thriftD11-Mar-20245.2 KiB192156

break9.thriftD11-Mar-20245.1 KiB191155

test.thriftD11-Mar-20245.1 KiB190155

thrift_audit_test.plD11-Mar-20248.7 KiB262157

warning.thriftD11-Mar-20245.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