FTSE 100 rises on commodity boost, logs weekly gain