Пример #1
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_BRANCH)
     self.add_option(OPT_GPG_KEY)
     self.options_bundle.opt_feed.description = DESC_FEED
Пример #2
0
    def __init__(self, context):
        """
        Call the __init__ methods fo both superclasses.
        """
        UpdateRepositoryCommand.__init__(self, context)

        ISORepoCreateUpdateMixin.__init__(self)
Пример #3
0
    def __init__(self, context):
        """
        Call the __init__ methods fo both superclasses.
        """
        UpdateRepositoryCommand.__init__(self, context)

        ISORepoCreateUpdateMixin.__init__(self)
Пример #4
0
    def __init__(self, context):
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, include_unit_policy=False)

        self.add_option(OPTION_QUERIES_UPDATE)
        self.add_option(OPTION_QUERY)
        self.add_option(OPTION_HTTP)
        self.add_option(OPTION_HTTPS)
Пример #5
0
    def __init__(self, context):
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, include_unit_policy=False)

        self.add_option(OPTION_QUERIES_UPDATE)
        self.add_option(OPTION_QUERY)
        self.add_option(OPTION_HTTP)
        self.add_option(OPTION_HTTPS)
Пример #6
0
    def __init__(self, context):
        """
        Initialize the update command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        PythonRepositoryOptions.__init__(self)
Пример #7
0
    def __init__(self, context):
        """
        Initialize the update command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        NpmRepositoryOptions.__init__(self)
Пример #8
0
    def __init__(self, context):
        """
        Initialize the command.

        :param context: The CLI context
        :type  context: pulp.client.extensions.core.ClientContext
        """
        UpdateRepositoryCommand.__init__(self, context)
        ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
        self.add_option(OPT_AUTO_PUBLISH)
        self.options_bundle.opt_feed.description = DESC_FEED
Пример #9
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, include_ssl=True, include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPTION_TAG)
     self.add_option(OPTION_REMOVE_TAG)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_REDIRECT_URL)
     self.add_option(OPT_PROTECTED)
     self.add_option(OPT_REPO_REGISTRY_ID)
     self.sync_group.add_option(OPT_UPSTREAM_NAME)
     self.options_bundle.opt_feed.description = DESC_FEED
Пример #10
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self,
                                  include_ssl=False,
                                  include_sync=True,
                                  include_unit_policy=False)
     self.add_option(OPTION_TAG)
     self.add_option(OPTION_REMOVE_TAG)
     self.add_option(OPT_AUTO_PUBLISH)
     self.add_option(OPT_REDIRECT_URL)
     self.add_option(OPT_PROTECTED)
     self.add_option(OPT_REPO_REGISTRY_ID)
     self.sync_group.add_option(OPT_UPSTREAM_NAME)
     self.options_bundle.opt_feed.description = DESC_FEED
Пример #11
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.options_bundle.opt_feed.description = DESC_FEED
     self.sync_group.add_option(OPT_PACKAGE_FILE_PATH)
Пример #12
0
 def __init__(self, context):
     UpdateRepositoryCommand.__init__(self, context)
     ImporterConfigMixin.__init__(self, **IMPORTER_CONFIGURATION_FLAGS)
     self.add_option(OPT_AUTO_PUBLISH)
     self.options_bundle.opt_feed.description = DESC_FEED
     self.sync_group.add_option(OPT_PACKAGE_FILE_PATH)