Skip to main content

almalinux-git-utils

Utilities for working with the AlmaLinux OS Git server.

alma_get_sources

The alma_get_sources script downloads sources and BLOBs from the AlmaLinux sources cache.

Usage

Run the alma_get_sources in a git project root directory:

  1. Clone an AlmaLinux RPM package git project from git.almalinux.org.
  2. Switch to a required branch.
  3. Run the alma_get_sources tool:
    $ alma_get_sources
    

alma_blob_upload

The alma_blob_upload script uploads sources and BLOBs to the AlmaLinux sources cache.

Prerequirements

Create an AWS credentials file ~/.aws/credentials with the following content:

[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY

Usage

The utility supports two types of input: a CentOS git repository metadata file or a list of files to upload.

For CentOS repositories workflow will be the following:

  1. Install the get_sources.sh script from the centos-git-common repository.
  2. Clone a project and download its sources as described on the CentOS Wiki.
  3. Run the alma_blob_upload tool (don't forget to replace PROJECT_NAME with an actual project name):
    $ alma_blob_upload -i .PROJECT_NAME.metadata
    

Alternatively, you can upload a list of files in the following way:

$ alma_blob_upload -f SOURCES/FILE_1 SOURCES/FILE_N

The alma_blob_upload utility can also generate a CentOS-compatible metadata file:

$ alma_blob_upload -o .PROJECT_NAME.metadata -f SOURCES/FILE_1 SOURCES/FILE_N

License

Licensed under the GPLv3 license, see the LICENSE file for details.

Release files for almalinux-git-utils 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for almalinux-git-utils 0.0.1
File Size Uploaded
almalinux-git-utils-0.0.1.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for almalinux-git-utils 0.0.1
File Interpreter ABI Platform
almalinux_git_utils-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.5 kB

Release files / almalinux-git-utils-0.0.1.tar.gz

Download URL almalinux-git-utils-0.0.1.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4c8d24b9ea2644a8e77cc0e4906bcdc3c050a52dc8e939ab8d4d5ec48af8f22d
BLAKE2b-256 checksum
How to use checksums
6c862b99c76334e24ed14b6fc81e3a3235a66d60706bd0a460f75ecbc76fbcda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Release files / almalinux_git_utils-0.0.1-py3-none-any.whl

Download URL almalinux_git_utils-0.0.1-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e1759ae0832c7724aef0835dd0f22a8be2a09f14b358e93c86ef0acf852f2e6
BLAKE2b-256 checksum
How to use checksums
97ac7101fc00ffe862a9edc94fc9952167aa00cdbb543128a0db875dad68f7e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page