Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the libostree dependency optional #290

Merged
merged 2 commits into from
Jun 26, 2017

Commits on Jun 19, 2017

  1. Add transports/StubTransport

    This is useful primarily so that we can use build tags to remove transports
    from transports/alltransports, while giving users more hints about what
    to do instead of a bland “unknown transport”.
    
    Tests can also use this instead of their own mocks.
    
    Signed-off-by: Miloslav Trmač <mitr@redhat.com>
    mtrmac committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    5d6fbfc View commit details
    Browse the repository at this point in the history
  2. Add a containers_image_ostree_stub build tag to make the libostree de…

    …pendency optional
    
    If this tag is defined, transports/alltransports registers a stub
    instead of the real package.
    
    Also updates README, adding the ostree-devel dependency to the dnf
    command and restructuring it to have a list of build tags.
    
    Signed-off-by: Miloslav Trmač <mitr@redhat.com>
    mtrmac committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    c5e371b View commit details
    Browse the repository at this point in the history