RPM Package Registry
To work with the RPM package registry, you need to obtain a GitFlic transport token. For instructions on obtaining the token, refer to this page.
In the documentation below, replace {gitflic_domain}
with the appropriate domain depending on your version:
- For SaaS:
registry.gitflic.ru
- For self-hosted:
localhost:8080
The domain and port may vary for self-hosted versions.
Configuration File
Create or edit the RPM manager configuration file at /etc/yum.repos.d/gitflic.repo
with the following settings:
URL Variable | Description |
---|---|
ownerAlias |
Project owner's alias |
projectAlias |
Project alias |
companyAlias |
Company alias |
username |
Username |
For company-level registry
[gitflic]
baseurl=https://{username}:{transport_token}@{gitflic_domain}/company/{companyAlias}/package/-/rpm
enabled=1
priority=1
For project-level registry
[gitflic]
baseurl=https://{username}:{transport_token}@{gitflic_domain}/project/{ownerAlias}/{projectAlias}/package/-/rpm
enabled=1
priority=1
Downloading and Installing Packages
To install a package, run:
dnf install <package_name>
Publishing Packages
To publish at company level:
curl --upload-file /path/to/file.rpm https://{username}:{transport_token}@{gitflic_domain}/company/{companyAlias}/package/-/rpm/upload
To publish at project level:
curl --upload-file /path/to/file.rpm https://{username}:{transport_token}@{gitflic_domain}/project/{ownerAlias}/{projectAlias}/package/-/rpm/upload
Automatic translation!
This page has been automatically translated. The text may contain inaccuracies.