class

MStrap::ProfileFetcher

Inherits MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object

Constructors

new(config : Defs::ProfileConfigDef, force : Bool = false)
Source

Instance methods

config

Profile configuration definition

Source
fetch!

Fetch or update the profile

Source
force?

Returns whether to force profile update

Source
git_url?

Returns whether the profile's URL is a Git URL

Source
https_url?

Returns whether the profile's URL is an HTTP URL (that is not also a Git URL)

Source
outdated_revision?

Returns whether the profile is outdated.

  • For git profiles, this is based on whether the checked out Git ref differs from that of the ref recorded for revision in the configuration.
  • For HTTPS profiles, this is based on the checksum recorded for revision in the configuration.
Source
should_update?

Returns whether to update the profile

Source
url

Returns normalized URL for profile

Source