add a magnet repo