In the most cases, you can always get around without getting a permit unless you do an addition to your building or major structural changes.
Other types of work, you just can't skip a city permit such as deploying electrical conduit underground etc.
For repairing roof and replacing floor, I am pretty sure that you don't need a permit.