Skip to content

Investigate how to improve Gitlab Loader load API #60

@JayZ12138

Description

@JayZ12138

Summary

While loading from a remote repo, the current behavior of remote loader load call is, if the version is not set, then try to find it from the default branches, which are ubi7 and ubi8, if it couldn't find it there, then exception will be raised.
But is it possible that a config file is not in the default branches but does exist in a specific branch and the version isn't set? then load won't be able to find it, should we make it load from the non-default branch? It might depend on the concept of 'default branches' and the layout of remote repos.

Issue Type

  • Feature Request

Current behavior

Desired behavior

Use case

ubipop accepts config file name as an argument and will call load() on it, but ubipop doesn't have an option to specify the version of config file it wants to use.

Additional Information

If you conclude that the current behavior is OK, then an issue in ubipop might need to be filed to make it accept version as an argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions