def fill(self, config, section):
        """Fill data from a given configuration section.

        Args:
            config (configparser): the configuration file
            section (str): the section to use
        """
        if config.has_section(section):
            default_url = self.DEFAULT_REPOSITORIES.get(self.name, '')
            self.url = RepositoryURL(config_get(config, section, 'repository', default_url))
            self.username = config_get(config, section, 'username', '')
            self.password = config_get(config, section, 'password', '')