zoryn clone¶
Clone a source package from the ALT Linux git repository.
The repository is resolved through the RDB clone_url API, which returns the ready-to-clone git URL for the correct bucket:
- Gear packages:
https://git.altlinux.org/gears/<first-letter>/<package>.git - SRPM packages:
https://git.altlinux.org/srpms/<first-letter>/<package>.git
Because the URL comes from the repository database, packages that lack recent build-task history (last built years ago) still clone correctly.
Sets gears as the remote name. Use --init-gitery to also create the repository on gitery and add a remote for pushing.
Configuration¶
The API endpoint used to resolve the clone URL can be overridden in ~/.zoryn:
When unset, it defaults to {[rdb] api_url}/package/clone_url. See configuration.