packages: support source archive upload/download