Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
build:auto
build:auto

build:auto

The build:auto task is the starting point for development and release builds.

...

Anchor
iso:build
iso:build

iso:build

The iso:build task is usually executed near the end of build:auto. It can also be run on its own.Image Removed

...

Anchor
build:yum:sync
build:yum:sync

...

The build:yum:sync task is executed by build:auto, prior to iso:build. It can also be run on its own.

...

Anchor
pkg:checksig
pkg:checksig

pkg:checksig

The okgpkg:checksig task is executed by iso:build, just prior to pkg:repoclosure. It is not available as a public rake task.

...

Info

Note (because it’s not obvious): I thought pkg:checksig's args might need an update to take multiple paths in rpm_dir (in order to accommodate JMG’s multiple OS/external repos work). However, the task internally glob-expands rpm_dir (into rpm_dirs), so it’s already possible to pass in multiple directories—although the string might end up looking extra weird.

Two drawbacks are worth mentioning:

  1. If the paths are very different and don’t wildcard well, it will be necessary to use literal brace expansion (ex: {p,q}) instead.

  2. But since it’s an argument for a Rake task, the commas in a brace expansion won’t work from the command line without some additional quote/escape ugliness.

From the command line (needs the quotes and escaped comma):

pkg:checksig['/path/to/{dir1/sub1\,dir2/sub2}']

rake-helpers style Ruby code just needs quotes:

Rake::Task["pkg:checksig"].invoke('/path/to/{dir1/sub1,dir2/sub2}')

If we split out the repos into the different directories JMG’s been working on, the brace expansion might look something like this:
Rake::Task["pkg:checksig"].invoke('/path/to/rpm_dirs/{SIMP,puppet,postgresql96,epel8}','/path/to/key_dir')

Anchor
pkg:repoclosure
pkg:repoclosure

pkg:repoclosure

The pkg:repoclosure task is executed by iso:build, just after pkg:checksig.

...