Chop the pancetta & fry in a pan until crisp. Set aside.
Chop the shallot.
Add olive oil to the pan & fry the shallot & the fresh thyme.
Add tomatoes & crush them.
Add sugar & chili.
Let it simmer.
Cook the rigatoni.
If the sauce seems too thick just add some pasta water (1-2 tbsp).
Grate the pecorino roughly.
Drain the rigatoni.
Discard the thyme.
Mix rigatoni & half of the pancetta w/ the tomato sauce.
Transfer in a bowl.
Add the pancetta & the rest of the grated pecorino.
Mix & serve immediately.