/
How do we handle the RPM downloads via Rake?
How do we handle the RPM downloads via Rake?
Background
Currently, the previous method that we used to handle RPMs into the core will not scale to the outside world (mainly due to the horrible aspects of putting binaries in Git).
How we will fetch things: Yumrepo files.
We have two options as far as I can see:
- Create a set of tiered directories containing the proper metadata under a raft of directories split on Operating Systems, etc...
- We all hate this
- Make a raft of YAML files that covers the needs of the various releases
How This Will Work
Three Rake tasks will need to be created:
- Create the YAML files listed below based on a bunch of RPMs in a local directory
- Download the RPMs from the YAML files, recording the sources of the RPMs if they do not exist
- Updating the sources based on a flag (update all or just install new/remove missing)
- Task for creating the scaffold of a release data directory
Build Directory
build/
yum_data/
README.md
myrepos/ # also up here
SIMP4.2_Centos6.6_x86_64/
myrepos/ # optional, not checked in, but if it exists repos will be used
repos/
packages/ # The download location for stuff in packages.yaml
packages.yaml
---
'exact-package-name-for-this-exact-release-1.0.1-1':
source: 'http://the.last.place/yum-downloader/sourced-me.from'
# Setting source to something without a URI will just ensure that the file is in place
# and will be used as the basis for the documentation. This is to account for things like the Red Hat private repos
Action items
, multiple selections available,
Related content
How to restructure the RPM installation sequence to be more r10k/Code Manager friendly
How to restructure the RPM installation sequence to be more r10k/Code Manager friendly
More like this
Making SIMP Repo OS specific and breaking it to sub-repos like simp-project internet repos.
Making SIMP Repo OS specific and breaking it to sub-repos like simp-project internet repos.
More like this
simp-rake-helpers build flow + planning diagrams (6.6.0)
simp-rake-helpers build flow + planning diagrams (6.6.0)
More like this
Public SIMP yum repository structure and usage
Public SIMP yum repository structure and usage
More like this
DNF modularity notes
DNF modularity notes
More like this
Correlate version numbers between the metadata.json and the RPM spec files.
Correlate version numbers between the metadata.json and the RPM spec files.
More like this